@drghaliasri/butex 7.3.0 → 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.
@@ -2942,8 +2942,9 @@ function characterFontSpec(fontId) {
2942
2942
  // src/editor/divideOperator.ts
2943
2943
  var DIVIDE_OPERATOR_EN = "/";
2944
2944
  var DIVIDE_OPERATOR_AR = "\\";
2945
+ var DIVIDE_OPERATOR_AR_LATEX = "\\backslash";
2945
2946
  function isDivideOperatorExpr(expr) {
2946
- return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR;
2947
+ return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR || expr === DIVIDE_OPERATOR_AR_LATEX;
2947
2948
  }
2948
2949
  function renderDivideOperatorLatex(side) {
2949
2950
  return side === "arabic" ? "\\backslash" : DIVIDE_OPERATOR_EN;
@@ -3740,6 +3741,13 @@ ${CHARACTER_FONT_CSS}
3740
3741
  font-weight: 700;
3741
3742
  }
3742
3743
 
3744
+ .node-value--unit {
3745
+ font-style: normal;
3746
+ text-decoration-line: underline;
3747
+ text-decoration-style: dotted;
3748
+ text-underline-offset: 0.2em;
3749
+ }
3750
+
3743
3751
  .chain {
3744
3752
  display: inline-flex;
3745
3753
  align-items: center;