@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.
package/dist/document2.js CHANGED
@@ -3262,8 +3262,9 @@ function characterFontSpec(fontId) {
3262
3262
  // src/editor/divideOperator.ts
3263
3263
  var DIVIDE_OPERATOR_EN = "/";
3264
3264
  var DIVIDE_OPERATOR_AR = "\\";
3265
+ var DIVIDE_OPERATOR_AR_LATEX = "\\backslash";
3265
3266
  function isDivideOperatorExpr(expr) {
3266
- return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR;
3267
+ return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR || expr === DIVIDE_OPERATOR_AR_LATEX;
3267
3268
  }
3268
3269
  function renderDivideOperatorLatex(side) {
3269
3270
  return side === "arabic" ? "\\backslash" : DIVIDE_OPERATOR_EN;
@@ -4082,6 +4083,13 @@ ${CHARACTER_FONT_CSS}
4082
4083
  font-weight: 700;
4083
4084
  }
4084
4085
 
4086
+ .node-value--unit {
4087
+ font-style: normal;
4088
+ text-decoration-line: underline;
4089
+ text-decoration-style: dotted;
4090
+ text-underline-offset: 0.2em;
4091
+ }
4092
+
4085
4093
  .chain {
4086
4094
  display: inline-flex;
4087
4095
  align-items: center;