map.size: Convert text size specifications between LaTeX and HTML...

Description Usage Arguments Details Author(s)

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.

Usage

1
map.size(x, reportFormat = getOption("lazyReportFormat"))

Arguments

x

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:

LaTeX HTML
tiny 5
scriptsize 7
footnotesize 8
small 9
normalsize 10
large 12
Large 14
LARGE 18
huge 20
Huge 24

Author(s)

Benjamin Nutter


lazyWeave documentation built on May 2, 2019, 12:35 p.m.