@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() : "";
@@ -2975,7 +2975,7 @@ function renderCharContent(node, options) {
2975
2975
  }
2976
2976
  function renderNodeEnglish(node, options) {
2977
2977
  if (node.kind === "delimiter" && node.innerExpr) {
2978
- return `${node.leftDelimExpr}${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
2978
+ return `${node.leftDelimExpr} ${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
2979
2979
  }
2980
2980
  if (node.kind === "boxed" && node.innerExpr) {
2981
2981
  const body = `\\boxed{${renderChainEnglish(node.innerExpr, options)}}`;