summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/siunitx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx')
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx21
1 files changed, 17 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
index 5f7cfdb38c4..685ca5bb90b 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
@@ -284,6 +284,7 @@ This work consists of the file siunitx.dtx
% DTLnewdbentry,
% DTLnewrow,
% farad,
+% fontspec,
% gram,
% gray,
% henry,
@@ -336,6 +337,7 @@ This work consists of the file siunitx.dtx
% tesla,
% texorpdfstring,
% text,
+% textmu,
% toprule,
% tothe,
% translate,
@@ -532,6 +534,8 @@ This work consists of the file siunitx.dtx
% using the \opt{output-exponent-marker} option}
%\changes{v2.2c}{2011/04/20}{Fix bad interaction with \pkg{cellspace} package}
%\changes{v2.2d}{2011/04/28}{Fix the \opt{strict} option}
+%\changes{v2.2e}{2011/05/23}{Fix incorrect interpretation of complex numbers with
+% no real part.}
%
%\begin{abstract}
% Physical quantities have both numbers and units, and each physical
@@ -3943,6 +3947,14 @@ This work consists of the file siunitx.dtx
% \ \ text-micro \ = \SIUnitSymbolMicro \\
% \}
%\end{flushleft}
+% It may also be desirable in these cases to select a fixed font
+% using the \pkg{fontspec} package, for example
+%\begin{LaTeXdemo}[code only]
+% \sisetup{
+% math-micro = \fontspec{Minion Pro} \textmu,
+% text-micro = \fontspec{Minion Pro} \textmu
+% }
+%\end{LaTeXdemo}
%
%\subsection{Scaled document fonts with \texorpdfstring{\XeTeX}{XeTeX}}
%
@@ -4775,7 +4787,7 @@ This work consists of the file siunitx.dtx
%
% The usual preliminaries.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2011/04/28} {2.2d}
+\ProvidesExplPackage {siunitx} {2011/05/23} {2.2e}
{A comprehensive (SI) units package}
% \end{macrocode}
%
@@ -6856,9 +6868,10 @@ This work consists of the file siunitx.dtx
\prop_if_in:NnT \l_siunitx_number_in_prop
{ complex-decimal-marker }
{ \bool_set_true:N \l_siunitx_number_in_decimal_bool }
- \prop_if_in:NnT \l_siunitx_number_in_prop
+ \prop_if_in:NnTF \l_siunitx_number_in_prop
{ complex-sign }
{ \bool_set_true:N \l_siunitx_number_in_sign_bool }
+ { \prop_del:Nn \l_siunitx_number_in_prop { mantissa } }
}
}
\cs_new_protected_nopar:Npn \siunitx_number_in_complex_aux:nn #1#2 {
@@ -15621,7 +15634,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-version-1.cfg} {2011/04/28} {2.2d}
+\ProvidesExplFile {siunitx-version-1.cfg} {2011/05/23} {2.2e}
{siunitx: Version 1 settings}
% \end{macrocode}
%
@@ -16837,7 +16850,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-binary.cfg} {2011/04/28} {2.2d}
+\ProvidesExplFile {siunitx-binary.cfg} {2011/05/23} {2.2e}
{siunitx: Binary units}
% \end{macrocode}
%