quarto-dev / quarto-dev/quarto-cli
Option for parentheses around equation numbers reference in addition to `eq-prefix`
Open
@cscheid is already working on this.
Since Nov 15, 2022.
crossref
enhancement
math
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/2413
Originally posted by jordan-melendez September 12, 2022
In certain journals it is common to format references to equations like Eq. (1.1) with parentheses around the equation number. Quarto supports modifying Eq. with eq-prefix, but would it be possible to either
- Add a parameter similar to
eq-prefixthat allows one to customize the reference further, and/or - Ensure that, when compiled to PDF,
\eqrefgets used rather than\reffor equation references. This would requireamsmathI suppose, but would automatically add parentheses and permit further customization.
Thanks!
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.
Assessment
This issue has not been assessed yet.