map.size: Convert text size specifications between LaTeX and HTML formats
Description
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.
The text size specification to be mapped to the desired format
reportFormat
The format to which x should be mapped
Details
Text sizes are mapped according to the following:
ll{
LaTeX HTML
tiny 5
scriptsize 7
footnotesize 8
small 9
normalsize 10
large 12
Large 14
LARGE 18
huge 20
Huge 24
}