@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.
package/dist/document.mjs CHANGED
@@ -1937,8 +1937,9 @@ function characterFontSpec(fontId) {
1937
1937
  // src/editor/divideOperator.ts
1938
1938
  var DIVIDE_OPERATOR_EN = "/";
1939
1939
  var DIVIDE_OPERATOR_AR = "\\";
1940
+ var DIVIDE_OPERATOR_AR_LATEX = "\\backslash";
1940
1941
  function isDivideOperatorExpr(expr) {
1941
- return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR;
1942
+ return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR || expr === DIVIDE_OPERATOR_AR_LATEX;
1942
1943
  }
1943
1944
  function renderDivideOperatorLatex(side) {
1944
1945
  return side === "arabic" ? "\\backslash" : DIVIDE_OPERATOR_EN;
@@ -2662,6 +2663,13 @@ ${CHARACTER_FONT_CSS}
2662
2663
  font-weight: 700;
2663
2664
  }
2664
2665
 
2666
+ .node-value--unit {
2667
+ font-style: normal;
2668
+ text-decoration-line: underline;
2669
+ text-decoration-style: dotted;
2670
+ text-underline-offset: 0.2em;
2671
+ }
2672
+
2665
2673
  .chain {
2666
2674
  display: inline-flex;
2667
2675
  align-items: center;