Tag Info

New answers tagged


With the usual definition, \setlength{<parameter>}{<value>} is just a wrapper for <parameter>=<value>\relax so \setlength{\medmuskip}{0mu} is legal, because it translates to \medmuskip=0mu\relax which is perfectly legal, as \medmuskip should be assigned values only in mu units (also fil, fill or filll units for the plus and ...


The siunitx package is the best LaTeX package for typesetting physical quantities: \documentclass{article} \usepackage{siunitx} \begin{document} \SIrange{10}{100}{\m} \SIrange[range-units = brackets]{10}{100}{\m} \SIrange[range-phrase = --]{10}{100}{\m} \end{document} Update Damn. I didn't see that Heiko had already posted a similar answer.


Some variations with package siunitx: \documentclass{article} \usepackage{siunitx} \begin{document} \SIrange{10}{100}{\metre} \SIrange[range-units = brackets]{10}{100}{\metre} \SIrange[range-units = brackets, range-phrase = --]{10}{100}{\metre} \SIrange[range-phrase = --]{10}{100}{\metre} \end{document}

Top 50 recent answers are included