Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • vaclab/ptb-latex
  • andre.waehlisch/ptb-latex
2 results
Show changes
Showing
with 269 additions and 1378 deletions
## Kalibrierschein
Das Projekt enthält eine LaTeX-Dokumentenklasse und andere Komponenten zur Erzeugung eines PTB-konformen Kalibrierscheins.
Zur Erzeugung eines Kalibrierscheins als PDF-Datei ist Folgendes zu tun:
```
xelatex test-ks-KK.tex # oder: xelatex test-ks-IK.tex
xelatex test-ks-KK.tex # oder: xelatex test-ks-IK.tex
```
(KK=Kundenkalibrierung und IK=Interne kalibrierung)
Es sind zwei LaTeX-Läufe nötig, um alle Referenzen (z.B. Anzahl der Seiten) aufzulösen. Der TeX-Compiler muss Zugriff zu den Grafikdateien "Adler.pdf", PTB-logo-KS-2015.pdf und "CIPM-MRA.png" haben.
### Testdateien
* `test-ks-IK.tex`. Interne Kalibrierungen. Die Klassenoption `IK` wählt die Datei `IK.tex` mit angepassten Definitionen der Titelseite aus. Mit der Klassenoption `2015` wird das neue seit dem Jahre 2015 gültige Layout ausgewählt.
* `test-ks-KK.tex`. Kundenkalibrierung. Die Klassenoption `KK` wählt die Datei `KK.tex` mit angepassten Definitionen der Titelseite aus. Mit der Klassenoption `2015` wird das neue seit dem Jahre 2015 gültige Layout ausgewählt.
%---------------------------+-
\listfiles
\documentclass[en,KK,2015]{kalibrierschein-2019}
\missingEntries{ 0 }
\object{ Helium Leak }
\manufacturer{ Inficon }
\type{ Permeation TL8 16557 }
\serialNo{ 90001065998 }
\applicant{
{ National Institute of Metrology \\Laboratorul Presiuni }
{ Sos. Vitan Barzesti. nr. 11 }
{ }
{ 042122 Bucharest }
}
\refNo{ 7.5-1.8-18-2-2 }
\calibMark{ 75171~PTB~18 }
\calibDate{ 2018-06-18 }
\byOrder{ Dr. K. Jousten }
\examiner{ U. Becker }
\certificateDate{ 2018-06-20 }
\begin{document}
\printFirstPage
\mbox{}\newpage
\mbox{}\newpage
\printLastPage
\end{document}
%---------------------------+-
\setcounter{errorcontextlines}{100}
\RequirePackage{ifdraft}
\newcommand*\ks@location{Berlin}
\newcommand*\ks@kalType{KK}
\newcommand*\ks@layout{-2019}% derzeit nicht variabel
\newcommand*\ks@langs{ngerman,main=english}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{kalibrierschein}
[2019/03/06 v0.4a Dokumentenklasse (RN/PTB)]
\DeclareOption{BS}{\def\ks@location{Braunschweig}}
\DeclareOption{BLN}{\def\ks@location{Berlin}}
\DeclareOption{KK}{\edef\ks@kalType{\CurrentOption}}
\DeclareOption{IK}{\edef\ks@kalType{\CurrentOption}}
%\DeclareOption{2015}{\edef\ks@layout{-\CurrentOption}}
\DeclareOption{german}{\def\ks@langs{english,main=ngerman}}
\DeclareOption{ngerman}{\def\ks@langs{english,main=ngerman}}
\DeclareOption{de}{\def\ks@langs{english,main=ngerman}}
\DeclareOption{english}{\def\ks@langs{ngerman,main=english}}
\DeclareOption{en}{\def\ks@langs{ngerman,main=english}}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
\PassOptionsToPackage{paper=a4,pagesize,twoside=false,headinclude}
{typearea}
\newcommand*\ks@doc@style@code{391 00B o}% Kennung der Word-Vorlage
\LoadClass[%
,fontsize=11pt
,headings=small
,numbers=enddot
,parskip=half
]{scrartcl}
\RequirePackage[%
headheight=0bp,
marginparwidth=0pt,
left=69bp,
right=40bp,
textheight=669bp,
top=85bp,
headsep=0bp,
footskip=0bp,
]{geometry}
\raggedbottom % ???
%\RequirePackage{showframe}
\RequirePackage[\ks@langs]{babel}
\RequirePackage[autostyle=true,german=guillemets,maxlevel=3]{csquotes}%
\RequirePackage{iflang}
\IfLanguageName{ngerman}{%
\newcommand*\ks@draftName{Entwurf}%
\AtEndOfClass{\shorthandon{"}}
\defineshorthand{"`}{\openautoquote}
\defineshorthand{"'}{\closeautoquote}
}{%
\newcommand*\ks@draftName{Draft}%
}
\MakeAutoQuote{»}{«}
\AtEndOfClass{%
\@ifpackageloaded{inputenc}{}{%
\catcode`=\active
\catcode`=\active
}%
}
%\def\normalsize{...}
\def\huge{\@setfontsize\huge{20.26}{25.3}}
\def\large{\@setfontsize\large{12.17}{14.2}}
\def\tiny{\@setfontsize\tiny\@viipt\@viiipt}
\RequirePackage{textcomp}
\RequirePackage{tabularx}
\let\ks@TX@endtabularx=\TX@endtabularx
\newcommand*\origTabularx{%
\let\TX@endtabularx=\ks@TX@endtabularx
}
\RequirePackage{ltablex}\keepXColumns{}
\setcounter{LTchunksize}{100}
\PassOptionsToPackage{final}{graphicx}
\RequirePackage{eso-pic,graphicx,booktabs}
\RequirePackage{zref-totpages}
\newif\ifXeOrLua \XeOrLuafalse
\RequirePackage{ifxetex,ifluatex,ifpdf}
\ifxetex% XeTeX
\XeOrLuatrue
\else
\ifluatex% LuaTeX
\XeOrLuatrue
\else
\ifpdf% pdfTeX
\else% TeX+dvips
\fi
\fi
\fi
\RequirePackage{amsmath}
\ifXeOrLua% XeLaTeX oder luaLaTeX
\typeout{#### XeLaTeX oder luaLaTeX}
%\RequirePackage[no-math]{fontspec}
\RequirePackage{unicode-math}
\setmainfont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic.otf]
\setsansfont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic.otf]
\setmathfont{Asana-Math.otf}[math-style=ISO,bold-style=ISO]% damit sind Einheiten kursiv
\setmathfont{texgyreheros-regular.otf}[range=\mathup,Scale=MatchLowercase]
\setmathfont{texgyreheros-italic.otf}[range=\mathit,Scale=MatchLowercase]
\setmathfont{texgyreheros-bold.otf}[range=\mathbfup,Scale=MatchLowercase]
\setmathfont{texgyreheros-bolditalic.otf}[range=\mathbfit,Scale=MatchLowercase]
\setmathfont{texgyreheros-regular.otf}[range=\mathsfup,Scale=MatchLowercase]
\setmathfont{texgyreheros-italic.otf}[range=\mathsfit,Scale=MatchLowercase]
\setmathfont{texgyreheros-bold.otf}[range=\mathbfsfup,Scale=MatchLowercase]
\setmathfont{texgyreheros-bolditalic.otf}[range=\mathbfsfit,Scale=MatchLowercase]
\setmathfont{texgyreheros-regular.otf}[range=\mathpunct]
\setmathfont{Asana-Math.otf}[range=\int]
% (Ulrike): )als letztes immer einen
% richtiger Mathfont, damit diverse Werte korrekt gesetzt werden.
% Wirklich nötig?
\RequirePackage{newunicodechar}
\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239)
\newunicodechar{^^^^2009}{\,\hspace{0pt}}% 'THIN SPACE'
\newunicodechar{^^^^00ad}{\-}% 'SOFT HYPHEN'
\newunicodechar{^^^^2207}{{\setmathfont{Asana Math}^^^^2207}}% 'NABLA'
%%% TODO: ^^^^ unschädlich machen für pdflatex
\else
\typeout{#### pdfLaTeX}
\RequirePackage{fix-cm}% ???
\RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
\DeclareUnicodeCharacter{202F}{\,}
\DeclareUnicodeCharacter{2009}{\,\hspace{0pt}}
\DeclareUnicodeCharacter{22C5}{\cdot}
\DeclareUnicodeCharacter{03B8}{\theta}
\RequirePackage[scale=1]{tgheros}
%%%\RequirePackage[scaled=1]{helvet}
\renewcommand*\familydefault{\sfdefault}
%%%\newcommand*\mathfamilydefault{\familydefault}
%%\newcommand*\math@sfdefault{\sfdefault}
\RequirePackage{sfmath}
\fi
\RequirePackage[neverdecrease]{paralist}
\let\itemize\compactitem
\let\enditemize\endcompactitem
\let\enumerate\compactenum
\let\endenumerate\endcompactenum
\let\description\compactdesc
\let\enddescription\endcompactdesc
\pltopsep=\medskipamount
\plitemsep=\smallskipamount
\newcommand*\ks@PTB{Physikalisch-Technische Bundesanstalt}
\newcommand*\ks@BSuB{Braunschweig und Berlin}
\RequirePackage{picture}
\let\@tempdimd=\@clnwd
\let\@tempdime=\@clnht
\let\@tempdimf=\@dashdim
\newcommand*\ks@tempa{}
\newcommand*\ks@tempb{}
\newcommand*\ks@tempc{}
\newcommand*\ks@tempd{}
\newcommand*\ks@tempe{}
\newtoks\ks@tab
\newcommand*\ks@colSpec{}
\newcommand*\ks@add[1]{%
\ks@tab\expandafter{\the\ks@tab#1}%
}
\newcommand*\ks@addTabLine[1]{%
\def\@tempc{}%
\@for\@tempa:=#1\do{%
\edef\@tempb{\noexpand\ks@tab\noexpand\expandafter{%
\the\noexpand\ks@tab\@tempc\@tempa}}%
\@tempb
\def\@tempc{\noexpand&}% \noexpand hier unnötig, aber ...
}%
}
\newcommand*\ks@getColSpec[2]{%
\let#2=\@empty
\@for\@tempa:=#1\do{%
\edef#2{#2X}%
}%
\ifx#2\@empty
%\def#2{l}%
\def#2{X}%
\fi
}
\newcommand*\ks@printDevicesTable[3]{% #1 = width, #2 = 1. offset, #3 = 2. offset
\ks@tab{}%
\ks@getColSpec{\ks@type}{\ks@colSpec}%
\edef\@tempa{\noexpand\begin{tabularx}{#1}[t]{@{}\ks@colSpec @{}}}%
\ks@tab\expandafter{\@tempa}%
\ks@addTabLine{\ks@manufacturer}%
\ks@add{\tabularnewline[#2]}%
\ks@addTabLine{\ks@type}%
\ks@add{\tabularnewline[#3]}%
\ks@addTabLine{\ks@serialNo}%
%%\ks@add{\ks@serialNo}%
%%\ks@addCommaItems{\ks@serialNo}% ???
\ks@add{\end{tabularx}}%
\begingroup
\tabcolsep=1em %
\origTabularx
%\showthe\ks@tab
\the\ks@tab
\endgroup
}
%\RequirePackage[manualmark]{scrpage2}
\RequirePackage[manualmark,draft=false]{scrlayer-scrpage}
\clearpairofpagestyles
\lohead{\ks@head}
\lofoot{\ks@foot}
\definecolor{PTBcolor}{RGB}{0,155,206}
\input{\ks@kalType\ks@layout.clo}% Titelseiten- und Layout-Definition
\newcommand*\ks@type{%
Typ des Ger\"ates}
\newcommand*\type[1]{\xdef\ks@type{\trim@spaces{#1}}}
\newcommand*\ks@manufacturer{Namen der Hersteller}
\newcommand*\manufacturer[1]{%
\xdef\ks@manufacturer{\trim@spaces{\detokenize{#1}}}%
}
\newcommand*\ks@object{%
Name des Ger\"ates, kurze Charakterisierung}
\newcommand*\object[1]{\xdef\ks@object{\trim@spaces{#1}}}
\newcommand*\ks@applicant{%
Name des Auftraggebers, Stra\ss e, Firmensitz}
\newcommand*\applicant[1]{\long\gdef\ks@applicant{#1}}
\newcommand*\ks@serialNo{XXX,YYY}
\newcommand*\serialNo[1]{%
\xdef\ks@serialNo{\trim@spaces{\detokenize{#1}}}%
}
\newcommand*\ks@refNo{YYY-ZZZZZZZZ}
\newcommand*\refNo[1]{\xdef\ks@refNo{\trim@spaces{#1}}}
\newcommand*\ks@calibMark{YYY-XXXXXXX}
\newcommand*\calibMark[1]{\xdef\ks@calibMark{\trim@spaces{#1}}}
\newcommand*\ks@referenceMark{YYY-XXXXXXX}
\newcommand*\referenceMark[1]{\xdef\ks@referenceMark{\trim@spaces{#1}}}
\newcommand*\ks@calibDate{????-??-??}
\newcommand*\calibDate[1]{\xdef\ks@calibDate{\trim@spaces{#1}}}
\newcommand*\ks@certificateDate{????-??-??}
\newcommand*\certificateDate[1]{\xdef\ks@certificateDate{\trim@spaces{#1}}}
\newcommand*\ks@byOrder{Peter Silie}
\newcommand*\byOrder[1]{\xdef\ks@byOrder{\trim@spaces{#1}}}
\newcommand*\ks@examiner{Ellen Bogen}
\newcommand*\examiner[1]{\xdef\ks@examiner{\trim@spaces{#1}}}
\newcommand*\ks@missingEntries{1}
\newcommand*\missingEntries[1]{\xdef\ks@missingEntries{\trim@spaces{#1}}}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\RequirePackage{siunitx-PTB}
\newcommand\resultTable[3][]{%
%\begingroup
\@tempcnta=#2 %
\@tempcntb=\numexpr(\@tempcnta-1)*2 %
\@tempdimc=\dimexpr (\textwidth - \@tempcntb\tabcolsep) / \@tempcnta %
\@tempcntb=\@tempcnta
\def\@tempa{}%
\loop\ifnum\@tempcnta>\z@
%%%\edef\@tempa{\@tempa S[table-column-width=\the\@tempdimc]}% ???
\edef\@tempa{\@tempa r}%
\advance\@tempcnta\m@ne
\repeat
\edef\@tempa{\noexpand\begin{longtable}{@{}\@tempa @{}}}%
\expandafter\ks@add\expandafter{\@tempa}%
\ks@add{\\\toprule}%
\ifx\relax#1\relax\else
\ks@add{\multicolumn{\the\@tempcntb}{@{}c@{}}{#1}\\\toprule}%
\fi
\ks@add{#3}%
\ks@add{\bottomrule\end{longtable}}%
%\endgroup
}
\newcommand*\printFirstPage{%
\thispagestyle{empty}%
\AddToShipoutPicture*{\ks@printFirstPage}%
\mbox{}\clearpage
\global\let\ks@printFirstPage\@empty
\global\let\printFirstPage\@empty
}
\newcommand*\ks@@foot{}
\newcommand*\printLastPage{%
\clearpage
\global\let\ks@@foot=\ks@foot@add
\ks@lastPage
}
\newcommand*\printResultTable{%
\begingroup
\LTleft=\fill \LTright=\fill% Tabelle zentriert
\sisetup{%
retain-zero-exponent
}%
\the\ks@tab
\endgroup
}
\newcommand*\ks@applicant@table{%
\begingroup
\let\ks@tempa=\\%
\let\\=\relax
\ks@tab{}%
\expandafter\@tfor\expandafter\ks@tempb\expandafter
:\expandafter=\ks@applicant\do{%
\expandafter\edef\expandafter\ks@tempb\expandafter{%
\expandafter\trim@spaces\expandafter{\ks@tempb}}%
\ifx\ks@tempb\@empty\else
\expandafter\ks@add\expandafter{\ks@tempb\tabularnewline}%
\fi
}%
\let\\=\ks@tempa
\extrarowheight=-.1ex %
\begin{tabular}[t]{@{}l@{}}%
\the\ks@tab
\end{tabular}%
\endgroup
}
\AtBeginDocument{
\ifdraft{
\AddToShipoutPictureBG{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
\rotatebox{54.7}{%
\textnormal{\textsf{\textbf{%
\color{lightgray}\ks@draftName}}}}}}%
}%
}%
}{%
\ifnum\number\ks@missingEntries>0 %
\AddToShipoutPictureBG{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
\rotatebox{54.7}{%
\textnormal{\textsf{\textbf{%
\color{lightgray}Fehler:~\ks@missingEntries}}}}}}%
}%
}%
\fi
}
}
\RequirePackage[
% factor=1500
% ,verbose=true
,final=true
% ,letterspace=100
,babel=true
]{microtype}
\emergencystretch=1em %
\pagestyle{scrheadings}
\renewcommand\section{%
\@startsection{section}% name
{1}% level
{\z@}% indent
{-3ex \@plus -.5ex \@minus -.2ex}% beforeskip (abs.!)
{.6ex \@plus.2ex}% afterskip
{\ifnum \scr@compatibility>\@nameuse{scr@v@2.96}\relax
\setlength{\parfillskip}{\z@ plus 1fil}\fi
\raggedsection\normalfont\sectfont\nobreak\size@section}%
}
\endinput
%%
%% End of file `kailbrierschein.cls'.
sudo cp $(kpsewhich --var-value TEXMFSYSVAR)/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
sudo fc-cache -fsv
mkluatexfontdb --force --verbose=-1 -vvv
\setcounter{errorcontextlines}{100}
\RequirePackage{ifdraft}
\newcommand*\ks@location{Berlin}
\newcommand*\ks@kalType{KK}
\newcommand*\ks@layout{-0000}
\newcommand*\ks@langs{ngerman,main=english}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{kalibrierschein}
[2019/02/15 v0.3b Dokumentenklasse (RN/PTB)]
\DeclareOption{BS}{\def\ks@location{Braunschweig}}
\DeclareOption{BLN}{\def\ks@location{Berlin}}
\DeclareOption{KK}{\edef\ks@kalType{\CurrentOption}}
\DeclareOption{IK}{\edef\ks@kalType{\CurrentOption}}
\DeclareOption{2015}{\edef\ks@layout{-\CurrentOption}}
\DeclareOption{german}{\def\ks@langs{english,main=ngerman}}
\DeclareOption{ngerman}{\def\ks@langs{english,main=ngerman}}
\DeclareOption{de}{\def\ks@langs{english,main=ngerman}}
\DeclareOption{english}{\def\ks@langs{ngerman,main=english}}
\DeclareOption{en}{\def\ks@langs{ngerman,main=english}}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
\PassOptionsToPackage{paper=a4,pagesize,twoside=false,headinclude}{typearea}
% Wegen bug in fontspec v2.4a
%\RequirePackage{fixltx2e}
\LoadClass[%
,fontsize=11pt
,headings=small
,numbers=enddot
,parskip=half
]{scrartcl}
%\RequirePackage{showframe}
\RequirePackage[\ks@langs]{babel}
\RequirePackage[autostyle=true,german=guillemets,maxlevel=3]{csquotes}%
\RequirePackage{iflang}
\IfLanguageName{ngerman}{%
\newcommand*\ks@draftName{Entwurf}%
\AtEndOfClass{\shorthandon{"}}
\defineshorthand{"`}{\openautoquote}
\defineshorthand{"'}{\closeautoquote}
}{%
\newcommand*\ks@draftName{Draft}%
}
\MakeAutoQuote{»}{«}
\AtEndOfClass{%
\@ifpackageloaded{inputenc}{}{%
\catcode`=\active
\catcode`=\active
}%
}
\def\huge{\@setfontsize\huge{20.26}{25.3}}
\def\large{\@setfontsize\large{12.17}{14.2}}
\def\tiny{\@setfontsize\tiny\@viipt\@viiipt}
\raggedbottom% ???
\RequirePackage{textcomp}
%%%\RequirePackage[standard-baselineskips]{cmbright}
%%%\RequirePackage[math]{iwona}
%%%\RequirePackage[math]{kurier}
%%%\RequirePackage{lxfonts}
% 1 %\RequirePackage{arevmath}
%\let\celsius=\relax \let\ohm=\relax
%\RequirePackage{gensymb}
%%%\RequirePackage[T1,small]{eulervm}
%%%\RequirePackage{ziffer}
\RequirePackage{tabularx}
\let\ks@TX@endtabularx=\TX@endtabularx
\newcommand*\origTabularx{%
\let\TX@endtabularx=\ks@TX@endtabularx
}
\RequirePackage{ltablex}\keepXColumns{}
\setcounter{LTchunksize}{100}
\PassOptionsToPackage{final}{graphicx}
\RequirePackage{eso-pic,graphicx,booktabs}
\RequirePackage{zref-totpages}
\newif\ifXeOrLua \XeOrLuafalse
\RequirePackage{ifxetex,ifluatex,ifpdf}
\ifxetex% XeTeX
\XeOrLuatrue
\else
\ifluatex% LuaTeX
\XeOrLuatrue
\else
\ifpdf% pdfTeX
\else% TeX+dvips
\fi
\fi
\fi
\RequirePackage{amsmath}
\ifXeOrLua% XeLaTeX oder luaLaTeX
\typeout{#### XeLaTeX oder luaLaTeX}
%\RequirePackage[no-math]{fontspec}
\RequirePackage{unicode-math}
\setmainfont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic.otf]
\setsansfont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic.otf]
\setmathfont{Asana-Math.otf}[math-style=ISO,bold-style=ISO]% damit sind Einheiten kursiv
\setmathfont{texgyreheros-regular.otf}[range=\mathup,Scale=MatchLowercase]
\setmathfont{texgyreheros-italic.otf}[range=\mathit,Scale=MatchLowercase]
\setmathfont{texgyreheros-bold.otf}[range=\mathbfup,Scale=MatchLowercase]
\setmathfont{texgyreheros-bolditalic.otf}[range=\mathbfit,Scale=MatchLowercase]
\setmathfont{texgyreheros-regular.otf}[range=\mathsfup,Scale=MatchLowercase]
\setmathfont{texgyreheros-italic.otf}[range=\mathsfit,Scale=MatchLowercase]
\setmathfont{texgyreheros-bold.otf}[range=\mathbfsfup,Scale=MatchLowercase]
\setmathfont{texgyreheros-bolditalic.otf}[range=\mathbfsfit,Scale=MatchLowercase]
\setmathfont{texgyreheros-regular.otf}[range=\mathpunct]
\setmathfont{Asana-Math.otf}[range=\int]
% (Ulrike): )als letztes immer einen
% richtiger Mathfont, damit diverse Werte korrekt gesetzt werden.
% Wirklich nötig?
\RequirePackage{newunicodechar}
\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239)
\newunicodechar{^^^^2009}{\,\hspace{0pt}}% 'THIN SPACE'
\newunicodechar{^^^^00ad}{\-}% 'SOFT HYPHEN'
\newunicodechar{^^^^2207}{{\setmathfont{Asana Math}^^^^2207}}% 'NABLA'
%%% TODO: ^^^^ unschädlich machen für pdflatex
\else
\typeout{#### pdfLaTeX}
\RequirePackage{fix-cm}% ???
\RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
\DeclareUnicodeCharacter{202F}{\,}
\DeclareUnicodeCharacter{2009}{\,\hspace{0pt}}
\DeclareUnicodeCharacter{22C5}{\cdot}
\DeclareUnicodeCharacter{03B8}{\theta}
\RequirePackage[scale=1]{tgheros}
%%%\RequirePackage[scaled=1]{helvet}
\renewcommand*\familydefault{\sfdefault}
%%%\newcommand*\mathfamilydefault{\familydefault}
%%\newcommand*\math@sfdefault{\sfdefault}
\RequirePackage{sfmath}
\fi
%%%\RequirePackage{babel}
%\RequirePackage{gensymb} %% ???
%\let\ks@celsius=\celsius
%\let\celsius=\relax
%\let\ohm=\relax
%\RequirePackage{siunitx}
%\let\celsius=\ks@celsius
\iffalse
\AtBeginDocument{%
\RequirePackage[babel=once,german=guillemets]{csquotes}
\defineshorthand{"`}{\openautoquote}
\defineshorthand{"'}{\closeautoquote}
}
\fi
\RequirePackage[neverdecrease]{paralist}
\let\itemize\compactitem
\let\enditemize\endcompactitem
\let\enumerate\compactenum
\let\endenumerate\endcompactenum
\let\description\compactdesc
\let\enddescription\endcompactdesc
\pltopsep=\medskipamount
\plitemsep=\smallskipamount
\newcommand*\ks@PTB{Physikalisch-Technische Bundesanstalt}
\newcommand*\ks@BSuB{Braunschweig und Berlin}
\RequirePackage{picture}
\RequirePackage[manualmark]{scrpage2}
\let\@tempdimd=\@clnwd
\let\@tempdime=\@clnht
\let\@tempdimf=\@dashdim
\newcommand*\ks@tempa{}
\newcommand*\ks@tempb{}
\newcommand*\ks@tempc{}
\newcommand*\ks@tempd{}
\newcommand*\ks@tempe{}
\newtoks\ks@tab
\newcommand*\ks@colSpec{}
\newcommand*\ks@add[1]{%
\ks@tab\expandafter{\the\ks@tab#1}%
}
\newcommand*\ks@addTabLine[1]{%
\def\@tempc{}%
\@for\@tempa:=#1\do{%
\edef\@tempb{\noexpand\ks@tab\noexpand\expandafter{%
\the\noexpand\ks@tab\@tempc\@tempa}}%
\@tempb
\def\@tempc{\noexpand&}% \noexpand hier unnötig, aber ...
}%
}
\newcommand*\ks@getColSpec[2]{%
\let#2=\@empty
\@for\@tempa:=#1\do{%
\edef#2{#2X}%
}%
\ifx#2\@empty
%\def#2{l}%
\def#2{X}%
\fi
}
\newcommand*\ks@printDevicesTable[3]{% #1 = width, #2 = 1. offset, #3 = 2. offset
\ks@tab{}%
\ks@getColSpec{\ks@type}{\ks@colSpec}%
\edef\@tempa{\noexpand\begin{tabularx}{#1}[t]{@{}\ks@colSpec @{}}}%
\ks@tab\expandafter{\@tempa}%
\ks@addTabLine{\ks@manufacturer}%
\ks@add{\tabularnewline[#2]}%
\ks@addTabLine{\ks@type}%
\ks@add{\tabularnewline[#3]}%
\ks@addTabLine{\ks@serialNo}%
%%\ks@add{\ks@serialNo}%
%%\ks@addCommaItems{\ks@serialNo}% ???
\ks@add{\end{tabularx}}%
\begingroup
\tabcolsep=1em %
\origTabularx
%\showthe\ks@tab
\the\ks@tab
\endgroup
}
\defpagestyle{headings}%
{% Kopf
%(OLL,OLD)% Linie
{\pagemark\hfill}% Gerade Seiten
{\hfill\pagemark}% Ungerade Seiten
{% Einseitig
\ks@head
}
%(\textwidth,.8pt)% Linie
}%
{% Fuss
%(OLL,OLD)% Linie
{}% Gerade Seiten
{}% Ungerade Seiten
{% Einseitig
\ks@foot
}
%(ULL,ULD)% Linie
}
\newcommand*\ks@foot{}
\input{\ks@kalType\ks@layout.clo}% Titelseiten- und Layout-Definition
\newcommand*\ks@type{%
Typ des Ger\"ates}
\newcommand*\type[1]{\xdef\ks@type{\trim@spaces{#1}}}
\newcommand*\ks@manufacturer{Namen der Hersteller}
\newcommand*\manufacturer[1]{%
\xdef\ks@manufacturer{\trim@spaces{\detokenize{#1}}}%
}
\newcommand*\ks@object{%
Name des Ger\"ates, kurze Charakterisierung}
\newcommand*\object[1]{\xdef\ks@object{\trim@spaces{#1}}}
\newcommand*\ks@applicant{%
Name des Auftraggebers, Stra\ss e, Firmensitz}
\newcommand*\applicant[1]{\long\gdef\ks@applicant{#1}}
\newcommand*\ks@serialNo{XXX,YYY}
\newcommand*\serialNo[1]{%
\xdef\ks@serialNo{\trim@spaces{\detokenize{#1}}}%
}
\newcommand*\ks@refNo{YYY-ZZZZZZZZ}
\newcommand*\refNo[1]{\xdef\ks@refNo{\trim@spaces{#1}}}
\newcommand*\ks@calibMark{YYY-XXXXXXX}
\newcommand*\calibMark[1]{\xdef\ks@calibMark{\trim@spaces{#1}}}
\newcommand*\ks@referenceMark{YYY-XXXXXXX}
\newcommand*\referenceMark[1]{\xdef\ks@referenceMark{\trim@spaces{#1}}}
\newcommand*\ks@calibDate{????-??-??}
\newcommand*\calibDate[1]{\xdef\ks@calibDate{\trim@spaces{#1}}}
\newcommand*\ks@certificateDate{????-??-??}
\newcommand*\certificateDate[1]{\xdef\ks@certificateDate{\trim@spaces{#1}}}
\newcommand*\ks@byOrder{Peter Silie}
\newcommand*\byOrder[1]{\xdef\ks@byOrder{\trim@spaces{#1}}}
\newcommand*\ks@examiner{Ellen Bogen}
\newcommand*\examiner[1]{\xdef\ks@examiner{\trim@spaces{#1}}}
\newcommand*\ks@missingEntries{1}
\newcommand*\missingEntries[1]{\xdef\ks@missingEntries{\trim@spaces{#1}}}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\RequirePackage{siunitx-PTB}
\newcommand\resultTable[3][]{%
%\begingroup
\@tempcnta=#2 %
\@tempcntb=\numexpr(\@tempcnta-1)*2 %
\@tempdimc=\dimexpr (\textwidth - \@tempcntb\tabcolsep) / \@tempcnta %
\@tempcntb=\@tempcnta
\def\@tempa{}%
\loop\ifnum\@tempcnta>\z@
%%%\edef\@tempa{\@tempa S[table-column-width=\the\@tempdimc]}% ???
\edef\@tempa{\@tempa r}%
\advance\@tempcnta\m@ne
\repeat
\edef\@tempa{\noexpand\begin{longtable}{@{}\@tempa @{}}}%
\expandafter\ks@add\expandafter{\@tempa}%
\ks@add{\\\toprule}%
\ifx\relax#1\relax\else
\ks@add{\multicolumn{\the\@tempcntb}{@{}c@{}}{#1}\\\toprule}%
\fi
\ks@add{#3}%
\ks@add{\bottomrule\end{longtable}}%
%\endgroup
}
\newcommand*\printFirstPage{%
\thispagestyle{empty}%
\AddToShipoutPicture*{\ks@printFirstPage}%
\mbox{}\clearpage
\global\let\ks@printFirstPage\@empty
\global\let\printFirstPage\@empty
}
\newcommand*\printLastPage{%
\clearpage
\global\let\ks@foot=\ks@@foot
\ks@lastPage
}
\newcommand*\printResultTable{%
\begingroup
\LTleft=\fill \LTright=\fill% Tabelle zentriert
\sisetup{%
retain-zero-exponent
}%
\the\ks@tab
\endgroup
}
\newcommand*\ks@applicant@table{%
\begingroup
\let\ks@tempa=\\%
\let\\=\relax
\ks@tab{}%
\expandafter\@tfor\expandafter\ks@tempb\expandafter
:\expandafter=\ks@applicant\do{%
\expandafter\edef\expandafter\ks@tempb\expandafter{%
\expandafter\trim@spaces\expandafter{\ks@tempb}}%
\ifx\ks@tempb\@empty\else
\expandafter\ks@add\expandafter{\ks@tempb\tabularnewline[.3ex]}%
\fi
}%
\let\\=\ks@tempa
\begin{tabular}[t]{@{}l@{}}%
\the\ks@tab
\end{tabular}%
\endgroup
}
\AtBeginDocument{
\ifdraft{
\AddToShipoutPictureBG{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
\rotatebox{54.7}{%
\textnormal{\textsf{\textbf{%
\color{lightgray}\ks@draftName}}}}}}%
}%
}%
}{%
\ifnum\number\ks@missingEntries>0 %
\AddToShipoutPictureBG{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
\rotatebox{54.7}{%
\textnormal{\textsf{\textbf{%
\color{lightgray}Fehler:~\ks@missingEntries}}}}}}%
}%
}%
\fi
}
}
\RequirePackage[
% factor=1500
% ,verbose=true
,final=true
% ,letterspace=100
,babel=true
]{microtype}
\emergencystretch=1em %
\pagestyle{headings}
\renewcommand\section{%
\@startsection{section}% name
{1}% level
{\z@}% indent
{-3ex \@plus -.5ex \@minus -.2ex}% beforeskip (abs.!)
{.6ex \@plus.2ex}% afterskip
{\ifnum \scr@compatibility>\@nameuse{scr@v@2.96}\relax
\setlength{\parfillskip}{\z@ plus 1fil}\fi
\raggedsection\normalfont\sectfont\nobreak\size@section}%
}
\endinput
%%
%% End of file `kailbrierschein.cls'.
sudo cp $(kpsewhich --var-value TEXMFSYSVAR)/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
sudo fc-cache -fsv
mkluatexfontdb --force --verbose=-1 -vvv
% Rolf Niepraschk, PTB, Rolf.Niepraschk@ptb.de
\ProvidesPackage{siunitx-PTB}[2018/05/28 v0.1c Additions to `siunitx'' (PTB/RN)]
\RequirePackage{amsmath,siunitx}
\providecommand*\vl@tempa{}
\providecommand*\vl@tempb{}
\providecommand*\vl@tempc{}
\providecommand*\vl@tempd{}
\providecommand*\vl@tempe{}
\DeclareSIUnit\torr{Torr}
\DeclareSIUnit\mbar{\milli bar}
\DeclareSIUnit\sccm{sccm}% Standard Cubic Centimeters per Minute
%%%\AtBeginDocument{%
\sisetup{%
%%%,exponent-product = \ensuremath { \cdot } % wird per "locale" gesetzt
%%%,inter-unit-product = \ensuremath{{}\cdot{}} % wird per "locale" gesetzt
%,output-exponent-marker=\text{E}
% ,table-alignment = center
%%%,table-number-alignment = center
%%%,table-text-alignment = center
% ,table-align-exponent = true
% ,table-parse-only = true % ?!
%,parse-numbers = false
% ,table-format = +1.3e+1
%%%,table-figures-integer = 1
%%%,table-figures-decimal = 3
%%%,table-figures-exponent = 2
%%%,input-uncertainty-signs = +-
%%%,output-open-uncertainty =
%%%,output-close-uncertainty =
%%,separate-uncertainty = true
,bracket-numbers = true
%,per-mode = symbol
,per-mode = reciprocal
%,per-mode=symbol-or-fraction
,mode = text % !!!
,tight-spacing = false
,separate-uncertainty
%%%,inter-unit-product = \ensuremath{{}\cdot{}}
}%
%%%}
\AtBeginDocument{
\sisetup{%
,inter-unit-product=\ensuremath{{}\cdot{}}
}%
}
\RequirePackage{trimspaces}
\let\ke@orig@SI=\SI
\renewcommand*\SI[2][]{% tolerant gegenüber "?" statt Zahl
\def\vl@tempa{#1}%
\edef\vl@tempb{\trim@spaces{#2}}%
\ks@SI@i
}
\newcommand*\ks@SI@i[2][]{%
\def\vl@tempc{?}%
\ifx\vl@tempb\vl@tempc
\ensuremath{\textbf{??}}\,\si[#1]{#2}%
\else
\edef\vl@tempe{\noexpand\ke@orig@SI[\vl@tempa]{\vl@tempb}[#1]{#2}}%
\vl@tempe
\fi
}
\let\ke@orig@num=\num
\renewcommand*\num[1]{% tolerant gegenüber "?" statt Zahl
\edef\vl@tempb{\trim@spaces{#1}}%
\def\vl@tempc{?}%
\ifx\vl@tempb\vl@tempc
\ensuremath{\textbf{??}}%
\else
\ke@orig@num{#1}%
\fi
}
\RequirePackage{iflang}
\AtBeginDocument{%
\IfLanguageName{ngerman}{
\sisetup{locale=DE}
}{%
\sisetup{locale=UK}
}
}
\addto\extrasgerman{\sisetup{locale=DE}}
\addto\extrasngerman{\sisetup{locale=DE}}
\addto\extrasenglish{\sisetup{locale=US}}
\endinput
%---------------------------
\listfiles
\documentclass[en,IK,2015]{kalibrierschein}
\resultTable{ 6 }{%
{\(p_{cal}\)}&{\(p_{ind}\)}&{\(p_r\)}&{\(p_{ind} - p_r\)}&{\(e\)}&{\(U(k=2)\)}\\
mbar&mbar&mbar&mbar&&\\\toprule\endhead
2.954E-08&3.27E-08&1.66E-09&3.10E-08&5.1E-02&2.6E-02\\
4.970E-08&5.35E-08&1.65E-09&5.19E-08&4.3E-02&2.4E-02\\
8.908E-08&9.53E-08&1.63E-09&9.37E-08&5.2E-02&2.4E-02\\
2.991E-07&3.17E-07&1.68E-09&3.15E-07&5.4E-02&2.4E-02\\
4.805E-07&5.29E-07&1.80E-09&5.27E-07&9.7E-02&2.4E-02\\
4.810E-07&5.29E-07&2.00E-09&5.27E-07&9.6E-02&2.4E-02\\
5.024E-07&5.30E-07&1.80E-09&5.28E-07&5.1E-02&2.4E-02\\
8.916E-07&9.37E-07&1.52E-09&9.35E-07&4.9E-02&2.2E-02\\
2.943E-06&3.07E-06&1.77E-09&3.07E-06&4.3E-02&2.2E-02\\
4.922E-06&5.13E-06&2.02E-09&5.13E-06&4.2E-02&2.2E-02\\
8.827E-06&9.25E-06&3.20E-09&9.24E-06&4.7E-02&2.2E-02\\
2.957E-05&3.05E-05&4.10E-09&3.05E-05&3.1E-02&2.2E-02\\
4.892E-05&5.01E-05&6.70E-09&5.01E-05&2.4E-02&2.2E-02\\
8.768E-05&8.87E-05&7.70E-09&8.87E-05&1.1E-02&2.2E-02\\
8.960E-05&8.88E-05&1.20E-08&8.88E-05&-9.1E-03&2.2E-02\\
8.768E-05&8.88E-05&1.00E-08&8.88E-05&1.3E-02&2.2E-02\\
}
\missingEntries{ 16 }
\object{ Stabil Ion Gauge }
\manufacturer{ Granville-Phillips }
\type{ EXT-Y | Stabil Ion Controler 370B }
\serialNo{ YEA06800 | 1449 }
\applicant{ { BOC EDWARDS } { Marshall Road } { EASTBOURNE, EAST SUSSEX } { BN22 9BA } }
\refNo{ ? }
\calibMark{ QS 21/13 }
\referenceMark{ 7.5-4003 }
\calibDate{ 2013-11-26 }
\examiner{ Th.\,Bock }
\certificateDate{ 2013-12-18 }
\begin{document}
\printFirstPage
\section{ Description of the calibration device }
The device was shipped under atmospheric pressure kept in the producers plastic shell.
A memory module belonging to the stabil ion gauge (serial 06800) was provided. It was active during calibration.
\section{ Calibration procedure }
The device was installed in a vertical orientation. Before calibration the gauge head was baked at \(?\) °C for \(?\) h. During the cool down phase the head was degassed for \(?\) minutes. At room temperature it was exposed for \(?\) h at \(?⋅10^{?}\) mbar argon for sputtering the ion collector.
The sensitivity factor was kept at an value of \(?\) mbar\(^{-1}\) during the calibration. The calibration was carried out with the following device settings:
\begin{itemize}\item display: mbar\item filament: F1\item emission: L\item channel: A\end{itemize}
Before each calibration point the residual pressure indication \(p_r\) was checked.
The temperature \(θ\) during the calibration was \(?\) °C and varied from this value within \(\pm?\) °C.
The device was calibrated with ? in the pressure range \(?⋅ 10^{?}\) mbar to \(?⋅10^{?}\) mbar by comparing its reading with the calibration pressure that was established by the primary standard CE3 of PTB applying the continuous expansion method.
\section{ Relative error of indication }
The correction factor \(CF\) given in the table below was calculated from the indicated pressure \(p_{ind}\) as follows:\[CF =\frac{p_{cal}}{p_{ind} - p_{r}}\] where \(p_{cal}\) denotes the calibration pressure as generated in the primary standard and \(p_{r}\) the reading at residual pressure. From this, the corrected pressure \(p\) can be calculated from the residual pressure indication and the indicated pressure by:\[p = CF (p_{ind} - p_{r})\]
The uncertainty \(U\) of \(CF\) at the time of calibration is given in the last column of the table below. It includes the repeatability of \(p_{ind}\) for otherwise identical conditions (\(p_{cal}\), \(θ\)).\printResultTable
\section{ Uncertainty of Calibration }
The uncertainty \(U\) stated is the expanded measurement uncertainty obtained by multiplying the standard measurement uncertainty by the coverage factor \(k = 2\). It has been determined in accordance with the “Guide to the Expression of Uncertainty in Measurement (GUM)”. The value of the measurand then normally lies, with a probability of approximately \(95\) \%. within the attributed coverage interval.\par \(95\)\,\% 95\,\% 95~\% \(95\) \% \par
95 \% 95 \%
\printLastPage
\end{document}
%---------------------------
\(95\)\,\% 95\,\% 95~\%
%---------------------------
\listfiles
\documentclass[ngerman,IK]{kalibrierschein}
\resultTable{ 6 }{%
{\(p_{cal}\)}&{\(p_{ind}\)}&{\(p_r\)}&{\(p_{ind} - p_r\)}&{\(e\)}&{\(U(k=2)\)}\\
mbar&mbar&mbar&mbar&&\\\toprule\endhead
2.954E-08&3.27E-08&1.66E-09&3.10E-08&5.1E-02&2.6E-02\\
4.970E-08&5.35E-08&1.65E-09&5.19E-08&4.3E-02&2.4E-02\\
8.908E-08&9.53E-08&1.63E-09&9.37E-08&5.2E-02&2.4E-02\\
2.991E-07&3.17E-07&1.68E-09&3.15E-07&5.4E-02&2.4E-02\\
4.805E-07&5.29E-07&1.80E-09&5.27E-07&9.7E-02&2.4E-02\\
4.810E-07&5.29E-07&2.00E-09&5.27E-07&9.6E-02&2.4E-02\\
5.024E-07&5.30E-07&1.80E-09&5.28E-07&5.1E-02&2.4E-02\\
8.916E-07&9.37E-07&1.52E-09&9.35E-07&4.9E-02&2.2E-02\\
2.943E-06&3.07E-06&1.77E-09&3.07E-06&4.3E-02&2.2E-02\\
4.922E-06&5.13E-06&2.02E-09&5.13E-06&4.2E-02&2.2E-02\\
8.827E-06&9.25E-06&3.20E-09&9.24E-06&4.7E-02&2.2E-02\\
2.957E-05&3.05E-05&4.10E-09&3.05E-05&3.1E-02&2.2E-02\\
4.892E-05&5.01E-05&6.70E-09&5.01E-05&2.4E-02&2.2E-02\\
8.768E-05&8.87E-05&7.70E-09&8.87E-05&1.1E-02&2.2E-02\\
8.960E-05&8.88E-05&1.20E-08&8.88E-05&-9.1E-03&2.2E-02\\
8.768E-05&8.88E-05&1.00E-08&8.88E-05&1.3E-02&2.2E-02\\
}
\missingEntries{ 16 }
\object{ Stabil Ion Gauge }
\manufacturer{ Granville-Phillips }
\type{ EXT-Y | Stabil Ion Controler 370B }
\serialNo{ YEA06800 | 1449 }
\applicant{ { BOC EDWARDS } { Marshall Road } { EASTBOURNE, EAST SUSSEX } { BN22 9BA } }
\refNo{ ? }
\calibMark{ QS 21/13 }
\referenceMark{ 7.5-4003 }
\calibDate{ 2013-11-26 }
\examiner{ Th.\,Bock }
\certificateDate{ 2013-12-18 }
\begin{document}
\printFirstPage
\section{ Description of the calibration device }
The device was shipped under atmospheric pressure kept in the producers plastic shell.
A memory module belonging to the stabil ion gauge (serial 06800) was provided. It was active during calibration.
\section{ Calibration procedure }
The device was installed in a vertical orientation. Before calibration the gauge head was baked at \(?\) °C for \(?\) h. During the cool down phase the head was degassed for \(?\) minutes. At room temperature it was exposed for \(?\) h at \(?⋅10^{?}\) mbar argon for sputtering the ion collector.
The sensitivity factor was kept at an value of \(?\) mbar\(^{-1}\) during the calibration. The calibration was carried out with the following device settings:
\begin{itemize}\item display: mbar\item filament: F1\item emission: L\item channel: A\end{itemize}
Before each calibration point the residual pressure indication \(p_r\) was checked.
The temperature \(θ\) during the calibration was \(?\) °C and varied from this value within \(\pm?\) °C.
The device was calibrated with ? in the pressure range \(?⋅ 10^{?}\) mbar to \(?⋅10^{?}\) mbar by comparing its reading with the calibration pressure that was established by the primary standard CE3 of PTB applying the continuous expansion method.
\section{ Relative error of indication }
The correction factor \(CF\) given in the table below was calculated from the indicated pressure \(p_{ind}\) as follows:\[CF =\frac{p_{cal}}{p_{ind} - p_{r}}\] where \(p_{cal}\) denotes the calibration pressure as generated in the primary standard and \(p_{r}\) the reading at residual pressure. From this, the corrected pressure \(p\) can be calculated from the residual pressure indication and the indicated pressure by:\[p = CF (p_{ind} - p_{r})\]
The uncertainty \(U\) of \(CF\) at the time of calibration is given in the last column of the table below. It includes the repeatability of \(p_{ind}\) for otherwise identical conditions (\(p_{cal}\), \(θ\)).\printResultTable
\section{ Uncertainty of Calibration }
The uncertainty \(U\) stated is the expanded measurement uncertainty obtained by multiplying the standard measurement uncertainty by the coverage factor \(k = 2\). It has been determined in accordance with the “Guide to the Expression of Uncertainty in Measurement (GUM)”. The value of the measurand then normally lies, with a probability of approximately \(95\) \%. within the attributed coverage interval.\par \(95\)\,\% 95\,\% 95~\% \(95\) \% \par
95 \% 95 \%
\printLastPage
\end{document}
%---------------------------
\(95\)\,\% 95\,\% 95~\%
%---------------------------
\listfiles
\documentclass[en,KK,2015]{kalibrierschein}
\resultTable{ 6 }{%
{\(p_{cal}\)}&{\(p_{ind}\)}&{\(p_r\)}&{\(p_{ind} - p_r\)}&{\(e\)}&{\(U(k=2)\)}\\
mbar&mbar&mbar&mbar&&\\\toprule\endhead
2.954E-08&3.27E-08&1.66E-09&3.10E-08&5.1E-02&2.6E-02\\
4.970E-08&5.35E-08&1.65E-09&5.19E-08&4.3E-02&2.4E-02\\
8.908E-08&9.53E-08&1.63E-09&9.37E-08&5.2E-02&2.4E-02\\
2.991E-07&3.17E-07&1.68E-09&3.15E-07&5.4E-02&2.4E-02\\
4.805E-07&5.29E-07&1.80E-09&5.27E-07&9.7E-02&2.4E-02\\
4.810E-07&5.29E-07&2.00E-09&5.27E-07&9.6E-02&2.4E-02\\
5.024E-07&5.30E-07&1.80E-09&5.28E-07&5.1E-02&2.4E-02\\
8.916E-07&9.37E-07&1.52E-09&9.35E-07&4.9E-02&2.2E-02\\
2.943E-06&3.07E-06&1.77E-09&3.07E-06&4.3E-02&2.2E-02\\
4.922E-06&5.13E-06&2.02E-09&5.13E-06&4.2E-02&2.2E-02\\
8.827E-06&9.25E-06&3.20E-09&9.24E-06&4.7E-02&2.2E-02\\
2.957E-05&3.05E-05&4.10E-09&3.05E-05&3.1E-02&2.2E-02\\
4.892E-05&5.01E-05&6.70E-09&5.01E-05&2.4E-02&2.2E-02\\
8.768E-05&8.87E-05&7.70E-09&8.87E-05&1.1E-02&2.2E-02\\
8.960E-05&8.88E-05&1.20E-08&8.88E-05&-9.1E-03&2.2E-02\\
8.768E-05&8.88E-05&1.00E-08&8.88E-05&1.3E-02&2.2E-02\\
}
\missingEntries{ 16 }
\object{ Stabil Ion Gauge }
\manufacturer{ Granville-Phillips }
\type{ EXT-Y, Stabil Ion Controler 370B }
\serialNo{ YEA06800, # & _ ^ 1449 }
\applicant{
{ Customer.Name }
{ Customer.Address.Street }
{ Customer.Address.Zipcode Customer.Address.Town }
{ Customer.Address.District }
}
\refNo{ ? }
\calibMark{ 75120 PTB 13 }
\calibDate{ 2013-11-26 }
\byOrder{ Dr. K. Jousten }
\examiner{ ? }
\certificateDate{ 2013-12-18 }
\begin{document}
\printFirstPage
\section{ Description of the calibration device }
\IfLanguageName{ngerman}{DEUTSCH}{ENGLISH}
%\num{9.99E-7 +- 9E-9} \par \bigskip
\num{9.99 +- 0.09} \par \bigskip
The device was shipped under atmospheric pressure kept in the producers plastic shell.
A memory module belonging to the stabil ion gauge (serial 06800) was provided. It was active during calibration.
\section{ Calibration procedure }
The device was installed in a vertical orientation. Before calibration the gauge head was baked at \(?\) °C for \(?\) h. During the cool down phase the head was degassed for \(?\) minutes. At room temperature it was exposed for \(?\) h at \(?⋅10^{?}\) mbar argon for sputtering the ion collector.
The sensitivity factor was kept at an value of \(?\) mbar\(^{-1}\) during the calibration. The calibration was carried out with the following device settings:
\begin{itemize}\item display: mbar\item filament: F1\item emission: L\item channel: A\end{itemize}
Before each calibration point the residual pressure indication \(p_r\) was checked.
The temperature \(θ\) during the calibration was \(?\) °C and varied from this value within \(\pm?\) °C.
The device was calibrated with ? in the pressure range \(?⋅ 10^{?}\) mbar to \(?⋅10^{?}\) mbar by comparing its reading with the calibration pressure that was established by the primary standard CE3 of PTB applying the continuous expansion method.
\section{ Relative error of indication }
The correction factor \(CF\) given in the table below was calculated from the indicated pressure \(p_{ind}\) as follows:\[CF =\frac{p_{cal}}{p_{ind} - p_{r}}\] where \(p_{cal}\) denotes the calibration pressure as generated in the primary standard and \(p_{r}\) the reading at residual pressure. From this, the corrected pressure \(p\) can be calculated from the residual pressure indication and the indicated pressure by:\[p = CF (p_{ind} - p_{r})\]
The uncertainty \(U\) of \(CF\) at the time of calibration is given in the last column of the table below. It includes the repeatability of \(p_{ind}\) for otherwise identical conditions (\(p_{cal}\), \(θ\)).\printResultTable
\section{ Uncertainty of Calibration }
The uncertainty \(U\) stated is the expanded measurement uncertainty obtained by multiplying the standard measurement uncertainty by the coverage factor \(k = 2\). It has been determined in accordance with the “Guide to the Expression of Uncertainty in Measurement (GUM)”. The value of the measurand then normally lies, with a probability of approximately \(95\) \%. within the attributed coverage interval.\par \(95\)\,\% 95\,\% 95~\% \(95\) \% \par
95 \% 95 \%
\printLastPage
\end{document}
%---------------------------
\(95\)\,\% 95\,\% 95~\%
%---------------------------
\listfiles
\documentclass[ngerman,KK]{kalibrierschein}
\resultTable[Gas:~N$_2$]{ 6 }{%
{\(p_{cal}\)}&{\(p_{ind}\)}&{\(p_r\)}&{\(p_{ind} - p_r\)}&{\(e\)}&{\(U(k=2)\)}\\
mbar&mbar&mbar&mbar&&\\\toprule\endhead
2.954E-08&3.27E-08&1.66E-09&3.10E-08&5.1E-02&2.6E-02\\
4.970E-08&5.35E-08&1.65E-09&5.19E-08&4.3E-02&2.4E-02\\
8.908E-08&9.53E-08&1.63E-09&9.37E-08&5.2E-02&2.4E-02\\
2.991E-07&3.17E-07&1.68E-09&3.15E-07&5.4E-02&2.4E-02\\
4.805E-07&5.29E-07&1.80E-09&5.27E-07&9.7E-02&2.4E-02\\
4.810E-07&5.29E-07&2.00E-09&5.27E-07&9.6E-02&2.4E-02\\
5.024E-07&5.30E-07&1.80E-09&5.28E-07&5.1E-02&2.4E-02\\
8.916E-07&9.37E-07&1.52E-09&9.35E-07&4.9E-02&2.2E-02\\
2.943E-06&3.07E-06&1.77E-09&3.07E-06&4.3E-02&2.2E-02\\
4.922E-06&5.13E-06&2.02E-09&5.13E-06&4.2E-02&2.2E-02\\
8.827E-06&9.25E-06&3.20E-09&9.24E-06&4.7E-02&2.2E-02\\
2.957E-05&3.05E-05&4.10E-09&3.05E-05&3.1E-02&2.2E-02\\
4.892E-05&5.01E-05&6.70E-09&5.01E-05&2.4E-02&2.2E-02\\
8.768E-05&8.87E-05&7.70E-09&8.87E-05&1.1E-02&2.2E-02\\
8.960E-05&8.88E-05&1.20E-08&8.88E-05&-9.1E-03&2.2E-02\\
8.768E-05&8.88E-05&1.00E-08&8.88E-05&1.3E-02&2.2E-02\\\bottomrule
}
\resultTable{ 6 }{%
{\(p_{cal}\)}&{\(p_{ind}\)}&{\(p_r\)}&{\(p_{ind} - p_r\)}&{\(e\)}&{\(U(k=2)\)}\\
mbar&mbar&mbar&mbar&&\\\toprule\endhead
2.954E-08&3.27E-08&1.66E-09&3.10E-08&5.1E-02&2.6E-02\\
4.970E-08&5.35E-08&1.65E-09&5.19E-08&4.3E-02&2.4E-02\\
8.908E-08&9.53E-08&1.63E-09&9.37E-08&5.2E-02&2.4E-02\\
2.991E-07&3.17E-07&1.68E-09&3.15E-07&5.4E-02&2.4E-02\\
4.805E-07&5.29E-07&1.80E-09&5.27E-07&9.7E-02&2.4E-02\\
4.810E-07&5.29E-07&2.00E-09&5.27E-07&9.6E-02&2.4E-02\\
5.024E-07&5.30E-07&1.80E-09&5.28E-07&5.1E-02&2.4E-02\\
8.916E-07&9.37E-07&1.52E-09&9.35E-07&4.9E-02&2.2E-02\\
2.943E-06&3.07E-06&1.77E-09&3.07E-06&4.3E-02&2.2E-02\\
4.922E-06&5.13E-06&2.02E-09&5.13E-06&4.2E-02&2.2E-02\\
8.827E-06&9.25E-06&3.20E-09&9.24E-06&4.7E-02&2.2E-02\\
2.957E-05&3.05E-05&4.10E-09&3.05E-05&3.1E-02&2.2E-02\\
4.892E-05&5.01E-05&6.70E-09&5.01E-05&2.4E-02&2.2E-02\\
8.768E-05&8.87E-05&7.70E-09&8.87E-05&1.1E-02&2.2E-02\\
8.960E-05&8.88E-05&1.20E-08&8.88E-05&-9.1E-03&2.2E-02\\
8.768E-05&8.88E-05&1.00E-08&8.88E-05&1.3E-02&2.2E-02\\
}
\missingEntries{ 16 }
\object{ Stabil Ion Gauge }
\manufacturer{ Granville-Phillips }
\type{ EXT-Y, Stabil Ion Controler 370B }
% Anzahl Kommas bei \type gibt die Spaltenzahl vor.
% \manufacturer und \serialNo sollten dieselbe Anzahl Kommas haben.
\serialNo{ YEA06800, 1449 }
\applicant{ { BOC EDWARDS } { Marshall Road } { EASTBOURNE, EAST SUSSEX } { BN22 9BA } }
\refNo{ ? }
\calibMark{ 75120 PTB 13 }
\calibDate{ 2013-11-26 }
\byOrder{ Dr. K. Jousten }
\examiner{ ? }
\certificateDate{ 2013-12-18 }
\begin{document}
\printFirstPage
\section{ Description of the calibration device }
%\num{9.99E-7 +- 9E-9} \par \bigskip
\num{9.99 +- 0.09} \par \bigskip
The device was shipped under atmospheric pressure kept in the producers plastic shell.
A memory module belonging to the stabil ion gauge (serial 06800) was provided. It was active during calibration.
\section{ Calibration procedure }
The device was installed in a vertical orientation. Before calibration the gauge head was baked at \(?\) °C for \(?\) h. During the cool down phase the head was degassed for \(?\) minutes. At room temperature it was exposed for \(?\) h at \(?⋅10^{?}\) mbar argon for sputtering the ion collector.
The sensitivity factor was kept at an value of \(?\) mbar\(^{-1}\) during the calibration. The calibration was carried out with the following device settings:
\begin{itemize}\item display: mbar\item filament: F1\item emission: L\item channel: A\end{itemize}
Before each calibration point the residual pressure indication \(p_r\) was checked.
The temperature \(θ\) during the calibration was \(?\) °C and varied from this value within \(\pm?\) °C.
The device was calibrated with ? in the pressure range \(?⋅ 10^{?}\) mbar to \(?⋅10^{?}\) mbar by comparing its reading with the calibration pressure that was established by the primary standard CE3 of PTB applying the continuous expansion method.
\section{ Relative error of indication }
The correction factor \(CF\) given in the table below was calculated from the indicated pressure \(p_{ind}\) as follows:\[CF =\frac{p_{cal}}{p_{ind} - p_{r}}\] where \(p_{cal}\) denotes the calibration pressure as generated in the primary standard and \(p_{r}\) the reading at residual pressure. From this, the corrected pressure \(p\) can be calculated from the residual pressure indication and the indicated pressure by:\[p = CF (p_{ind} - p_{r})\]
The uncertainty \(U\) of \(CF\) at the time of calibration is given in the last column of the table below. It includes the repeatability of \(p_{ind}\) for otherwise identical conditions (\(p_{cal}\), \(θ\)).\printResultTable
\section{ Uncertainty of Calibration }
The uncertainty \(U\) stated is the expanded measurement uncertainty obtained by multiplying the standard measurement uncertainty by the coverage factor \(k = 2\). It has been determined in accordance with the “Guide to the Expression of Uncertainty in Measurement (GUM)”. The value of the measurand then normally lies, with a probability of approximately \(95\) \%. within the attributed coverage interval.\par \(95\)\,\% 95\,\% 95~\% \(95\) \% \par
95 \% 95 \%
\printLastPage
\end{document}
%---------------------------
\(95\)\,\% 95\,\% 95~\%
No preview for this file type
......@@ -2,7 +2,7 @@
\documentclass[%
,ngerman
,twoside
,serif
%,serif
,sanserif
,BLN
%,BS
......@@ -22,6 +22,9 @@
\myfax{7777}
\myemail{Rolf.Niepraschk@ptb.de}
\colorlet{bgTextColor}{red!20}
\bgText*{ENTWURF}
% Ausblenden des Fußbereiches
% \setkomavar{firstfoot}{}
......@@ -69,7 +72,14 @@ Klassenoptionen:
"`A4"' festgelegt. Als Eingabe-Kodierung wird ausschließlich "`UTF-8"'
unterstützt.
Der Text, der dem Makro \verb|\bgText| übergeben wird, erscheint auf jeder
Seite auf dem Textbereich als hellgrauer Hintergrunddruck schräg in großer
Schrift. Wird die Sternvariante (\verb|\bgText*|) benutzt, erscheint der
Hintergrunddruck nur auf der ersten Seite. Die Farbe dieses Textes kann durch Definition der Farbe »bgTextColor« geschehen, z.\,B.\ so:
\verb|\definecolor{bgTextColor}{gray}{0.9}|
%\closing{\MHG}
%\closing{\MFg}
\closing{\MFG}
\ps PS: Viel Spaß beim \TeX{}en!
......
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
\setcounter{errorcontextlines}{100} \listfiles
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ptbletter}[2018/11/09 v0.3d PTB-Brief-Klasse (RN)]
\ProvidesClass{ptbletter}[2023/04/21 v0.4c PTB-Brief-Klasse (RN)]
\let\ptb@tempdima=\@ovxx
\let\ptb@tempdimb=\@ovyy
......@@ -17,11 +17,10 @@
\RequirePackage{graphicx,xcolor}
\ifPTB@useCMYK
\definecolor{PTBcolor}{cmyk}{1,0.32549,0.12549,0.12549}
\definecolor{PTBcolor}{cmyk}{1,0.32549,0.12549,0.12549}% ???
% icc:model: Europe ISO Coated FOGRA27
\else
%%%\definecolor{PTBcolor}{rgb}{0,0.67451,0.87451}
\definecolor{PTBcolor}{HTML}{00ACDF}
\definecolor{PTBcolor}{RGB}{0,155,206}
\fi
\newif\ifptb@BLN \ptb@BLNtrue
......@@ -57,7 +56,7 @@
}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrlttr2}}
%\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrlttr2}}
\ExecuteOptions{pagesize}
\ProcessOptions\relax
......@@ -66,7 +65,7 @@
\LoadClass[%
,fontsize=11pt
,DINmtext
%,DINmtext
,backaddress=plain
,refline=nodate
,enlargefirstpage
......@@ -75,6 +74,8 @@
,firstfoot=true
]{scrlttr2}
\LoadLetterOption{DINmtext}
\RequirePackage[%
,verbose
,left=1in
......@@ -114,16 +115,15 @@
\RequirePackage[\ptb@lang]{babel}
\RequirePackage{etoolbox,iflang,trimspaces}
\AtEndPreamble{%
\IfLanguageName{ngerman}{
\AtEndOfClass{\shorthandon{"}}
\IfLanguageName{ngerman}{%
\RequirePackage[autostyle=true,german=guillemets,maxlevel=3]{csquotes}%
}{%
\RequirePackage[babel=once]{csquotes}
\useshorthands*{"}
}
}%
\MakeAutoQuote{»}{«}
\defineshorthand{"`}{\openautoquote}
\defineshorthand{"'}{\closeautoquote}
\defineshorthand{"'}{\closeautoquote}\shorthandon{"}
}
\AtEndOfClass{%
......@@ -133,36 +133,40 @@
}%
}
%%%\AtEndOfClass{\shorthandon{"}}
\setplength{toaddrhpos}{72bp}
\setplength{toaddrvpos}{124bp}
\@setplength{toaddrhpos}{72bp}
\@setplength{toaddrvpos}{124bp}
\setplength{lochpos}{-354bp}% "-" --> vom linken Blattand aus
\setplength{locvpos}{146bp}% --> vom oberen Blattand aus
\setplength{locwidth}{212bp}
\setplength{locheight}{139bp}
\@setplength{lochpos}{-354bp}% "-" --> vom linken Blattand aus
\@setplength{locvpos}{146bp}% --> vom oberen Blattand aus
\@setplength{locwidth}{212bp}
\@setplength{locheight}{139bp}
\setplength{refvpos}{304bp}
%\setplength{refwidth}{40mm}
\setplength{refaftervskip}{\z@}
\@setplength{refvpos}{304bp}
%\@setplength{refwidth}{40mm}
\@setplength{refaftervskip}{\z@}
\setplength{firstheadhpos}{72bp}
\setplength{firstheadvpos}{50bp}
\setplength{firstheadwidth}{469bp}
\@setplength{firstheadhpos}{72bp}
\@setplength{firstheadvpos}{50bp}
\@setplength{firstheadwidth}{469bp}
\setplength{firstfoothpos}{72bp}
\setplength{firstfootvpos}{764bp}
\setplength{firstfootwidth}{\useplength{firstheadwidth}}
\@setplength{firstfoothpos}{72bp}
\@setplength{firstfootvpos}{764bp}
\@setplength{firstfootwidth}{\useplength{firstheadwidth}}
\setplength{subjectaftervskip}{23bp}
\@setplength{subjectaftervskip}{23bp}
%\setplength{sigindent}{3em}
\setplength{sigbeforevskip}{3mm}%
\@setplength{sigindent}{3em}
\@setplength{sigbeforevskip}{-17.2mm}% ???
\setlength{\textheight}{235mm}
\setlength{\footskip}{1\baselineskip}
\setlength{\footskip}{2mm}
\setlength{\footheight}{30bp}
%\widowpenalties 2 10000 0 %
\usepackage[defaultlines=2]{nowidow}
\setnowidow% keine einzelne Zeile am Seitenbeginn (keine "Hurenkinder")
% https://tex.stackexchange.com/questions/21983/how-to-avoid-page-breaks-inside-paragraphs
\let\raggedsignature=\raggedright
\removereffields
......@@ -284,6 +288,45 @@
\newkomavar[\myfaxname]{myfax}
\newkomavar[\handledbyname]{handledby}
\newcommand*\ptb@bgTextI{}
\newcommand*\ptb@bgTextII{}
\newcommand*\bgText{%
\@ifstar{\@tempswatrue\ptb@bgText}{\@tempswafalse\ptb@bgText}%
}
\newcommand*\ptb@bgText[1]{%
\if@tempswa
\xdef\ptb@bgTextI{#1}%
\else
\xdef\ptb@bgTextII{#1}%
\fi
}
\RequirePackage{eso-pic}
\definecolor{bgTextColor}{gray}{0.9}
\AtBeginDocument{%
\ifx\ptb@bgTextI\@empty
\ifx\ptb@bgTextII\@empty\else
\AddToShipoutPictureBG{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
\rotatebox{54.7}{%
\textnormal{\textsf{\textbf{%
\color{bgTextColor}\ptb@bgTextII}}}}}}%
}%
}%
\fi
\else
\AddToShipoutPictureBG*{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
\rotatebox{54.7}{%
\textnormal{\textsf{\textbf{%
\color{bgTextColor}\ptb@bgTextI}}}}}}%
}%
}%
\fi
}
\defcaptionname{american,australian,british,canadian,%
english,newzealand,UKenglish,USenglish}\yourrefname{Your reference}%
\defcaptionname{american,australian,british,canadian,%
......@@ -328,6 +371,7 @@
,babel=true
]{microtype}
\fi
\shorthandon{"}%
}
\RequirePackage{enumitem}
\setlist{leftmargin=*,nosep,topsep=.5em,itemsep=.25em}
......
ptbposter/George.png

42.6 KiB

ptbposter/John.png

55.8 KiB

# Rolf Niepraschk, 2017/10/18, Rolf.Niepraschk@ptb.de
# Rolf Niepraschk, 2019/05/13, Rolf.Niepraschk@ptb.de
.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps
......@@ -8,15 +8,16 @@ DOC2 = ptbposter-doc-2
ARCHNAME = ptbposter-$(shell date +%Y-%m-%d).zip
ADDINPUTS = ptbposter.cls ptbposter-logo-A.mps
all : $(DOC1).pdf $(DOC2).pdf tcb-example1.pdf tcb-example2.pdf
all : $(DOC1).pdf $(DOC2).pdf
$(DOC1).pdf $(DOC2).pdf : $(ADDINPUTS)
$(DOC1).pdf $(DOC2).pdf tcb-example2.pdf : $(ADDINPUTS)
%.pdf : %.tex
pdflatex $<
tcb-example1.pdf : tcb-example1.tex
lualatex $<
#%.mps : %.eps
# purifyeps $< - | sed -e "s/0 0 0 setrgbcolor/%/g" > $@
# "purifyeps" macht aktuell Probleme # 2017-10-18
......
ptbposter/Paul.png

40.6 KiB

## ptbposter
Das Projekt enthält eine LaTeX-Dokumentenklasse und andere Komponenten zur
LaTeX-Dokumentenklasse und andere Komponenten zur
Erzeugung eines PTB-konformen Posters. Näheres siehe Dokumentation [Teil
1](ptbposter-doc-1.pdf) und [Teil 2](ptbposter-doc-2.pdf).
1](ptbposter-doc-1.pdf) und [Teil 2](ptbposter-doc-2.pdf) sowie die
Beispiele, die die Verwendung positionierbarer Boxen
[(tcolobox)](https://www.ctan.org/pkg/tcolorbox) sowie die Einbeziehung des
Grafikpakets [TikZ](https://www.ctan.org/pkg/pgf) zeigen:
[tcb-example1](tcb-example1.pdf) und [tcb-example2](tcb-example2.pdf).
Rolf Niepraschk, 2015-05-26
Rolf Niepraschk, 2025-03-13
ptbposter/Ringo.png

50.5 KiB

File added
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{ptbposter-2018.clo}%
[2022/09/20 1.0.0 PTB-Poster layout 2018 (RN)]
\typeout{*** LAYOUT 2018 ***}
\setlength\PTB@default@fontsize@base{0.0130170299199\PTB@scale@base}% 11pt (A4), 44pt (A0)
\setlength\PTB@default@author@fontsize{0.0157550946737\PTB@scale@base}% 53.3pt (A0)
\setlength\PTB@default@title@fontsize@base{0.0315101893474\PTB@scale@base}% 106.6pt (A0)
\setlength\PTB@default@foot@fontsize{0.00567538119577\PTB@scale@base}% 19.2pt (A0)
\iftutex% LuaTeX oder XeTeX
\setfontfamily\PTBdesignFont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\let\sffamily=\PTBdesignFont
\else
\let\PTBdesignFont=\sffamily
\fi
\AtEndPreamble{%
\ifx\@author\@empty
\setlength\PTB@topmargin{0.152\PTB@scale@base}%
\else
\setlength\PTB@topmargin{0.180824222418\PTB@scale@base}%
\fi
\ifPTBlandscape
\setlength\PTB@framewidth{0.950378471315\PTB@scale@base}% 3215pt (1130mm) (A0)
\ifx\@author\@empty
\setlength\PTB@frameheight{0.490824222418\PTB@scale@base}% 1660pt (584mm) (A0)
\else
\setlength\PTB@frameheight{0.462\PTB@scale@base}% 1563pt (549mm) (A0)
\fi
\else
\setlength\PTB@framewidth{0.656013458076\PTB@scale@base}% 2219pt (780mm) (A0)
\ifx\@author\@empty
\setlength\PTB@frameheight{0.769\PTB@scale@base}% 2602pt (914mm) (A0)
\else
\setlength\PTB@frameheight{0.740117747573\PTB@scale@base}% 2504pt (880mm) (A0)
\fi
\fi
}
\PTB@AddToShipoutPictureBG{% relativ zur oberen linken Ecke des Blattes
\PTB@tempdima=-0.077\PTB@scale@base
\put(\PTB@leftmargin,\PTB@tempdima){%
\parbox[b]{\PTB@framewidth}{% TODO: vereinfachen?
\parbox[b]{.401\PTB@scale@base}{%
\textcolor{PTBcolor}{% TODO: Tikz-Grafik erzeugen (autom.?) und verwenden
\includegraphics[height=.055\PTB@scale@base]{PTB-logo-A.mps}
}% 1,58365758755
\ifPTB@logo@long@
\hfill
\raisebox{.0025\PTB@scale@base}{%
%\includegraphics[width=.612\linewidth]{ptbposter-logo-B.mps}%
\resizebox{.61\linewidth}{!}{%
\hspace{-.2ex}%
\begin{varwidth}[b]{\linewidth}%
\PTBdesignFont\bfseries
Physikalisch-Technische Bundesanstalt\\
Braunschweig und Berlin\\
\mdseries
Nationales Metrologieinstitut
\end{varwidth}%
}%
}%
\fi
}%
\hfill
\ifx\PTB@logo\@empty\else
\includegraphics[height=.055\PTB@scale@base]{\PTB@logo}%
\fi
}
}%
\def\PTB@tempa{\parbox[c]{\PTB@framewidth}{% Komplette Titeldefinition
\PTB@title@justification\PTB@title@series\PTBdesignFont\titleFontSize
\microtypesetup{protrusion=false}\@title}}%
\begingroup
\@tempcnta=\@ne \@tempcntb=10499 %
\loop\ifnum\@tempcnta<25 % Finden der ersten passenden titleFontSize
\multiply\@tempcntb 10000 \divide\@tempcntb by 10500 % jeweils um 5% kleiner
\PTB@scaleTitleFontSize{0.\the\@tempcntb}% 1:0.9999, 2:0.9522, 3:0.9068, ...
%\typeout{\the\@tempcnta\space XXX: \titleFontSize, 0.\the\@tempcntb}%
\setbox\z@ \hbox{\PTB@tempa}%
\ifdim\dimexpr\ht\z@+\dp\z@>\PTB@maxtitleheight
\advance\@tempcnta\@ne % weiter, wenn zu gross
\else
\@tempcnta=999 % Abbruch
\fi
\repeat
\endgroup
\PTB@tempdima=-0.127\PTB@scale@base
\put(\PTB@leftmargin,\PTB@tempdima){\PTB@tempa}% Title
\PTB@tempdima=-0.172\PTB@scale@base
\def\and{, }%
\put(\PTB@leftmargin,\PTB@tempdima){\parbox[b]{\PTB@framewidth}{% Autoren
\PTB@authors@justification\PTBdesignFont\authorFontSize\@author}}%
% hier wird \@thanks gefüllt
\linethickness{\PTB@framethickness}\color{PTBcolor}%
\PTB@tempdima=-0.0883095039717\PTB@scale@base
\put(\PTB@leftmargin,\PTB@tempdima){%
\line(1,0){\dimexpr\paperwidth-2\PTB@leftmargin}}%
% blauer Rahmen
\put(\PTB@leftmargin,\dimexpr-\textheight-2\PTB@textvsep-\PTB@topmargin)%
{\framebox(\dimexpr\textwidth+2\PTB@texthsep,%
\dimexpr\textheight+2\PTB@textvsep){\backgroundContent}}%
}
\PTB@AddToShipoutPictureFG{% relativ zur linken unteren Ecke des Textbereichs
\PTB@AtTextLowerLeft{%
\put(-\PTB@texthsep,-\PTB@textvsep){%
\PTB@tempdimb=0.000420521447484\PTB@scale@base
\linethickness{\PTB@tempdimb}\normalcolor
\PTB@tempdima=-0.0420521447484\PTB@scale@base
\put(-.5\@wholewidth,\PTB@tempdima){%
\PTB@tempdima=0.0386879731686\PTB@scale@base
\PTB@tempdimb=0.00168208578994\PTB@scale@base
\ifx\PTB@qrcode\@empty
\color{PTBcolor}\framebox(\PTB@tempdima,\PTB@tempdima){}%
\else
\sbox\@tempboxa{\qrcode[height=\PTB@tempdima,tight]{\PTB@qrcode}}%
\raisebox{\dp\@tempboxa}{\usebox\@tempboxa}%
\fi
\color{PTBcolor}
\hspace{\PTB@tempdimb}\raisebox{-\@wholewidth}{%
\rule{\dimexpr\PTB@tempdima+2\@wholewidth}%
{\dimexpr\PTB@tempdima+2\@wholewidth}}%
\hspace{\PTB@tempdimb}\framebox(\PTB@tempdima,\PTB@tempdima){}%
}
\PTB@tempdimb=-0.00841042894969\PTB@scale@base
\footFontSize\sffamily\normalcolor
\PTB@tempdima=0.122792262665\PTB@scale@base
\put(\PTB@tempdima,\PTB@tempdimb){%
\begin{tabular}[t]{@{}l@{}}
Physikalisch-Technische Bundesanstalt \\
Braunschweig und Berlin \\[\f@baselineskip]
\ifx\first@author\@empty\else \textbf{\first@author}\\\fi
\ifx\PTB@department\@empty\else \PTB@department\\\fi
\ifx\PTB@workingGroup\@empty\else \PTB@workingGroup\\\fi
\end{tabular}%
}
\PTB@tempdima=0.263246426125\PTB@scale@base
\put(\PTB@tempdima,\PTB@tempdimb){%
\begin{tabular}[t]{@{}ll@{}}
\ifx\PTB@street\@empty\else\multicolumn{2}{@{}l@{}}{\PTB@street}\\\fi
\ifx\PTB@location\@empty\else\multicolumn{2}{@{}l@{}}{\PTB@location}\\\fi
\ifx\PTB@phone\@empty\else\ifPTB@german@ Telefon\else Phone\fi:
&\PTB@phone\\\fi
\ifx\PTB@fax\@empty\else Fax:&\PTB@fax\\\fi
\ifx\PTB@email\@empty\else\ifPTB@german@ E-Mail\else E-mail\fi:
&\href{mailto:\PTB@email}{\PTB@email}\\\fi
\multicolumn{2}{@{}l@{}}{\href{http://www.ptb.de/}{www.ptb.de}}
\end{tabular}%
}
\PTB@tempdima=0.378469302736\PTB@scale@base
\put(\PTB@tempdima,\PTB@tempdimb){%
\begin{tabular}[t]{@{}l@{}}
\@thanks % wurde bei der Ausführung von \@author gefüllt.
\end{tabular}%
}
}
}
}
\endinput