Document support for ` \(` and `\[` math delimiters
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- latex, markdown
- Domain
- documentation
Research direction
Start with the equations section of quarto.org’s Markdown basics documentation, linked in the issue, and verify how the markdown+tex_math_single_backslash extension is presented. Update the documentation with the (...) and [...] delimiters and examples; done means users can find the extension setting and understand inline versus block usage.
Written by the indexing model from the issue text.
Description
What would you like to do?
Report an issue on quarto.org
Description
Originally suggested by @JamesSmith20, moved from https://github.com/quarto-dev/quarto-cli/issues/11761 :
2. Support for \( and \[ Math Delimiters
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_backslash
format:
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_backslashfor LaTeX-style math delimiters. - Include examples to show how
\(...\)and\[...\]can be used for inline and block math.
- Update the math documentation to mention the use of
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!
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 42
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quarto-dev/quarto-cli
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
quarto-dev/quarto-cli#14915 ·
-
binder bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
quarto-dev/quarto-cli#14907 · 3 comments · 1 reaction ·
-
brand bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
quarto-dev/quarto-cli#14891 ·
-
brand bug html revealjs
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#14882 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
quarto-dev/quarto-cli#14875 ·
All issues in quarto-dev/quarto-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·
-
client-controller-update ta-bot-triage team-money-movement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MetaMask/metamask-mobile#36594 ·