Skip to main content

DEFAULT_UNITS

Constant DEFAULT_UNITS 

Source
pub const DEFAULT_UNITS: &[&[u8]];
Expand description

The default units for dimension values used in plain TeX:

  • sp (scaled points)

  • pt (points) = 65536sp

  • pc (picas) = 12pt

  • in (inches) = 72.27pt

  • bp (big points) = 1/72 in

  • cm (centimeters) = 2.54in

  • mm (millimeters) = 0.1mm

  • dd (didot points) = 1238/1157 pt

  • cc (cicero) = 12 dd

  • em (width of a capital M) = (\fontdimen6 of the current font)

  • ex (height of an x) = (\fontdimen5 of the current font)

  • px: technically only available id pdftex; here: =1bp