summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-09 23:10:51 +0000
committerKarl Berry <karl@freefriends.org>2011-08-09 23:10:51 +0000
commitf0c7bc8f6f750e266c7fa0a6ebc3952ed88dd9ca (patch)
tree98a0fe6ef0e1d59725d9664efea7a1154995b17d /Master/texmf-dist/source
parent1daf6d69fa13d4f600d10320f8a64a25dd226ef8 (diff)
siunitx 2.3b (8aug11)
git-svn-id: svn://tug.org/texlive/trunk@23473 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx55
1 files changed, 41 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
index e642a598b4a..77fa17c759f 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
@@ -538,6 +538,8 @@ This work consists of the file siunitx.dtx
%\changes{v2.3}{2011/06/19}{New implementation for alignment in \texttt{S}
% column}
%\changes{v2.3a}{2011/07/09}{Restore fix in v2.2l missing in v2.3}
+%\changes{v2.3b}{2011/08/08}{Adjust internal load order so that
+% \opt{free-standing-units} works correctly for abbreviations}
%
%\begin{abstract}
% Physical quantities have both numbers and units, and each physical
@@ -2436,6 +2438,7 @@ This work consists of the file siunitx.dtx
%
%\begin{center}
% \changes{v2.0n}{2010/07/15}{More abbreviated units}
+% \changes{v2.3b}{2011/07/27}{More abbreviated units}
% \tablecaption{Abbreviated units.}
% \label{tab:unit:abbr}
% \tablefirsthead{^^A
@@ -2560,6 +2563,7 @@ This work consists of the file siunitx.dtx
% \midrule
%
% \DescribeNamedUnit{watt}{W} \\
+% \DescribeNamedUnit{microwatt}{uW} \\
% \DescribeNamedUnit{milliwatt}{mW} \\
% \DescribeNamedUnit{kilowatt}{kW} \\
% \DescribeNamedUnit{megawatt}{MW} \\
@@ -2573,10 +2577,20 @@ This work consists of the file siunitx.dtx
% \DescribeNamedUnit{gigaelectronvolt}{GeV} \\
% \DescribeNamedUnit{teraelectronvolt}{TeV} \\
% \DescribeNamedUnit{kilowatt hour}{kWh} \\
+%
+% \midrule
+%
+% \DescribeNamedUnit{farad}{F} \\
+% \DescribeNamedUnit{femtofarad}{fF} \\
+% \DescribeNamedUnit{picofarad}{pF} \\
%
% \midrule
%
% \DescribeNamedUnit{kelvin}{K} \\
+%
+% \midrule
+%
+% \DescribeNamedUnit{decibel}{dB} \\
%
% \end{xtabular}
%\end{center}
@@ -4869,7 +4883,7 @@ This work consists of the file siunitx.dtx
%
% The usual preliminaries.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2011/07/09} {2.3a}
+\ProvidesExplPackage {siunitx} {2011/08/08} {2.3b}
{A comprehensive (SI) units package}
% \end{macrocode}
%
@@ -10854,15 +10868,6 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%\end{macro}
%
-% The master control macro which occurs at the start of the document.
-% \begin{macrocode}
-\AtBeginDocument {
- \bool_if:NTF \l_siunitx_create_free_bool
- { \siunitx_unit_create_functions: }
- { \siunitx_unit_create_empty_functions: }
-}
-% \end{macrocode}
-%
%\begin{macro}{\siunitx_unit_create_empty_functions:}
%\begin{macro}[aux]{\siunitx_unit_create_empty_functions_aux:N}
% Without this, horrible things happen with \pkg{memoir} and
@@ -15934,6 +15939,15 @@ This work consists of the file siunitx.dtx
}
% \end{macrocode}
%
+% The master control macro which occurs at the start of the document.
+% \begin{macrocode}
+\AtBeginDocument {
+ \bool_if:NTF \l_siunitx_create_free_bool
+ { \siunitx_unit_create_functions: }
+ { \siunitx_unit_create_empty_functions: }
+}
+% \end{macrocode}
+%
% Finally apply the settings given at load time.
% \begin{macrocode}
\ProcessKeysOptions { siunitx }
@@ -15950,7 +15964,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-version-1.cfg} {2011/07/09} {2.3a}
+\ProvidesExplFile {siunitx-version-1.cfg} {2011/08/08} {2.3b}
{siunitx: Version 1 settings}
% \end{macrocode}
%
@@ -16895,7 +16909,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2011/07/09} {2.3a}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2011/08/08} {2.3b}
{siunitx: Abbreviated units}
% \end{macrocode}
%
@@ -16976,10 +16990,11 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
% \end{macro}
% \begin{macro}
-% {\W, \mW, \kW,\MW , \GW, \kJ, \J, \eV, \meV, \keV, \MeV, \GeV, \TeV, \kWh}
+% {\W, \uW, \mW, \kW,\MW , \GW, \kJ, \J, \eV, \meV, \keV, \MeV, \GeV, \TeV, \kWh}
% Energies.
% \begin{macrocode}
\DeclareSIUnit \W { \watt }
+\DeclareSIUnit \uW { \micro \watt }
\DeclareSIUnit \mW { \milli \watt }
\DeclareSIUnit \kW { \kilo \watt }
\DeclareSIUnit \MW { \mega \watt }
@@ -17014,6 +17029,18 @@ This work consists of the file siunitx.dtx
\DeclareSIUnit \K { \kelvin }
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\dB}
+% \begin{macrocode}
+\DeclareSIUnit \dB { \deci \bel }
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\F, \fF, \pF}
+% \begin{macrocode}
+\DeclareSIUnit \F { \farad }
+\DeclareSIUnit \fF { \femto \farad }
+\DeclareSIUnit \pF { \pico \farad }
+% \end{macrocode}
+% \end{macro}
% \begin{macro}{\N, \mN, \kN, \MN}
% Forces.
% \begin{macrocode}
@@ -17064,7 +17091,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-binary.cfg} {2011/07/09} {2.3a}
+\ProvidesExplFile {siunitx-binary.cfg} {2011/08/08} {2.3b}
{siunitx: Binary units}
% \end{macrocode}
%