powered by
Translates units of measurement known to TeX and LaTeX.
TeXunits(from, to, from.unit = NULL)
Typically character, such as "1in". When numeric, from.unit needs to be specified.
"1in"
from.unit
character
numeric
Available units are centimetre (cm), inch (in), point (pt), pica (pc), big point(bp), millimetre (mm), Didot points (dd) and Cicero (cc).
cm
in
pt
pc
bp
mm
dd
cc
See Chapter 10 of the TeXbook for details.
Donald E. Knuth. The TeXbook. Addison Wesley, 1986 (with corrections made in 1996).
# NOT RUN { TeXunits("1in", c("in", "mm", "pt", "in")) TeXunits(c("1in", "2in"), "cm") # }
Run the code above in your browser using DataLab