@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.
@@ -2868,8 +2868,9 @@ function characterFontSpec(fontId) {
2868
2868
  // src/editor/divideOperator.ts
2869
2869
  var DIVIDE_OPERATOR_EN = "/";
2870
2870
  var DIVIDE_OPERATOR_AR = "\\";
2871
+ var DIVIDE_OPERATOR_AR_LATEX = "\\backslash";
2871
2872
  function isDivideOperatorExpr(expr) {
2872
- return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR;
2873
+ return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR || expr === DIVIDE_OPERATOR_AR_LATEX;
2873
2874
  }
2874
2875
  function renderDivideOperatorLatex(side) {
2875
2876
  return side === "arabic" ? "\\backslash" : DIVIDE_OPERATOR_EN;
@@ -3688,6 +3689,13 @@ ${CHARACTER_FONT_CSS}
3688
3689
  font-weight: 700;
3689
3690
  }
3690
3691
 
3692
+ .node-value--unit {
3693
+ font-style: normal;
3694
+ text-decoration-line: underline;
3695
+ text-decoration-style: dotted;
3696
+ text-underline-offset: 0.2em;
3697
+ }
3698
+
3691
3699
  .chain {
3692
3700
  display: inline-flex;
3693
3701
  align-items: center;