Remove trailing space in custom crossref prefix and name #7317
-
DescriptionSupplementary figures and tables are often numbered like so: Figure S1, Figure S2, Table S1, Table S2, and so forth (see attached image). The new custom crossref feature in the pre-release version of Quarto adds a space after the prefix and name, so the numbering comes out: Figure S 1, Figure S 2, ... Is there a way to remove the space between the S and the number?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Thanks for the question. It's a totally reasonable request and part of #4944 that we hadn't gotten around to. I added the feature just now, currently only tested in LaTeX and HTML. Once the test suite passes, this will be in our 1.4 pre-release. We're still working on documentation, but here's how a minimal example will look: Do note the changes on the YAML metadata. |
Beta Was this translation helpful? Give feedback.
-
Awesome, thanks so much! |
Beta Was this translation helpful? Give feedback.
Thanks for the question. It's a totally reasonable request and part of #4944 that we hadn't gotten around to. I added the feature just now, currently only tested in LaTeX and HTML. Once the test suite passes, this will be in our 1.4 pre-release.
We're still working on documentation, but here's how a minimal example will look: