You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document support for \( and \[ math delimiters #12263
Currently, the Quarto documentation on equations does not mention support for LaTeX-style math delimiters \(...\) (inline) and \[...\] (block). It states that only $...$ and $$...$$ are supported for inline and block math. However, using Pandoc’s markdown+tex_math_single_backslash extension, Quarto can support these delimiters seamlessly across Word, HTML, and PDF formats.
Here is an example:
---title: "Quarto Playground"from: markdown+tex_math_single_backslashformat:
docx---
Inline math example: \( E = mc^2 \)
Inline math example: $E = mc^2$
Block math example:
\[ a^2 + b^2 = c^2 \]$$a^2 + b^2 = c^2$$
This works well to render equations using the preferred LaTeX-style delimiters, which are consistent with LaTeX standards and widely used by large language models and other AI tools. Including this information in the official documentation would help users integrate equations more easily without manual adjustments.
Suggested Improvements:
Document Support for \( and \[ Delimiters:
Update the math documentation to mention the use of markdown+tex_math_single_backslash for LaTeX-style math delimiters.
Include examples to show how \(...\) and \[...\] can be used for inline and block math.
Benefits:
Makes Quarto’s capabilities more transparent to users.
Enhances usability for academic and technical writing by providing official guidance on:
LaTeX-style math delimiters for consistency.
Related Discussions:
This request builds upon Discussion #11753 on Quarto’s GitHub platform.
Thank you for considering this enhancement to the documentation!
Discussed on quarto-web PR quarto-dev/quarto-web#2088, which I am closing.
Below a summary of the comments that can be found on the PR itself.
The \(...\) and \[...\] delimiters rely on Pandoc's tex_math_single_backslash extension, enabled through the reader (from) option.
Quarto 2 drops the Pandoc binary as reading parser and will support only its own Markdown dialect in the future, without Pandoc format extensions, so this syntax is likely to be removed.
Documenting a feature that is about to disappear would mislead users, so we prefer to leave it undocumented for Quarto 1.
Users who need it today can still find guidance in existing issues and discussions.
Activity
mcanouil commentedon Jul 5, 2026
Discussed on quarto-web PR quarto-dev/quarto-web#2088, which I am closing.
Below a summary of the comments that can be found on the PR itself.