@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.
@@ -166,7 +166,7 @@ var DelimiterNode = class extends BaseAstNode {
166
166
  this.rightDelimExpr = rightDelimExpr2;
167
167
  }
168
168
  latex() {
169
- return this.leftDelimExpr + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
169
+ return this.leftDelimExpr + " " + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
170
170
  }
171
171
  arabicLatex() {
172
172
  const sup = this.superscript !== null ? this.superscript.arabicLatex() : "";
@@ -3004,7 +3004,7 @@ function renderCharContent(node, options) {
3004
3004
  }
3005
3005
  function renderNodeEnglish(node, options) {
3006
3006
  if (node.kind === "delimiter" && node.innerExpr) {
3007
- return `${node.leftDelimExpr}${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
3007
+ return `${node.leftDelimExpr} ${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
3008
3008
  }
3009
3009
  if (node.kind === "boxed" && node.innerExpr) {
3010
3010
  const body = `\\boxed{${renderChainEnglish(node.innerExpr, options)}}`;