diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx/siunitx.tex')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx.tex | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.tex b/Master/texmf-dist/source/latex/siunitx/siunitx.tex index 735ab2d0d8c..136283140d6 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.tex +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.tex @@ -314,8 +314,8 @@ optional argument, \meta{options}, and one mandatory one, \meta{number}. The contents of \meta{number} are automatically formatted. The formatter removes both \enquote{soft} (\verb*| |) and \enquote{hard} spaces (|\,| and |~|), automatically identifies exponents (as standard marked using |e|, |E|, |d| or -|D|) and adds the appropriate spacing of large numbers. With the standard -settings a leading zero is added before a decimal marker, if needed: both |.| +|D|) and adds the appropriate spacing of large numbers.If required, +a leading zero is added before a decimal marker: both |.| and "," are recognised as decimal markers. \begin{LaTeXdemo} \num{123} \\ @@ -2158,6 +2158,7 @@ the output directly (Table~\ref{tab:opt:units:out}). \midrule bracket-unit-denominator & Switch & true \\ forbid-literal-units & Switch & false \\ + fraction-command & Literal & \cs{frac} \\ inter-unit-product & Literal & \cs{,} \\ parse-units & Switch & true \\ per-mode & Choice & power \\ @@ -2183,11 +2184,13 @@ centred dot. To get the correct spacing it is necessary to use \DescribeOption{per-mode} \DescribeOption{per-symbol} +\DescribeOption{fraction-command} \DescribeOption{bracket-unit-denominator} The handling of \cs{per} is altered using the \opt{per-mode} choice option. The standard setting is \opt{power}, meaning that \cs{per} generates reciprocal powers for units. Setting the option to \opt{fraction} uses the |\frac| function to typeset the positive and negative powers of a unit separately. +The exact function can be adjusted using the \opt{fraction-command} option. \begin{LaTeXdemo} \unit{\joule\per\mole\per\kelvin} \\ \unit{\metre\per\second\squared} \\ |