[Tex/LaTex] The shortcuts for measurement units: cm and dm

unit-of-measure

I have to write a math book and I'm using often the following measurement units: centimeter (cm), decimeter (dm). Can you provide me the shortcut which will output cm and dm. For meter(m) I've found the following shortcut \meter -> m.

Best Answer

When you use siunitx the shortcuts are already there. \dm and \cm are already provided: see page 36 of siunitx manual (version from 2016/03/01). Shorter shortcuts you will not find. (There are two packages siunits and siunitx, I prefer the latter.)