@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.
@@ -409,7 +409,7 @@ var DelimiterNode = class extends BaseAstNode {
409
409
  this.rightDelimExpr = rightDelimExpr2;
410
410
  }
411
411
  latex() {
412
- return this.leftDelimExpr + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
412
+ return this.leftDelimExpr + " " + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
413
413
  }
414
414
  arabicLatex() {
415
415
  const sup = this.superscript !== null ? this.superscript.arabicLatex() : "";
@@ -3078,7 +3078,7 @@ function renderCharContent(node, options) {
3078
3078
  }
3079
3079
  function renderNodeEnglish(node, options) {
3080
3080
  if (node.kind === "delimiter" && node.innerExpr) {
3081
- return `${node.leftDelimExpr}${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
3081
+ return `${node.leftDelimExpr} ${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
3082
3082
  }
3083
3083
  if (node.kind === "boxed" && node.innerExpr) {
3084
3084
  const body = `\\boxed{${renderChainEnglish(node.innerExpr, options)}}`;