A very simple shortcode extension that adds shortcodes for outputing nicely formatted versions of fancy strings (such as LaTeX and BibTeX). Outputs fancy strings in HTML and LaTeX, just emits simple strings of the correct case in other formats.
$ quarto add quarto-ext/fancy-text
This will install the extension under the _extensions
subdirectory. If you're using version control, you will want to check in this directory.
Use shortcodes to get format specific fancy text for certain keywords or format styles. Currently, this extension supports the following
LaTeX can be written like {{< latex >}}.
BibTeX can be written like {{< bibtex >}}.
TeX can be written like {{< tex >}}.
Various elipses are supported: {{< ldots >}}, {{< vdots >}}, {{< ddots >}}
% can be written in math in LaTeX with : {{< pct >}}, like 10{{< pct >}}
Formatting R^2^ using Math for PDF: {{< R2 >}}
For example:
## Overview of {{< latex >}}
You can view the example document as