@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.
@@ -137,7 +137,7 @@ var DelimiterNode = class extends BaseAstNode {
137
137
  this.rightDelimExpr = rightDelimExpr2;
138
138
  }
139
139
  latex() {
140
- return this.leftDelimExpr + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
140
+ return this.leftDelimExpr + " " + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
141
141
  }
142
142
  arabicLatex() {
143
143
  const sup = this.superscript !== null ? this.superscript.arabicLatex() : "";
@@ -2366,7 +2366,7 @@ function renderCharContent(node, options) {
2366
2366
  }
2367
2367
  function renderNodeEnglish(node, options) {
2368
2368
  if (node.kind === "delimiter" && node.innerExpr) {
2369
- return `${node.leftDelimExpr}${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
2369
+ return `${node.leftDelimExpr} ${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
2370
2370
  }
2371
2371
  if (node.kind === "boxed" && node.innerExpr) {
2372
2372
  const body = `\\boxed{${renderChainEnglish(node.innerExpr, options)}}`;