The default text size specifications in LaTeX are character
strings, but in HTML, the font size is determined by an integer.
In order to be able to switch formats in existing code, there needs
to be some way to map HTML text size to LaTeX text size, and vice versa.
This is managed by map.size
in the lazyWeave
functions
so the user won't have to worry about it.
map.size(x, reportFormat = getOption("lazyReportFormat"))
The text size specification to be mapped to the desired format
The format to which x
should be mapped
Text sizes are mapped according to the following:
LaTeX | HTML |
tiny | 5 |
scriptsize | 7 |
footnotesize | 8 |
small | 9 |
normalsize | 10 |
large | 12 |
Large | 14 |
LARGE | 18 |
huge | 20 |
Huge | 24 |