@drghaliasri/butex 7.2.2 → 7.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3098,8 +3098,9 @@ function characterFontSpec(fontId) {
3098
3098
  // src/editor/divideOperator.ts
3099
3099
  var DIVIDE_OPERATOR_EN = "/";
3100
3100
  var DIVIDE_OPERATOR_AR = "\\";
3101
+ var DIVIDE_OPERATOR_AR_LATEX = "\\backslash";
3101
3102
  function isDivideOperatorExpr(expr) {
3102
- return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR;
3103
+ return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR || expr === DIVIDE_OPERATOR_AR_LATEX;
3103
3104
  }
3104
3105
  function renderDivideOperatorLatex(side) {
3105
3106
  return side === "arabic" ? "\\backslash" : DIVIDE_OPERATOR_EN;
@@ -3918,6 +3919,13 @@ ${CHARACTER_FONT_CSS}
3918
3919
  font-weight: 700;
3919
3920
  }
3920
3921
 
3922
+ .node-value--unit {
3923
+ font-style: normal;
3924
+ text-decoration-line: underline;
3925
+ text-decoration-style: dotted;
3926
+ text-underline-offset: 0.2em;
3927
+ }
3928
+
3921
3929
  .chain {
3922
3930
  display: inline-flex;
3923
3931
  align-items: center;