Skip to content
Snippets Groups Projects
Commit 12e7035c authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

"siunitx-PTB" für "ptbletter"

parent 45690659
Branches
No related tags found
No related merge requests found
...@@ -277,8 +277,6 @@ ...@@ -277,8 +277,6 @@
\input{\ks@kalType\ks@layout.clo}% Titelseiten- und Layout-Definition \input{\ks@kalType\ks@layout.clo}% Titelseiten- und Layout-Definition
\RequirePackage{trimspaces}
\newcommand*\ks@type{% \newcommand*\ks@type{%
Typ des Ger\"ates} Typ des Ger\"ates}
\newcommand*\type[1]{\xdef\ks@type{\trim@spaces{#1}}} \newcommand*\type[1]{\xdef\ks@type{\trim@spaces{#1}}}
......
% Rolf Niepraschk, PTB, Rolf.Niepraschk@ptb.de % Rolf Niepraschk, PTB, Rolf.Niepraschk@ptb.de
\ProvidesPackage{siunitx-PTB}[2016/09/26 v0.1a Addionions to `siunitx'' (PTB/RN)] \ProvidesPackage{siunitx-PTB}[2017/12/01 v0.1b Addionions to `siunitx'' (PTB/RN)]
\RequirePackage{siunitx} \RequirePackage{siunitx}
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
,per-mode = reciprocal ,per-mode = reciprocal
,mode = text % !!! ,mode = text % !!!
,tight-spacing = false ,tight-spacing = false
,separate-uncertainty
%%%,inter-unit-product = \ensuremath{{}\cdot{}} %%%,inter-unit-product = \ensuremath{{}\cdot{}}
}% }%
%%%} %%%}
...@@ -40,6 +41,8 @@ ...@@ -40,6 +41,8 @@
}% }%
} }
\RequirePackage{trimspaces}
\let\ke@orig@SI=\SI \let\ke@orig@SI=\SI
\renewcommand*\SI[2][]{% tolerant gegenüber "?" statt Zahl \renewcommand*\SI[2][]{% tolerant gegenüber "?" statt Zahl
\def\ks@tempa{#1}% \def\ks@tempa{#1}%
...@@ -68,10 +71,8 @@ ...@@ -68,10 +71,8 @@
\RequirePackage{iflang} \RequirePackage{iflang}
\IfLanguageName{ngerman}{% \IfLanguageName{ngerman}{%
\typeout{ngerman}
\AtBeginDocument{\sisetup{locale=DE}} \AtBeginDocument{\sisetup{locale=DE}}
}{% }{%
\typeout{english}
\AtBeginDocument{\sisetup{locale=UK}} \AtBeginDocument{\sisetup{locale=UK}}
} }
......
...@@ -104,6 +104,7 @@ ...@@ -104,6 +104,7 @@
\renewcommand*\familydefault{\sfdefault} \renewcommand*\familydefault{\sfdefault}
\fi \fi
%\RequirePackage{etoolbox} %\RequirePackage{etoolbox}
%\preto\@classoptionslist{ngerman,} %\preto\@classoptionslist{ngerman,}
% Ohne Sprachangabe "deutsch" verwenden. Bessere Lösung? % Ohne Sprachangabe "deutsch" verwenden. Bessere Lösung?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment