@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.
@@ -493,7 +493,7 @@ var DelimiterNode = class extends BaseAstNode {
493
493
  this.rightDelimExpr = rightDelimExpr2;
494
494
  }
495
495
  latex() {
496
- return this.leftDelimExpr + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
496
+ return this.leftDelimExpr + " " + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
497
497
  }
498
498
  arabicLatex() {
499
499
  const sup = this.superscript !== null ? this.superscript.arabicLatex() : "";
@@ -3288,7 +3288,7 @@ function renderCharContent(node, options) {
3288
3288
  }
3289
3289
  function renderNodeEnglish(node, options) {
3290
3290
  if (node.kind === "delimiter" && node.innerExpr) {
3291
- return `${node.leftDelimExpr}${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
3291
+ return `${node.leftDelimExpr} ${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
3292
3292
  }
3293
3293
  if (node.kind === "boxed" && node.innerExpr) {
3294
3294
  const body = `\\boxed{${renderChainEnglish(node.innerExpr, options)}}`;