@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/document.js CHANGED
@@ -2001,8 +2001,9 @@ function characterFontSpec(fontId) {
2001
2001
  // src/editor/divideOperator.ts
2002
2002
  var DIVIDE_OPERATOR_EN = "/";
2003
2003
  var DIVIDE_OPERATOR_AR = "\\";
2004
+ var DIVIDE_OPERATOR_AR_LATEX = "\\backslash";
2004
2005
  function isDivideOperatorExpr(expr) {
2005
- return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR;
2006
+ return expr === DIVIDE_OPERATOR_EN || expr === DIVIDE_OPERATOR_AR || expr === DIVIDE_OPERATOR_AR_LATEX;
2006
2007
  }
2007
2008
  function renderDivideOperatorLatex(side) {
2008
2009
  return side === "arabic" ? "\\backslash" : DIVIDE_OPERATOR_EN;
@@ -2726,6 +2727,13 @@ ${CHARACTER_FONT_CSS}
2726
2727
  font-weight: 700;
2727
2728
  }
2728
2729
 
2730
+ .node-value--unit {
2731
+ font-style: normal;
2732
+ text-decoration-line: underline;
2733
+ text-decoration-style: dotted;
2734
+ text-underline-offset: 0.2em;
2735
+ }
2736
+
2729
2737
  .chain {
2730
2738
  display: inline-flex;
2731
2739
  align-items: center;