TeXunits | R Documentation |
Translates units of measurement known to TeX and LaTeX.
TeXunits(from, to, from.unit = NULL)
from |
Typically character, such as |
to |
character |
from.unit |
character |
Available units are centimetre (cm
), inch (in
), point
(pt
), pica (pc
), big point(bp
), millimetre
(mm
), Didot points (dd
) and Cicero (cc
).
See Chapter 10 of the TeXbook for details.
numeric
Enrico Schumann
Donald E. Knuth. The TeXbook. Addison Wesley, 1986 (with corrections made in 1996).
TeXunits("1in",
c("in", "mm", "pt", "in"))
TeXunits(c("1in", "2in"),
"cm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.