@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.
@@ -2839,8 +2839,9 @@ function characterFontSpec(fontId) {
2839
2839
  // src/editor/divideOperator.ts
2840
2840
  var DIVIDE_OPERATOR_EN = "/";
2841
2841
  var DIVIDE_OPERATOR_AR = "\\";
2842
+ var DIVIDE_OPERATOR_AR_LATEX = "\\backslash";
2842
2843
  function isDivideOperatorExpr(expr) {
2843
- return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR;
2844
+ return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR || expr === DIVIDE_OPERATOR_AR_LATEX;
2844
2845
  }
2845
2846
  function renderDivideOperatorLatex(side) {
2846
2847
  return side === "arabic" ? "\\backslash" : DIVIDE_OPERATOR_EN;
@@ -3659,6 +3660,13 @@ ${CHARACTER_FONT_CSS}
3659
3660
  font-weight: 700;
3660
3661
  }
3661
3662
 
3663
+ .node-value--unit {
3664
+ font-style: normal;
3665
+ text-decoration-line: underline;
3666
+ text-decoration-style: dotted;
3667
+ text-underline-offset: 0.2em;
3668
+ }
3669
+
3662
3670
  .chain {
3663
3671
  display: inline-flex;
3664
3672
  align-items: center;