@drghaliasri/butex 7.3.3 → 7.3.4

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.
@@ -530,7 +530,7 @@ var DelimiterNode = class extends BaseAstNode {
530
530
  this.rightDelimExpr = rightDelimExpr2;
531
531
  }
532
532
  latex() {
533
- return this.leftDelimExpr + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
533
+ return this.leftDelimExpr + " " + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
534
534
  }
535
535
  arabicLatex() {
536
536
  const sup = this.superscript !== null ? this.superscript.arabicLatex() : "";
@@ -3325,7 +3325,7 @@ function renderCharContent(node, options) {
3325
3325
  }
3326
3326
  function renderNodeEnglish(node, options) {
3327
3327
  if (node.kind === "delimiter" && node.innerExpr) {
3328
- return `${node.leftDelimExpr}${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
3328
+ return `${node.leftDelimExpr} ${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
3329
3329
  }
3330
3330
  if (node.kind === "boxed" && node.innerExpr) {
3331
3331
  const body = `\\boxed{${renderChainEnglish(node.innerExpr, options)}}`;