One row per font that can be named: the bundled math fonts, and every font
given to load_font() or to a font option of latex_options(). The
math fonts, which math_font takes, are the rows with math TRUE.
Value
A data frame with one row per font: name; math (it has a math
table; NA for an installed family that is not loaded); mono
(monospaced); bold and italic (a face of its own is registered, so
\textbf and \textit draw its real design); weight of the regular
face; file of the regular face; and source, one of "bundled",
"file" and "system".
Font pairing
For a consistent look, pair a math font with a matching fontfamily in
gp:
| Math font | Style | Suggested text font |
Lete Sans Math ("lete", default) | Sans-serif | "sans" |
STIX Two Math ("stix") | Serif | "serif" |
Examples
available_fonts()
#> name math mono bold italic weight
#> 1 Lete Sans Math TRUE FALSE FALSE FALSE normal
#> 2 STIX Two Math TRUE FALSE FALSE FALSE normal
#> file
#> 1 /home/runner/work/_temp/Library/gridmicrotex/fonts/LeteSansMath.otf
#> 2 /home/runner/work/_temp/Library/gridmicrotex/fonts/STIXTwoMath-Regular.otf
#> source
#> 1 bundled
#> 2 bundled