@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.
@@ -506,7 +506,7 @@ var DelimiterNode = class extends BaseAstNode {
506
506
  this.rightDelimExpr = rightDelimExpr2;
507
507
  }
508
508
  latex() {
509
- return this.leftDelimExpr + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
509
+ return this.leftDelimExpr + " " + this.innerExpr.latex() + this.rightDelimExpr + this.latexScripts();
510
510
  }
511
511
  arabicLatex() {
512
512
  const sup = this.superscript !== null ? this.superscript.arabicLatex() : "";
@@ -3234,7 +3234,7 @@ function renderCharContent(node, options) {
3234
3234
  }
3235
3235
  function renderNodeEnglish(node, options) {
3236
3236
  if (node.kind === "delimiter" && node.innerExpr) {
3237
- return `${node.leftDelimExpr}${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
3237
+ return `${node.leftDelimExpr} ${renderChainEnglish(node.innerExpr, options)}${node.rightDelimExpr}${latinScripts(node, options)}`;
3238
3238
  }
3239
3239
  if (node.kind === "boxed" && node.innerExpr) {
3240
3240
  const body = `\\boxed{${renderChainEnglish(node.innerExpr, options)}}`;