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

Explizite Formatevorgaben bei "printResultTable"

parent 29b7190b
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ Gasreibungsvakuummeter, Sigma (effektiv), Grundgebühr & ...@@ -67,7 +67,7 @@ Gasreibungsvakuummeter, Sigma (effektiv), Grundgebühr &
\num{1476.75} \\ \num{1476.75} \\
& &
\marker Sigma (effektiv), je zusätzliches Gas & \marker Sigma (effektiv), je zusätzliches Gas &
\num{537,00 } \\ \num{537.00} \\
\midrule \midrule
......
...@@ -67,7 +67,7 @@ Spinning rotor gauge, Sigma (effective), basic fee & ...@@ -67,7 +67,7 @@ Spinning rotor gauge, Sigma (effective), basic fee &
\num{1476.75} \\ \num{1476.75} \\
& &
\marker Sigma (effective), each additional gas & \marker Sigma (effective), each additional gas &
\num{537,00 } \\ \num{537.00} \\
\midrule \midrule
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
\newcommand*\ks@langs{ngerman,main=english} \newcommand*\ks@langs{ngerman,main=english}
\NeedsTeXFormat{LaTeX2e}[1999/12/01] \NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{kalibrierschein} \ProvidesClass{kalibrierschein}
[2018/03/20 v0.3a Dokumentenklasse (RN/PTB)] [2019/02/15 v0.3b Dokumentenklasse (RN/PTB)]
\DeclareOption{BS}{\def\ks@location{Braunschweig}} \DeclareOption{BS}{\def\ks@location{Braunschweig}}
\DeclareOption{BLN}{\def\ks@location{Berlin}} \DeclareOption{BLN}{\def\ks@location{Berlin}}
\DeclareOption{KK}{\edef\ks@kalType{\CurrentOption}} \DeclareOption{KK}{\edef\ks@kalType{\CurrentOption}}
...@@ -337,6 +337,7 @@ ...@@ -337,6 +337,7 @@
\RequirePackage{siunitx-PTB} \RequirePackage{siunitx-PTB}
\newcommand\resultTable[3][]{% \newcommand\resultTable[3][]{%
\begingroup
\@tempcnta=#2 % \@tempcnta=#2 %
\@tempcntb=\numexpr(\@tempcnta-1)*2 % \@tempcntb=\numexpr(\@tempcnta-1)*2 %
\@tempdimc=\dimexpr (\textwidth - \@tempcntb\tabcolsep) / \@tempcnta % \@tempdimc=\dimexpr (\textwidth - \@tempcntb\tabcolsep) / \@tempcnta %
...@@ -371,7 +372,10 @@ ...@@ -371,7 +372,10 @@
} }
\newcommand*\printResultTable{% \newcommand*\printResultTable{%
\the\ks@tab \begingroup
\sisetup{table-format=1e+2,retain-zero-exponent}%
\the\ks@tab
\endgroup
} }
\newcommand*\ks@applicant@table{% \newcommand*\ks@applicant@table{%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment