Tag Info

New answers tagged

2

If you want minimal mark-up, you can do it using siunitx using either \documentclass{article} \usepackage{xspace} \usepackage{siunitx} \sisetup{free-standing-units, space-before-unit, use-xspace} \begin{document} 10\metre or even 10\m (a bit risky) \end{document} or \documentclass{article} \usepackage{siunitx} \sisetup{free-standing-units, ...


1

If one chooses to not use the siunitx package which was designed to handle units, one could define \myunit{} that accomplishes the goal of avoiding such breaks before the unit. \documentclass{article} \def\myunit#1{\unskip\,\textrm{#1}} \begin{document} 8 \myunit{ml}\ or $\pi \myunit{$^\circ$C}$. 8 \myunit{ml}\ or $\pi \myunit{$^\circ$C}$. 8 \myunit{ml}\ or ...


0

Do you mean something like that? \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{fourier} \usepackage{siunitx} \usepackage[inline]{enumitem} \DeclareSIUnit{\Fahrenheit}{\degree\,F} \DeclareSIUnit{\drachm}{dr\,av} \DeclareSIUnit{\oz}{oz\,av} \DeclareSIUnit{\yard}{yd} \sisetup{per-mode=symbol} \begin{document} Here is a list of some ...



Top 50 recent answers are included