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
Commits on Source (258)
Showing
with 110 additions and 76 deletions
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
\listfiles \listfiles
\NeedsTeXFormat{LaTeX2e}[1999/12/01] \NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{vl-addressLabels} \ProvidesClass{vl-addressLabels}
[2018/07/13 v0.1h Dokumentenklasse (RN/PTB)] [2020/09/16 v0.1i Dokumentenklasse (RN/PTB)]
\newcommand*\vl@lang{english} \newcommand*\vl@lang{english}
...@@ -149,15 +149,8 @@ ...@@ -149,15 +149,8 @@
\newcommand*\vlReturn{% \newcommand*\vlReturn{%
\parbox[t]{\paperwidth}{% \parbox[t]{\paperwidth}{%
\ifx\vl@handledby\@empty AG~7.54\else\vl@handledby\fi\par
\iffalse
\IfLanguageName{ngerman}{%
Leiter der Arbeitsgruppe für Vakuummetrologie
}{%
Head of Section Vacuum Metrology
}\par
\fi
Physikalisch-Technische Bundesanstalt \par Physikalisch-Technische Bundesanstalt \par
\ifx\vl@handledby\@empty AG~7.54\else\vl@handledby\fi\par
Abbestraße 2--12 \par Abbestraße 2--12 \par
10587 Berlin \par 10587 Berlin \par
\settowidth\@tempdimd{Telefon:}% \settowidth\@tempdimd{Telefon:}%
......
Die Dokumentenklasse `ptb-confirm` wird in 7.54 nicht mehr für Antragsbestätigungen genutzt, stattdessen normale PTB-Briefe (`ptbletter`).
RN, 2023-04-18
No preview for this file type
No preview for this file type
...@@ -22,8 +22,7 @@ ...@@ -22,8 +22,7 @@
\Town{Eastbourne, East Sussex} \Town{Eastbourne, East Sussex}
\Land{United Kingdom} \Land{United Kingdom}
\Device{CDG 1\,Torr XXX YYY ZZZ XXX YYY ZZZ XXX YYY ZZZ XXX YYY ZZZ XXX YYY ZZZ \Device{ {CDG 1\,Torr} {XXX} {YYY} }
XXX YYY ZZZ XXX YYY ZZZ XXX YYY ZZZ }
\Condition{Moonlight} \Condition{Moonlight}
\ScheduleDate{2015-07-13} \ScheduleDate{2015-07-13}
\Duration{17} \Duration{17}
......
...@@ -8,11 +8,9 @@ Aufgrund Ihres Antrags vom \usekomavar{yourmail} führt die PTB folgende ...@@ -8,11 +8,9 @@ Aufgrund Ihres Antrags vom \usekomavar{yourmail} führt die PTB folgende
Kalibrierung durch: Kalibrierung durch:
\def\do#1{% \def\do#1{%
\edef\vl@tempa{\trim@spaces@noexp{#1}}% \edef\vl@tempa{\trim@spaces@noexp{#1}}%
\typeout{*************** \vl@tempa}%
\def\z{\def\z{\,\textbullet\,}}% \def\z{\def\z{\,\textbullet\,}}%
\expandafter\@tfor\expandafter\vl@tempb\expandafter \expandafter\@tfor\expandafter\vl@tempb\expandafter
:\expandafter=\vl@tempa\do{% :\expandafter=\vl@tempa\do{%
\typeout{+++++++++++++++ \vl@tempb}%
\z\vl@tempb \z\vl@tempb
} }
\par\smallskip \par\smallskip
......
...@@ -8,11 +8,9 @@ According to your order of \usekomavar{yourmail}, PTB will carry out the ...@@ -8,11 +8,9 @@ According to your order of \usekomavar{yourmail}, PTB will carry out the
following calibration: following calibration:
\def\do#1{% \def\do#1{%
\edef\vl@tempa{\trim@spaces@noexp{#1}}% \edef\vl@tempa{\trim@spaces@noexp{#1}}%
\typeout{*************** \vl@tempa}%
\def\z{\def\z{\,\textbullet\,}}% \def\z{\def\z{\,\textbullet\,}}%
\expandafter\@tfor\expandafter\vl@tempb\expandafter \expandafter\@tfor\expandafter\vl@tempb\expandafter
:\expandafter=\vl@tempa\do{% :\expandafter=\vl@tempa\do{%
\typeout{+++++++++++++++ \vl@tempb}%
\z\vl@tempb \z\vl@tempb
} }
\par\smallskip \par\smallskip
...@@ -34,7 +32,9 @@ Total calibration fee: & \vl@Fee \\ ...@@ -34,7 +32,9 @@ Total calibration fee: & \vl@Fee \\
\closing{\MFg} \closing{\MFg}
\noindent per procura \par\medskip\noindent\usekomavar{handledby} %\noindent per procura
\noindent on behalf of PTB
\par\medskip\noindent\usekomavar{handledby}
\makeatother \makeatother
......
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
\newcommand*\vl@Duration{?} \newcommand*\vl@Duration{?}
\newtoks\vl@devTabLines \newtoks\vl@devTabLines
\RequirePackage{hyperref}
\AtBeginDocument{% \AtBeginDocument{%
\ifnum\number\vl@missingEntries>0 % \ifnum\number\vl@missingEntries>0 %
\AddToShipoutPictureBG{% \AddToShipoutPictureBG{%
...@@ -78,7 +79,6 @@ ...@@ -78,7 +79,6 @@
\def\do#1{% \def\do#1{%
\vl@devTabLines\expandafter{\the\vl@devTabLines & #1\\}% \vl@devTabLines\expandafter{\the\vl@devTabLines & #1\\}%
} }
\RequirePackage{hyperref}
\begin{letter}{% \begin{letter}{%
%\vl@Company \\ %\vl@Company \\
\mbox{}% \mbox{}%
...@@ -88,15 +88,15 @@ ...@@ -88,15 +88,15 @@
\vl@Zipcode\ \vl@Town \vl@Zipcode\ \vl@Town
\ifx\vl@Land\@empty\else ~\smallskip \\ \textls[75]{\MakeUppercase{\vl@Land}} \fi \ifx\vl@Land\@empty\else ~\smallskip \\ \textls[75]{\MakeUppercase{\vl@Land}} \fi
} }
\IfLanguageName{ngerman}{% \IfLanguageName{ngerman}{%
%\sisetup{locale=DE} %\sisetup{locale=DE}
\subject{Antragsbestätigung~\usekomavar{myref}}% \subject{Antragsbestätigung~\usekomavar{myref}}%
\input{ptb-confirm-de.lco}% \input{ptb-confirm-de.lco}%
}{% }{%
%\sisetup{locale=UK} %\sisetup{locale=UK}
\subject{Confirmation of Order~\usekomavar{myref}}% \subject{Confirmation of Order~\usekomavar{myref}}%
\input{ptb-confirm-en.lco}% \input{ptb-confirm-en.lco}%
}% }%
\end{letter} \end{letter}
}% }%
......
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de % Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{vl-aa-new-engines.clo}[2018/05/15 v0.1a AA -- new engines (RN)] \ProvidesFile{vl-aa-new-engines.clo}[2020/06/11 v0.1b AA -- new engines (RN)]
\RequirePackage[no-math]{fontspec} \RequirePackage[no-math]{fontspec}
\RequirePackage{unicode-math} \RequirePackage{unicode-math}
\setromanfont[Ligatures=TeX]{TeX Gyre Pagella} \setmainfont{Latin Modern Roman}[Ligatures=TeX]
\setsansfont[Ligatures=TeX]{TeX Gyre Heros} \setsansfont{Latin Modern Sans}[Ligatures=TeX]
\setmonofont{AnonymousPro-Regular}[% \setmonofont{AnonymousPro-Regular}[%
Extension = .ttf, Extension = .ttf,
BoldFont = AnonymousPro-Bold, BoldFont = AnonymousPro-Bold,
ItalicFont = AnonymousPro-Italic, ItalicFont = AnonymousPro-Italic,
BoldItalicFont = AnonymousPro-BoldItalic, BoldItalicFont = AnonymousPro-BoldItalic,
Scale = MatchLowercase Scale = .88
] ]
\setmathfont{Latin Modern Math}[math-style=ISO,bold-style=ISO]
\setmathfont[math-style=ISO,bold-style=ISO]{TeXGyrePagellaMath-Regular}
%%%{TeX Gyre Pagella Math}
\endinput \endinput
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de % Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{vl-aa-old-engines.clo}[2018/05/15 v0.1a AA -- old engines (RN)] \ProvidesFile{vl-aa-old-engines.clo}[2020/06/20 v0.1b AA -- old engines (RN)]
\RequirePackage[utf8]{inputenc} \RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc} \RequirePackage[T1]{fontenc}
\RequirePackage{textcomp} \RequirePackage{textcomp}
\RequirePackage{tgpagella,qpxmath} %\RequirePackage{tgpagella,qpxmath}
\RequirePackage{tgheros} %\RequirePackage{tgheros}
\RequirePackage{lmodern}
\RequirePackage[ttdefault=true,scale=1.034]{AnonymousPro} \RequirePackage[ttdefault=true,scale=1.034]{AnonymousPro}
\endinput \endinput
\NeedsTeXFormat{LaTeX2e}[1999/12/01] \NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{vl-arbeitsanweisung} \ProvidesClass{vl-arbeitsanweisung}
[2018/05/15 v1.0a Dokumentenklasse (RN/PTB)] [2020/09/11 v1.0b Dokumentenklasse (RN/PTB)]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax \ProcessOptions\relax
\PassOptionsToPackage{headinclude,usegeometry}{typearea} \PassOptionsToPackage{headinclude,usegeometry}{typearea}
...@@ -197,8 +197,9 @@ footskip=85bp, ...@@ -197,8 +197,9 @@ footskip=85bp,
% Kompaktere Listen % Kompaktere Listen
\RequirePackage{enumitem} \RequirePackage{enumitem}
\setlist{leftmargin=*} \setlist{noitemsep}
\setlist[1]{labelindent=1em} %\setlist{leftmargin=*}
%\setlist[1]{labelindent=1em}
\renewcommand{\floatpagefraction}{.9} \renewcommand{\floatpagefraction}{.9}
\renewcommand{\textfraction}{.1} \renewcommand{\textfraction}{.1}
...@@ -210,7 +211,7 @@ footskip=85bp, ...@@ -210,7 +211,7 @@ footskip=85bp,
\renewcommand{\dbltopfraction}{.8} \renewcommand{\dbltopfraction}{.8}
\renewcommand{\dblfloatpagefraction}{.6} \renewcommand{\dblfloatpagefraction}{.6}
% Einzelne Abbildungen nicht auf dem leeren Blatt zentrieren. % Einzelne Abbildungen nicht auf dem leeren Blatt zentrieren.
\@fptop=0pt % \AtBeginDocument{\@fptop=0pt} % verzögert wegen Paket `rotating'
% TODO: nach siunitx-PTB.sty ??? % TODO: nach siunitx-PTB.sty ???
\sisetup{% Formatierung von Maßzahlen (z.B. Spaltentyp "S" in Tabellen) \sisetup{% Formatierung von Maßzahlen (z.B. Spaltentyp "S" in Tabellen)
...@@ -264,6 +265,44 @@ footskip=85bp, ...@@ -264,6 +265,44 @@ footskip=85bp,
\renewcommand*\marginfont{\normalfont\normalsize\itshape\color{red}} \renewcommand*\marginfont{\normalfont\normalsize\itshape\color{red}}
\RequirePackage[final]{listings}
\RequirePackage{lstautogobble}
\newcommand*\ptb@lstfont{\small\ttfamily}
\lstset{
,language={}
,basicstyle=\ptb@lstfont
,numbers=none
,backgroundcolor={}
,tabsize=2
,basicstyle=\ptb@lstfont
%,identifierstyle=\bfseries\ptb@lstfont
,keywordstyle=\bfseries\ptb@lstfont
,stringstyle=\ptb@lstfont
,commentstyle=\itshape\ptb@lstfont
,basewidth=0.55em
,keepspaces
,numbers=none
,frame=single
,framesep=\fboxsep
,aboveskip=\medskipamount
,belowskip=1pt plus .5pt minus .5pt %
,xleftmargin=\fboxsep
,xrightmargin=\fboxsep
,columns=fullflexible
%,extendedchars=true
,showspaces=false
,showstringspaces=false
,breaklines=true
,breakindent=0.5em
,breakautoindent=true
,breakatwhitespace=false % ???
,captionpos=t
,postbreak=\mbox{$\hookrightarrow$}
,autogobble=true
}
\emergencystretch=3em % \emergencystretch=3em %
\raggedbottom \raggedbottom
......
\ProvidesFile{ptb-declaration-de.clo}[2018/11/08 v0.1b (ptb-declaration, german)] \ProvidesFile{ptb-declaration-de.clo}[2021/09/14 v0.1c (ptb-declaration, german)]
\mbox{} \mbox{}
\vspace{-1.5cm} \vspace{-1.5cm}
...@@ -42,35 +42,30 @@ Testlecks (inklusive Vakuumbauteile) ...@@ -42,35 +42,30 @@ Testlecks (inklusive Vakuumbauteile)
entgegenstehen könnten. entgegenstehen könnten.
\end{itemize} \end{itemize}
Die Organisation des Rücktransportes erfolgt durch die Physikalisch"=Technische \bigskip
Bundesanstalt.
Wir wünschen eine Versicherung des Rücktransportes:% \fbox{%
\qquad Ja~\checkBox{}\qquad Nein~\checkBox{} \begin{tabular}{ll}
\textbf{Rücktransport:} \\[1ex]
Wir wünschen eine Versicherung des Rücktransportes: &
\qquad Ja~\checkBox{}\qquad Nein~\checkBox{} \\[1ex]
Warenwert bzw.\ gewünschte Versicherungssumme:
\end{tabular}
}
Die Kosten für Transport, Zollabfertigung, Verpackungsmaterial und Versicherung trägt der Die Kosten für Transport, Zollabfertigung, Verpackungsmaterial und Versicherung
Auftraggeber. trägt der Auftraggeber.
\textbf{Rücksendung an:} \textbf{Rücksendeadresse:}
\vfill \vfill
\begin{tabularx}{\textwidth}{@{}C{.3\textwidth}C{.35\textwidth}Y@{}} \begin{tabularx}{\textwidth}{@{}C{.25\textwidth}C{.35\textwidth}Y@{}}
& \hrulefill \\
& Institution\,/\,Firma \\[2.5em]
\hrulefill & \hrulefill & \hrulefill \\ \hrulefill & \hrulefill & \hrulefill \\
Ort, Datum & Auftragsnummer & rechtsverbindliche Unterschrift und Stempel Ort, Datum & Auftragsnummer des Kunden &
Institution\,/\,Firma und rechtsverbindliche Unterschrift
\end{tabularx} \end{tabularx}
\vspace{0mm} \vspace{0mm}
\endinput \endinput
\begin{tabularx}{\textwidth}{@{}C{.15\textwidth}C{.15\textwidth}YY@{}}
\multicolumn{2}{@{}c}{\hrulefill} \\
\multicolumn{2}{@{}c}{Institution\,/\,Firma} \\[1.6em]
\hrulefill & \hrulefill & \hrulefill & \hrulefill \\
Ort & Datum & Firmenstempel & rechtsverbindliche Unterschrift/en
\end{tabularx}
\vspace{3mm}
...@@ -42,10 +42,16 @@ ...@@ -42,10 +42,16 @@
calibration. calibration.
\end{itemize} \end{itemize}
Return transport will be organized by PTB. \bigskip
We wish an insurance of the return transport:% \fbox{%
\qquad yes~\checkBox{}\qquad no~\checkBox{} \begin{tabular}{@{}ll@{}}
\textbf{Return transport:} \\[1ex]
We wish an insurance of the return transport: &
\qquad Yes~\checkBox{}\qquad No~\checkBox{} \\[1ex]
Indication of value or desired sum insured:
\end{tabular}
}
Any costs related to transport, customs clearance, packing material and insurance must be paid by PTB’s Any costs related to transport, customs clearance, packing material and insurance must be paid by PTB’s
customer. customer.
...@@ -54,13 +60,15 @@ customer. ...@@ -54,13 +60,15 @@ customer.
\vfill \vfill
\begin{tabularx}{\textwidth}{@{}C{.3\textwidth}C{.35\textwidth}Y@{}} \begin{tabularx}{\textwidth}{@{}C{.25\textwidth}C{.35\textwidth}Y@{}}
& \hrulefill \\ \hrulefill & \hrulefill & \hrulefill \\
& institution\,/\,company \\[2.5em] place, date & purchase order number of the customer &
\hrulefill & \hrulefill & \hrulefill \\ \parbox[t]{\linewidth}{\centering institution\,/\,company and \\
place, date & purchase order number & legally binding signature and stamp legally binding signature}
\end{tabularx} \end{tabularx}
\vspace{0mm}
\endinput \endinput
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
\NeedsTeXFormat{LaTeX2e}[1999/12/01] \NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ptp-declaration} \ProvidesClass{ptp-declaration}
[2016/10/17 v0.1b PTB-Klasse (RN)] [2021/06/14 v0.1c PTB-Klasse (RN)]
\newcommand*\vl@lang{main=ngerman} \newcommand*\vl@lang{main=ngerman}
......
No preview for this file type