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 4016 additions and 455 deletions
arbeitsanweisung/Kalibriereinrichtung.png

656 KiB

## Arbeitsanweisung
Das Projekt enthält eine LaTeX-Dokumentenklasse (`vl-arbeitsanweisung.cls`) zur
Erzeugung eines einer Arbeitsanweisung.
### Testdatei
* `7.5-AA-DIR.tex`. Beispieldokument für die Arbeitsanweisung.
%%
%% This is file ltablex.sty (v1.0, November 1995)
%%
%%
%% Author: Anil K. Goel (akgoel@uwaterloo.ca)
%%
%% Patches to solves the caption issues:
%% Rolf Niepraschk, Rolf.Niepraschk@gmx.de, 2014-08-11
%%
%%
%% Copyright (C) QNX Software Systems Ltd. 1995
%% All rights reserved.
%% Please send any comments/suggetions to: latex@qnx.com
%%
%% This system is distributed in the hope that it will be useful
%% to others, but WITHOUT ANY WARRANTY; without even the implied
%% warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
%%
%%
%% The file modifies the tabularx environment to
%% combine the features of the tabularx package
%% (auto-sized columns in a fixed width table)
%% with those of the longtable package
%% (multi-page tables).
%%
%% The tables are typeset using the tabularx environment
%% and the longtable environment is used internally to
%% handle multi-page tables. The \setlongtables feature
%% is used, and, therefore, the document should be
%% run through latex twice.
%%
%% Another feature that has been added is to treat the X
%% columns like 'l' columns if the table contents would allow
%% that to happen without exceeding the specified width of
%% the table. In other words, the specified width is
%% treated as the maximum allowed and not the exact width
%% of the table. This feature is the default but can be
%% disabled (or enabled) with \keepXColumns (or \convertXColumns).
%%
%% Caveats:
%% . The document needs to be latexed a couple times in general.
%% . In general, it is necessary to remove the .aux file before
%% the first latex run on the document.
%% . The table should not be larger than TeX's memory capacity
%%
%%
%% Here is a a simple usage example:
%%
%%
%% \documentclass{article}
%%
%% \usepackage{ltablex}
%%
%% \textheight=4in
%%
%% \begin{document}
%%
%% % we want a table that is \textwidth long, has 4 columns, columns 1
%% % and 3 are auto sized with the 3rd columns being 3 times wider than
%% % the first column.
%% %
%%
%%
%% \begin{tabularx}{\linewidth}%
%% {|>{\setlength{\hsize}{.5\hsize}\raggedright\arraybackslash}X| % col 1; auto-sized ragged right
%% c| % col 2; default centered
%% >{\setlength{\hsize}{1.5\hsize}\raggedleft\arraybackslash}X|% col 3; auto-sized ragged left
%% l|} % col 4; default left-justified
%%
%% \caption*{The Table Caption}\\
%% \hline
%% F-Head1 & F-Head2 & F-Head3 & F-Head4\\
%% \hline
%% \hline
%% \endfirsthead
%% \hline
%% Head1 & Head2 & Head3 & Head4\\
%% \hline
%% \hline
%% \endhead
%%
%% \hline
%% \hline
%% Foot1 & Foot2 & Foot3 & Foot4\\
%% \hline
%% \endfoot
%%
%%
%% \hline
%% \hline
%% L-Foot1 & L-Foot2 & L-Foot3 & L-Foot4\\
%% \hline
%% \endlastfoot
%%
%% This is a very long sentence not likely to fit&
%% not too long&
%% This is another very long sentence not likely to fit&
%% not long\\
%%
%% \hline
%% filler & filler & filler & filler\\
%%
%% \hline
%% This is a very long sentence not likely to fit&
%% not too long&
%% This is another very long sentence not likely to fit&
%% not long\\
%%
%% \hline
%% This is a very long sentence not likely to fit&
%% not too long&
%% This is another very long sentence not likely to fit&
%% not long\\
%%
%% \hline
%% This is a very long sentence not likely to fit&
%% not too long&
%% This is another very long sentence not likely to fit&
%% not long\\
%%
%% \end{tabularx}
%%
%% \begin{tabularx}{\linewidth}{|c|X|c|}
%% \hline
%% a &convert X to l & b\\
%% \hline
%% \end{tabularx}
%%
%% \keepXColumns
%% \begin{tabularx}{\linewidth}{|c|X|c|}
%% \hline
%% a &retain X & b\\
%% \hline
%% \end{tabularx}
%%
%% \convertXColumns
%% \begin{tabularx}{\linewidth}{|c|X|c|}
%% \hline
%% a &convert X to l & b\\
%% \hline
%% \end{tabularx}
%%
%%
%% \end{document}
\NeedsTeXFormat{LaTeX2e}
%\ProvidesPackage{ltablex}[1995/11/06 v1.0 Modified tabularx]
\ProvidesPackage{ltablex2}[2014/08/11 v1.1 Modified tabularx]
\RequirePackage{longtable}[1994/12/08]
\RequirePackage{tabularx}[1994/02/03]
\newif\ifTX@convertX@
\TX@convertX@true
\newcommand\keepXColumns{
\TX@convertX@false
}
\newcommand\convertXColumns{
\TX@convertX@true
}
\def\TX@c@p{% RN, 2014-08-11
\@ifnextchar[\TX@c@@p{\TX@c@@p[]}%
}
\def\TX@c@@p[#1]#2{\\}% RN, 2014-08-11
\renewcommand\TX@endtabularx{%
\expandafter\TX@newcol\expandafter{\tabularxcolumn{\TX@col@width}}%
\let\verb\TX@verb
\def\@elt##1{\global\value{##1}\the\value{##1}\relax}%
\edef\TX@ckpt{\cl@@ckpt}%
\let\@elt\relax
\TX@old@table=\maxdimen
\TX@col@width=\TX@target
\global\TX@cols=\@ne
\TX@typeout@
{\@spaces Table Width\@spaces Column Width\@spaces X Columns}%
%
% define \endhead, etc. to be \\ so that in this part
% of the process they are just rows
%
\let\savecaption\caption
\def\caption{% RN, 2014-08-11
\@ifstar\TX@c@p\TX@c@p
}
\let\saveendhead\endhead
\def\endhead{\\}
\let\saveendfirsthead\endfirsthead
\def\endfirsthead{\\}
\let\saveendfoot\endfoot
\def\endfoot{\\}
\let\saveendlastfoot\endlastfoot
\def\endlastfoot{\\}
%
%
\ifTX@convertX@
\TX@trial{\def\NC@rewrite@X{\NC@find l}}
\ifdim\wd\@tempboxa<\TX@target
\TX@newcol{l}
\else
\TX@convertX@false
\fi
\fi
\ifTX@convertX@
\relax
\else
\TX@trial{\def\NC@rewrite@X{%
\global\advance\TX@cols\@ne\NC@find p{\TX@col@width}}}%
\loop
\TX@arith
\ifTX@
\TX@trial{}%
\repeat
\fi
{\let\@footnotetext\TX@ftntext\let\@xfootnotenext\TX@xftntext
% we may as well set \LTchunksize to be \maxdimen as the whole
% thing is already in memory anyway so we may as well do it in one
% chunk. if it is too big for one chunk we are already dead..
\LTchunksize\maxdimen
%
% restore \endhead, etc.
%
\let\caption\savecaption
\let\endhead\saveendhead
\let\endfirsthead\saveendfirsthead
\let\endfoot\saveendfoot
\let\endlastfoot\saveendlastfoot
%
\expandafter\longtable
\the\toks@
\endlongtable
}%
\global\TX@ftn\expandafter{\expandafter}\the\TX@ftn
\ifnum0=`{\fi}%
\end{tabularx}
}
%
% activate column width reading from the .aux file
%
\setlongtables
\endinput
\usepackage{etoolbox}% http://ctan.org/pkg/etoolbox
\makeatletter
\patchcmd{\TX@endtabularx}% <cmd>
{\def\caption}% <search>
{\def\caption{\caption@withoptargs\TX@caption}%
\def\TX@caption##1##2}% <replace>
{}{}% <success><failure>
\makeatother
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{vl-aa-new-engines.clo}[2020/06/11 v0.1b AA -- new engines (RN)]
\RequirePackage[no-math]{fontspec}
\RequirePackage{unicode-math}
\setmainfont{Latin Modern Roman}[Ligatures=TeX]
\setsansfont{Latin Modern Sans}[Ligatures=TeX]
\setmonofont{AnonymousPro-Regular}[%
Extension = .ttf,
BoldFont = AnonymousPro-Bold,
ItalicFont = AnonymousPro-Italic,
BoldItalicFont = AnonymousPro-BoldItalic,
Scale = .88
]
\setmathfont{Latin Modern Math}[math-style=ISO,bold-style=ISO]
\endinput
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{vl-aa-old-engines.clo}[2020/06/20 v0.1b AA -- old engines (RN)]
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
%\RequirePackage{tgpagella,qpxmath}
%\RequirePackage{tgheros}
\RequirePackage{lmodern}
\RequirePackage[ttdefault=true,scale=1.034]{AnonymousPro}
\endinput
\setcounter{errorcontextlines}{100}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{vl-arbeitsanweisung}
[2014/08/08 v0.1d Dokumentenklasse (RN/PTB)]
[2020/09/11 v1.0b Dokumentenklasse (RN/PTB)]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
\PassOptionsToPackage{paper=a4,pagesize,twoside,headinclude}{typearea}
\PassOptionsToPackage{headinclude,usegeometry}{typearea}
\LoadClass[%
,twoside
,fontsize=12pt% ???
,headings=normal
,headings=small
,toc=bibliographynumbered
,captions=oneline
,captions=tableheading
%,origlongtable
]{scrartcl}
\RequirePackage{babel}
\RequirePackage[%
paper=a4paper,
headheight=16mm,
marginparsep=2mm,
marginparwidth=12mm,
inner=22mm,
%right=16mm,
textwidth=172mm,% 172+22+16=210
textheight=228mm,
top=20bp,
headsep=10mm,
footskip=85bp,
]{geometry}
%\setlength{\footheight}{18.5pt}
\setlength\footheight{50.35002pt}
\renewcommand*\maketitle[1][1]{%
\begingroup
\centering \noindent\usekomafont{title}
\Large \@title \par \bigskip\medskip
\endgroup
}
\RequirePackage[main=ngerman,english]{babel}
\RequirePackage{zref-totpages,ifxetex,ifluatex,grffile,picture}
\RequirePackage{tabularx}
\let\ptb@endtabularx=\TX@endtabularx
\RequirePackage{amsmath,threeparttable,tabto,ltablex2}
\RequirePackage{pdflscape,picture,trimspaces,url,varwidth,placeins}
\RequirePackage{zref-totpages,graphicx,booktabs,array,pdfpages}
\RequirePackage{longtable,siunitx,ragged2e,ifxetex,ifluatex,relsize}
\RequirePackage[manualmark]{scrpage2}
\RequirePackage{graphicx}
%%%\let\ptb@endtabularx=\TX@endtabularx
\RequirePackage{xltabular}
\RequirePackage{amsmath,threeparttable,tabto}
\RequirePackage{pdflscape,trimspaces,url,varwidth,placeins}
\RequirePackage{booktabs,array}
\RequirePackage[final]{pdfpages}
\RequirePackage{longtable,siunitx,ragged2e,relsize}
\RequirePackage{siunitx-PTB}
\let\ptb@tempdima=\@clnwd
\let\ptb@tempdimb=\@clnht
......@@ -38,12 +65,6 @@
\newcommand*\ptb@Date{}
\newcommand*\ptb@tempa{0}
\newcommand*\Devision[1]{\xdef\ptb@Devision{\trim@spaces{#1}}}
\newcommand*\Department[1]{\xdef\ptb@Department{\trim@spaces{#1}}}
\newcommand*\WorkingGroup[1]{\xdef\ptb@WorkingGroup{\trim@spaces{#1}}}
\newcommand*\Object[1]{\xdef\ptb@Object{\trim@spaces{#1}}}
\newcommand*\Edition[1]{\xdef\ptb@Edition{\trim@spaces{#1}}}
\ifxetex
\def\ptb@tempa{1}%
\else
......@@ -53,19 +74,9 @@
\fi
\ifcase\ptb@tempa % pdfTeX
\RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
\RequirePackage{textcomp}
\RequirePackage{lmodern}
\RequirePackage{tgpagella,qpxmath}
%\RequirePackage{mathpazo}
\RequirePackage{tgheros}
\or % Unicode (XeTeX oder luaTeX)
\RequirePackage{fontspec,unicode-math}
\setmainfont[Ligatures=TeX]{TeX Gyre Pagella}
\setsansfont[Ligatures=TeX]{TeX Gyre Heros}
\setmonofont[Scale=MatchLowercase]{Latin Modern Mono}
\setmathfont{TeX Gyre Pagella Math}
\input{vl-aa-old-engines.clo}
\or % XeTeX oder luaTeX
\input{vl-aa-new-engines.clo}
\fi
\RequirePackage[
......@@ -79,70 +90,15 @@
\MakeAutoQuote{»}{«}% Alt Gr + y / Alt Gr + x
\MakeAutoQuote{}{}% Alt Gr + v / Alt Gr + b
\newcommand*\ptb@rulewidth{.4mm}
\newcolumntype{C}{>{\centering}X}
\newcommand*\ptb@f@@t{%
\begingroup
\let\TX@endtabularx=\ptb@endtabularx
\normalfont\sffamily\tiny\extrarowheight=.3\baselineskip
\arrayrulewidth=\ptb@rulewidth \extratabsurround=0pt %
\renewcommand*\tabularxcolumn[1]{m{##1}}%
\begin{tabularx}{\textwidth}[t]{@{}|C|C|C|C|C|@{}} \firsthline
Erstellt: \\
Abteilung~\ptb@Devision, Fachbereich~\ptb@Department
&
Ausgabe-Nr.: \\ \ptb@Edition
&
Datum: \\ \ptb@Date
&
Kurzbezeichnung: \\ \ptb@Ident
&
Seite von Seiten \\ \thepage~von \ztotpages
\tabularnewline \lasthline
\end{tabularx}%
\endgroup
}
\newcommand*\ptb@VWD[1]{%
\begin{varwidth}{\linewidth}\centering #1\end{varwidth}}
\newcommand*\ptb@firstf@@t{%
\begingroup
\let\TX@endtabularx=\ptb@endtabularx
\normalfont\sffamily\tiny\extrarowheight=.3\baselineskip
\arrayrulewidth=\ptb@rulewidth \extratabsurround=0pt %
\renewcommand\tabularxcolumn[1]{m{##1}}%
\begin{tabularx}{\textwidth}{@{}|C|C|C|c|c|c|@{}} \firsthline
Erstellt: \\
Abteilung~\ptb@Devision, Fachbereich~\ptb@Department \\
AG~\ptb@WorkingGroup
&
Geprüft: \\ Leiter~\ptb@Department \\~
&
Genehmigt: \\ QMV-\ptb@Devision \\~
&
\ptb@VWD{Ausgabe-Nr.: \\ \ptb@Edition\\~}
&
\ptb@VWD{Kurzbezeichnung: \\ \ptb@Ident\\~}
&
\ptb@VWD{Seite von Seiten \\ \thepage~von \ztotpages\\~}
\tabularnewline
&&&&& \tabularnewline
&&&&& \tabularnewline
\newcommand*\Devision[1]{\xdef\ptb@Devision{\trim@spaces{#1}}}
\newcommand*\Department[1]{\xdef\ptb@Department{\trim@spaces{#1}}}
\newcommand*\WorkingGroup[1]{\xdef\ptb@WorkingGroup{\trim@spaces{#1}}}
\newcommand*\Object[1]{\xdef\ptb@Object{\trim@spaces{#1}}}
\newcommand*\Edition[1]{\xdef\ptb@Edition{\trim@spaces{#1}}}
am:~\dotfill
&
am:~\dotfill
&
am:~\dotfill
&
&& \tabularnewline \lasthline
\end{tabularx}%
\endgroup
}
\addtokomafont{caption}{\small}
\addtokomafont{captionlabel}{\bfseries\sffamily}
\setcapindent{1em}
\AtBeginDocument{%
\edef\ptb@Ident{\ptb@Department-AA-\ptb@Object}%
......@@ -150,73 +106,100 @@
\date{}%
}
\newcommand*\ptb@foot{%
\ifnum\c@page=\@ne\ptb@firstf@@t\else\ptb@f@@t\fi
\newcommand*\ptb@rulewidth{.4mm}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\newcolumntype{R}{>{\RaggedRight\arraybackslash}X}
\newcommand\varbox[2][\linewidth]{%
\begin{varwidth}{#1}\nointerlineskip\strut#2\strut\end{varwidth}\strut}
\newcommand\varboxC[2][\linewidth]{\varbox[#1]{\Centering#2}}
\newcommand*\ptb@head@even{%
\begin{picture}(0,0)
\linethickness{\ptb@rulewidth}%
\put(0,-2.5mm){\line(1,0){\textwidth}}%
\end{picture}
\normalfont\sffamily\bfseries\large
PTB\hfill Qualit\"atsmanagement-Arbeitsanweisung\hfill\ptb@Ident
}
\newcommand*\ptb@head{%
\newcommand*\ptb@head@odd{%
\begin{picture}(0,0)
\linethickness{\ptb@rulewidth}%
\put(0,-2.5mm){\line(1,0){\textwidth}}%
\end{picture}
\normalfont\sffamily\bfseries\large
PTB\hfill Qualit\"atsmanagement-Arbeitsanweisung\hfill\ptb@Ident{}
\ptb@Ident \hfill Qualit\"atsmanagement-Arbeitsanweisung \hfill PTB
}
\defpagestyle{headings}%
{% Kopf
%(OLL,OLD)% Linie
{\ptb@head}% Gerade Seiten
{\ptb@head}% Ungerade Seiten
{% Einseitig
}
%(\textwidth,.8pt)% Linie
}%
{% Fuss
%(OLL,OLD)% Linie
{\ptb@foot}% Gerade Seiten
{\ptb@foot}% Ungerade Seiten
{% Einseitig
\newcommand*\ptb@first@foot{%
\raisebox{-20bp}[0pt][0pt]{%
\begingroup
\normalfont\sffamily\tiny\extrarowheight=.3\baselineskip
\arrayrulewidth=\ptb@rulewidth \extratabsurround=0pt %
\tabcolsep=.3em %
\ptb@tempdima=\dimexpr\textwidth-12\tabcolsep-7\arrayrulewidth
\newcolumntype{P}[1]{>{\centering}p{##1\ptb@tempdima}}%
\begin{tabular}[b]{@{}|P{.23}|P{.23}|P{.23}|P{.09}|P{.11}|P{.11}|@{}}%
\firsthline
Erstellt: \\ Abteilung~\ptb@Devision, Fachbereich~\ptb@Department \\
AG~\ptb@WorkingGroup &
Geprüft:\\ Leiter~\ptb@Department \\~ &
Genehmigt:\\ QMV-\ptb@Devision \\~ &
Ausgabe-Nr.:\\ \ptb@Edition\\~ &
Kurzbezeichnung:\\ \ptb@Ident\\~ &
Seite von Seiten \\ \thepage~von \ztotpages\\~ \tabularnewline
&&&&& \tabularnewline
&&&&& \tabularnewline
am:~\dotfill &
am:~\dotfill &
am:~\dotfill & & & \tabularnewline[.5ex] \lasthline
\end{tabular}%
\endgroup
}
%(\textwidth,2mm)% Linie
}
\RequirePackage[%
headheight=16mm,
marginparwidth=5mm,
left=22mm,
right=16mm,
textheight=225mm,
top=35mm,
headsep=14mm,
footskip=15mm,
]{geometry}
\renewcommand*\maketitle[1][1]{%
\newcommand*\ptb@foot@even{%
\begingroup
\centering \noindent\usekomafont{title}
\Large \@title \par \bigskip\medskip
\arrayrulewidth=\ptb@rulewidth \extratabsurround=0pt %
\ptb@tempdima=0.2\dimexpr\textwidth-10\tabcolsep-6\arrayrulewidth
\newcolumntype{M}{>{\centering}m{\ptb@tempdima}}
\normalfont\sffamily\tiny\extrarowheight=.3\baselineskip
\begin{tabular}[b]{@{}|M|M|M|M|M|@{}} \firsthline
Erstellt: \\ Abteilung~\ptb@Devision, Fachbereich~\ptb@Department &
Ausgabe-Nr.: \\ \ptb@Edition &
Datum: \\ \ptb@Date &
Kurzbezeichnung: \\ \ptb@Ident &
Seite von Seiten \\ \thepage~von \ztotpages \tabularnewline \lasthline
\end{tabular}
\endgroup
}
\newcommand*\ptb@foot@odd{%
\begingroup
\arrayrulewidth=\ptb@rulewidth \extratabsurround=0pt %
\ptb@tempdima=0.2\dimexpr\textwidth-10\tabcolsep-6\arrayrulewidth
\newcolumntype{M}{>{\centering}m{\ptb@tempdima}}
\normalfont\sffamily\tiny\extrarowheight=.3\baselineskip
\begin{tabular}[b]{@{}|M|M|M|M|M|@{}} \firsthline
Seite von Seiten \\ \thepage~von \ztotpages &
Kurzbezeichnung: \\ \ptb@Ident &
Datum: \\ \ptb@Date &
Ausgabe-Nr.: \\ \ptb@Edition &
Erstellt: \\ Abteilung~\ptb@Devision, Fachbereich~\ptb@Department
\tabularnewline \lasthline
\end{tabular}
\endgroup
}
\emergencystretch=3em %
\pagestyle{headings}
\def\titlepagestyle{headings}
\RequirePackage{tocstyle}
%\RequirePackage[tocflat]{tocstyle}
%\usetocstyle{KOMAlike}
\usetocstyle{allwithdot}
\settocfeature{raggedhook}{\raggedright}% verhindert auch Trennung
\settocfeature{pagenumberbox}{\makebox[1.5em][r]}
\settocfeature{entryhook}{\overfullrule=\z@}
\BeforeStartingTOC[toc]{\microtypesetup{protrusion=false}}
\AfterStartingTOC[toc]{\microtypesetup{protrusion=true}}
\RequirePackage[manualmark,draft=false]{scrlayer-scrpage}
\pagestyle{scrheadings}
\clearpairofpagestyles
\cehead{\ptb@head@even}
\cohead{\ptb@head@odd}
\cefoot{\ptb@foot@even}
\cofoot{\ifnum\c@page=\@ne\ptb@first@foot\else\ptb@foot@odd\fi}
\setkomafont{pageheadfoot}{\normalfont\normalsize}
\addtokomafont{caption}{\small}
\addtokomafont{captionlabel}{\bfseries\sffamily}
\setcapindent{1em}
%\setcapwidth[c]{.8\textwidth}
% Kompaktere Listen
\RequirePackage{enumitem}
\setlist{noitemsep}
%\setlist{leftmargin=*}
%\setlist[1]{labelindent=1em}
\renewcommand{\floatpagefraction}{.9}
\renewcommand{\textfraction}{.1}
......@@ -227,38 +210,10 @@ footskip=15mm,
\setcounter{totalnumber}{5}
\renewcommand{\dbltopfraction}{.8}
\renewcommand{\dblfloatpagefraction}{.6}
% Einzelne Abbildungen nicht auf dem leeren Blatt zentrieren.
\setlength\@fptop{0pt}
% Kompaktere Listen
\RequirePackage[neverdecrease]{paralist}
\newcommand*\ptb@begin@list[1]{%
\ptb@tempdima=\parindent
\ptb@tempdimb=\parskip
\@nameuse{#1}%
\parindent=\ptb@tempdima
\parskip=\ptb@tempdimb
}
\def\enumerate{%
\ptb@begin@list{compactenum}%
}
\def\itemize{%
\ptb@begin@list{compactitem}%
}
\def\description{%
\ptb@begin@list{compactdesc}%
}
\let\enditemize\endcompactitem
\let\endenumerate\endcompactenum
\let\enddescription\endcompactdesc
\pltopsep=\medskipamount
\plitemsep=\medskipamount
\DeclareSIUnit\torr{Torr}
\DeclareSIUnit\mbar{\milli bar}
\AtBeginDocument{\@fptop=0pt} % verzögert wegen Paket `rotating'
% TODO: nach siunitx-PTB.sty ???
\sisetup{% Formatierung von Maßzahlen (z.B. Spaltentyp "S" in Tabellen)
,retain-zero-exponent=true
,retain-unity-mantissa=true
......@@ -267,29 +222,92 @@ footskip=15mm,
,zero-decimal-to-integer=false
}
\addto\extrasgerman{\sisetup{locale=DE}}
\addto\extrasngerman{\sisetup{locale=DE}}
\addto\extrasenglish{\sisetup{locale=US}}
\addtokomafont{title}{\sisetup{detect-weight=true, detect-family=true}}
\addtokomafont{disposition}{\sisetup{detect-weight=true, detect-family=true}}
\renewcommand*\tabularxcolumn[1]{m{#1}}% vert. zentriert
\keepXColumns
\RequirePackage{marginnote}
\DeclareRobustCommand\note{%
% Normalform = Horizontale Notiz;
% #1 = vertikale Verschiebung (ohne Einheit: Anzahl Zeilen)
% Sternform = Um 90 Grad gedrehte Notiz;
% #1 = Breite (ohne Einheit: Anzahl mm, ohne Angabe: 3\marginparwidth)
\@ifstar{\@tempswatrue\note@i}{\@tempswafalse\note@i}%
}
\newcommand\tabsection[1]{%
\multicolumn{\LT@cols}{@{}l@{}}{}\\[-.5em]
\multicolumn{\LT@cols}{@{}l@{}}%
{\makebox[0pt][l]{\parbox[b]{\TX@target}{%
\usekomafont{disposition}#1}}} \\[.25em]}
\newcommand*\note@i[1][\z@]{%
\note@ii[#1]%
}
\raggedbottom
\newcommand*\note@ii{}
\def\note@ii[#1]#2{%
\begingroup{}
\if@tempswa
\unitlength=1mm\relax
\else
\unitlength=\baselineskip
\fi
\@ovro#1\unitlength
\if@tempswa
\@ovri=\ifdim\@ovro=\z@ 3\marginparwidth\else\@ovro\fi
\@ovro=\z@
\def\x{\rotatebox[origin=c]{90}{\makebox[0pt][c]{%
\parbox{\@ovri}{\baselineskip=0pt\RaggedRight\hspace{0pt}#2}}}}%
\else
\def\x{\baselineskip=0pt\RaggedRight\hspace{0pt}#2}%
\fi
\overfullrule=\z@
\marginnote{\x}[\@ovro]%
\endgroup
\ignorespaces% problematisch!
}
% Für Parameter #1 Angabe mit und ohne Einheit ermöglichen.
\picture@redefine\note@ii{[&1]}
\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 %
\raggedbottom
\AtBeginDocument{\setkeys{Gin}{draft=false}}
\RequirePackage{nameref}
\RequirePackage[final]{hyperref}
\endinput
%%
%% End of file `arbeitsanweisung.cls'.
Zu ltablex-Problemen:
http://www.latex-community.org/forum/viewtopic.php?f=45&p=39984
(Axel Sommerfeld)
## Erklärung
Das Projekt enthält eine LaTeX-Dokumentenklasse und andere Komponenten zur
Erzeugung eines Erklärungsdokuments.
### Testdateien
* `test-declaration-de.tex`. Beispieldokument für ein Erklärungsdokument in
deutscher Sprache.
* `test-declaration-en.tex`. Beispieldokument für ein Erklärungsdokument in
englischer Sprache.
\ProvidesFile{ptb-declaration-de.clo}[2021/09/14 v0.1c (ptb-declaration, german)]
\mbox{}
\vspace{-1.5cm}
\begin{center}
\usekomafont{disposition} \huge Erklärung
\end{center}
\begin{tabular}{@{}ll@{}}
Bitte senden an: &
\begin{minipage}[t]{10cm}
Arbeitsgruppe 7.54, Vakuummetrologie \\
Physikalisch-Technische Bundesanstalt \\
Abbestraße 2--12 \\
10587 Berlin
\end{minipage}
\end{tabular}
oder E-Mail an \vl@myemail{} oder dem Gerät beilegen.
\medskip
\textbf{Betreff:}~PTB-Aktenzeichen~\vl@myref, Auftragsbestätigung vom \vl@mymail
\medskip
Wir versichern, dass die zur Kalibrierung eingereichten Vakuummessgeräte oder
Testlecks (inklusive Vakuumbauteile)
\begin{itemize}
\item nicht mit toxischen, ätzenden, explosiven, radioaktiven,
mikrobiologischen, krebserregenden oder sonstigen Schadstoffen kontaminiert
sind,
\item vor dem Versand an die PTB einer Funktionsprüfung unterzogen wurden,
\item sich in einem den allgemeinen Regeln der Hoch- und
Ultrahochvakuumtechnik entsprechenden Zustand befinden (Ausnahme:
Schnüffellecks),
\item eine Verunreinigung der Kalibrieranlagen der PTB ausgeschlossen ist
(z.\,B.\ durch Öle und andere Kohlenwasserstoffe),
\item aus messtechnischer Sicht kalibrierfähig sind,
\item die einschlägigen Unfallverhütungsvorschriften und die
anerkannten Regeln der Technik beachtet wurden und
\item uns keine sonstigen Umstände bekannt sind, die einer Kalibrierung
entgegenstehen könnten.
\end{itemize}
\bigskip
\fbox{%
\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 Auftraggeber.
\textbf{Rücksendeadresse:}
\vfill
\begin{tabularx}{\textwidth}{@{}C{.25\textwidth}C{.35\textwidth}Y@{}}
\hrulefill & \hrulefill & \hrulefill \\
Ort, Datum & Auftragsnummer des Kunden &
Institution\,/\,Firma und rechtsverbindliche Unterschrift
\end{tabularx}
\vspace{0mm}
\endinput
\ProvidesFile{ptb-declaration-en.clo}[2018/11/08 v0.1b (ptb-declaration, english)]
\mbox{}
\vspace{-1.8cm}
\begin{center}
\usekomafont{disposition} \huge Declaration
\end{center}
\begin{tabular}{@{}ll@{}}
To be mailed to: &
\begin{minipage}[t]{10cm}
Section 7.54, Vacuum Metrology \\
Physikalisch-Technische Bundesanstalt \\
Abbestraße 2--12 \\
10587 Berlin, Germany
\end{minipage}
\end{tabular}
or email to \vl@myemail{}; may also be sent with instrument.
\medskip
\textbf{Subject:}~PTB reference no.:~\vl@myref,~date of confirmation:~\vl@mymail
\medskip
This is to certify that the vacuum gauges and/or test leaks (including their
vacuum components) which we ordered to being calibrated by PTB
\begin{itemize}
\item are not contaminated with toxic, corrosive, explosive, radioactive,
microbiological, carcinogenic or other harmful substances,
\item were investigated with respect to their operational reliability before
shipment to PTB,
\item leave our house in a condition according to the general rules of high
and ultrahigh vacuum techniques (not applicable for sniffer leaks) and in a
condition that a contamination of the PTB calibration standards can be
excluded (e.\,g.\ by oil or other hydrocarbons),
\item are ready for calibration from the metrological point of view,
\item obey the general rules of prevention of accidents and the
acknowledged rules of relevant techniques and
\item that we have no knowledge of any other indication of obstacles to a
calibration.
\end{itemize}
\bigskip
\fbox{%
\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
customer.
\textbf{Return address:}
\vfill
\begin{tabularx}{\textwidth}{@{}C{.25\textwidth}C{.35\textwidth}Y@{}}
\hrulefill & \hrulefill & \hrulefill \\
place, date & purchase order number of the customer &
\parbox[t]{\linewidth}{\centering institution\,/\,company and \\
legally binding signature}
\end{tabularx}
\vspace{0mm}
\endinput
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\setcounter{errorcontextlines}{100} \listfiles
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ptp-declaration}
[2021/06/14 v0.1c PTB-Klasse (RN)]
\newcommand*\vl@lang{main=ngerman}
\DeclareOption{german}{\def\vl@lang{main=ngerman}}
\DeclareOption{ngerman}{\def\vl@lang{main=ngerman}}
\DeclareOption{de}{\def\vl@lang{main=ngerman}}
\DeclareOption{english}{\def\vl@lang{main=english}}
\DeclareOption{en}{\def\vl@lang{main=english}}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
\LoadClass[%
,paper=a4
,fontsize=11pt
,parskip=true
]{scrartcl}
\RequirePackage{eso-pic,graphicx,xcolor}
\RequirePackage[\vl@lang]{babel}
\RequirePackage{iflang}
\RequirePackage[left=25mm,right=25mm,top=2cm,bottom=6cm]{geometry}
\RequirePackage{ifxetex,ifluatex,url,array,tabularx}
\newif\ifXeOrLua \XeOrLuafalse
\ifxetex\XeOrLuatrue\else\ifluatex\XeOrLuatrue\fi\fi
% TODO: Mathematik?
\ifXeOrLua% XeLaTeX oder luaLaTeX
\RequirePackage{fontspec}
\setmainfont{TeX Gyre Pagella}[Ligatures=TeX]
\setsansfont{TeX Gyre Heros}[Scale=MatchUppercase,Ligatures=TeX]
\setmonofont{AnonymousPro-Regular}[%
Extension = .ttf,
BoldFont = AnonymousPro-Bold,
ItalicFont = AnonymousPro-Italic,
BoldItalicFont = AnonymousPro-BoldItalic,
Scale = MatchLowercase
]
\else
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
\RequirePackage{mathpazo}
\RequirePackage{tgpagella}
\RequirePackage{tgheros}
\RequirePackage[ttdefault=true,scale=1.034]{AnonymousPro}
\fi
\RequirePackage{amsfonts,trimspaces}
\newcommand*\vl@setcommand[3][]{% #1=default (opt.), #2=macro, #3=value
\edef\vl@tempa{\trim@spaces@noexp{#3}}%
\expandafter\protected@xdef\csname #2\endcsname{%
\ifx\@empty\vl@tempa #1\else\vl@tempa\fi}%
}
\newcommand*\myref[1]{\vl@setcommand{vl@myref}{#1}}
\newcommand*\mymail[1]{\vl@setcommand{vl@mymail}{#1}}
\newcommand*\myfax[1]{\vl@setcommand{vl@myfax}{#1}}
\newcommand*\myemail[1]{\vl@setcommand{vl@myemail}{#1}}
\newcommand*\yourref[1]{\vl@setcommand{vl@yourref}{#1}}
\newcommand*\missingEntries[1]{\vl@setcommand{vl@missingEntries}{#1}}
\newcommand*\vl@myref{}
\newcommand*\vl@mymail{}
\newcommand*\vl@myfax{}
\newcommand*\vl@myemail{}
\newcommand*\vl@yourref{}
\newcommand*\vl@missingEntries{0}
\newcolumntype{Y}{>{\centering\arraybackslash}X}
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
\AtBeginDocument{%
\RequirePackage{enumitem}
\setlist{leftmargin=*,itemsep=.3ex,parsep=.5ex}
\setlist[1]{labelindent=1em}
\iffalse
\setlist[itemize,1]{label=\raisebox{-.1ex}{\Large\textbullet}}
\setlist[itemize,2]{label=\raisebox{-.1ex}{\Large$\m@th\circ$}}
\setlist[itemize,3]{label=\raisebox{-.7ex}{\large\textasteriskcentered}}
\setlist[itemize,4]{label=\raisebox{.4ex}{\tiny$\m@th\triangleright$}}
\fi
\ifxetex\else
\RequirePackage[%
,factor=1500
,protrusion=true
,expansion=true
,verbose=true
,final=true
,letterspace=100
,babel=true
]{microtype}
\fi
\makeatletter
\IfLanguageName{ngerman}{%
\input{ptb-declaration-de.clo}
}{%
\input{ptb-declaration-en.clo}
}
\makeatother
}
\newcommand*\checkBox[2][0]{%
\begingroup
\fboxrule=0.7bp\fboxsep=0pt % 0.7bp (10pt)
\raisebox{.3\height}{\fbox{\parbox[c][11bp]{11bp}{%
\mbox{}\ifcase#1\or\centering\relscale{1.35}$\times$\fi%
}}}%
\endgroup\ifx\relax#2\relax\else~\raisebox{.2\height}{#2}\fi%
}
\AtBeginDocument{%
\ifnum\number\vl@missingEntries>0 %
\AddToShipoutPictureBG{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
\rotatebox{54.7}{%
\textnormal{\textsf{\textbf{%
\color{lightgray}Fehler:~\vl@missingEntries}}}}}}%
}%
}%
\fi
}
\textheight=1.2\textheight
\pagestyle{empty}
\endinput
File added
\documentclass[de]{ptb-declaration}
\missingEntries{ 0 }
\myref{7.5-1V-15-05}
\mymail{2018-10-08}
\myfax{+49-30-3481-7490}
\myemail{vacuum.cal@ptb.de }
\yourref{Wrdlbrmpft0815}
\begin{document}
\end{document}
File added
\documentclass[en]{ptb-declaration}
\missingEntries{ 0 }
\myref{7.5-1V-15-05}
\mymail{2018-10-08}
\myfax{+49-30-3481-7490}
\myemail{vacuum.cal@ptb.de }
\yourref{Wrdlbrmpft0815}
\begin{document}
\end{document}
gefahrgutformular/Dangclass2_2.png

9.74 KiB

gefahrgutformular/Dangclass2_3.png

14.7 KiB

gefahrgutformular/Dangclass3.png

30 KiB

gefahrgutformular/Dangclass8.png

27.7 KiB

\setcounter{errorcontextlines}{100}
\listfiles
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{gefahrgutformular}
[2020/07/09 v0.1c Gefahrgutformular (RN/PTB)]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
\PassOptionsToPackage{paper=a4,pagesize}{typearea}
\LoadClass[%
,fontsize=10pt
]{scrartcl}
\setlength\textwidth{490bp}
\setlength\textheight{709bp}
\RequirePackage{iftex}
\ifluatex\else
\ClassError{gefahrgutformular}{LuaTeX is required for this class. Aborting.}{%
This class can only be used with the LuaTeX engine\MessageBreak
(command `lualatex').}
\expandafter\stop
\fi
\RequirePackage{fontspec}
%\setsansfont[Ligatures=TeX]{TeX Gyre Pagella}
\setmonofont{AnonymousPro-Regular}[%
Extension = .ttf,
BoldFont = AnonymousPro-Bold,
ItalicFont = AnonymousPro-Italic,
BoldItalicFont = AnonymousPro-BoldItalic,
Scale = 1.034
]
\setsansfont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic.otf]
\RequirePackage{newunicodechar}
\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239)
\newunicodechar{^^^^2009}{\,\hspace{0pt}}% 'THIN SPACE'
\newunicodechar{^^^^00ad}{\-}% 'SOFT HYPHEN'
\renewcommand*\familydefault{\sfdefault}
\newcommand*\vl@doc@style@code{616~00~h}
\RequirePackage{graphicx,pict2e,picture,eso-pic}
\RequirePackage[ngerman]{babel}
\RequirePackage{siunitx-PTB}
\ifluatex\RequirePackage{luaimageembed}\fi
\iffalse % Warum geht das nicht?
\AtBeginDocument{%
\ifx\vl@SignatureGraphic\@empty
\ifx\vl@SignatureGraphicBaseLXIV\@empty\else
\usepackage{luaimageembed}%
\fi
\fi
}
\fi
\let\vl@tempdima=\@ovxx
\let\vl@tempdimb=\@ovyy
\let\vl@tempdimc=\@ovdx
\let\vl@tempdimd=\@clnwd
\let\vl@tempdime=\@clnht
\let\vl@tempdimf=\@dashdim
\newcommand*\vl@WorkingGroup{}
\newcommand*\WorkingGroup[1]{\gdef\vl@WorkingGroup{#1}}
\newcommand*\vl@Telephon{}
\newcommand*\Telephon[1]{\gdef\vl@Telephon{#1}}
\newcommand*\vl@Place{}
\newcommand*\Place[1]{\gdef\vl@Place{#1}}
\newcommand*\vl@Date{}
\newcommand*\Date[1]{\gdef\vl@Date{#1}}
\newcommand*\vl@Weight{}
\newcommand*\Weight[1]{\gdef\vl@Weight{#1}}
\newcommand*\vl@Package{}
\newcommand*\Package[1]{\gdef\vl@Package{#1}}
\newcommand*\vl@Type{}
\newcommand*\Type[1]{\gdef\vl@Type{#1}}
\newcommand*\vl@ContactPerson{}
\newcommand*\ContactPerson[1]{\gdef\vl@ContactPerson{#1}}
\newcommand*\vl@ContactPersonTelephon{}
\newcommand*\ContactPersonTelephon[1]{\gdef\vl@ContactPersonTelephon{#1}}
\newcommand*\vl@SignatureGraphic{}
\newcommand*\SignatureGraphic[1]{\gdef\vl@SignatureGraphic{#1}}
\newcommand*\vl@SignatureGraphicBaseLXIV{}
\newcommand\SignatureGraphicBaseLXIV[1]{%
\long\gdef\vl@SignatureGraphicBaseLXIV{#1}}
\newcommand*\vl@SenderAddress{}
\newcommand*\SenderAddress[1]{\long\gdef\vl@SenderAddress{#1}}
\newcommand*\vl@RecipientAddress{}
\newcommand*\RecipientAddress[1]{\long\gdef\vl@RecipientAddress{#1}}
\newcommand*\vl@Comment{}
\newcommand*\Comment[1]{\gdef\vl@Comment{#1}}
\newcommand*\vl@Items{}
\newcommand\Items[1]{\long\gdef\vl@Items{#1}}
\AddToShipoutPictureBG{%
\frenchspacing
\AtPageLowerLeft{%
\linethickness{0.6bp}%
\vl@tempdima=54bp %
%------ Rahmen ------
\put(\vl@tempdima,68bp){\framebox(\textwidth,\textheight){}}%
%------ alle waagerechten Linien und Texte in der Nähe ------
\vl@tempdimb=694bp %
\put(\vl@tempdima,\vl@tempdimb){
\put(4bp,65bp){\resizebox{202bp}{!}{\textbf{\Large Beförderung von
Gefahrgütern}}}%
\put(4bp,35bp){\resizebox{106bp}{!}{\Large In Braunschweig an:}}%
\put(4bp,7bp){\resizebox{31bp}{!}{\textbf{\Large Q.212}}}%
\vl@tempdimc=-17bp %
\put(4bp,\vl@tempdimc){Organisationseinheit:}%
\put(4bp,2.5\vl@tempdimc){\vl@WorkingGroup}%
\put(171bp,\vl@tempdimc){Hausruf:}%
\put(171bp,2.5\vl@tempdimc){\vl@Telephon}%
\put(332bp,\vl@tempdimc){Ort, Datum:}%
\put(332bp,2.5\vl@tempdimc){\vl@Place, \vl@Date}%
\line(1,0){\textwidth}%
}%
\vl@tempdimb=644bp %
\put(\vl@tempdima,\vl@tempdimb){%
\vl@tempdimc=-17bp %
\put(4bp,\vl@tempdimc){%
\parbox[t]{334bp}{%
\textbf{Gefahrgut} {\scriptsize (Bei Luft-/See- oder
Schienentransport Sicherheitsdatenblätter zwingend mitschicken)}
Bei Gemischen Angabe der 2 Hauptkomponenten in~\%, bei Säuren und
Laugen Konzentrationsangaben in~\%
\ifx\vl@Items\@empty\else
\noindent\hskip-30pt %
\begin{itemize}%
\scriptsize
\vl@Items
\end{itemize}%
\fi
}%
}%
\put(347bp,\vl@tempdimc){%
\parbox[t]{137bp}{%
\textbf{Netto-Gewicht} in kg (bei mehr als einem Gut
Einzelgewichte):\par\medskip\vl@Weight
}%
}%
\line(1,0){\textwidth}%
}%
\vl@tempdimb=406bp %
\put(\vl@tempdima,\vl@tempdimb){%
\vl@tempdimc=-17bp %
\put(4bp,\vl@tempdimc){\textbf{Ansprechpartner} (für Rückfragen)}%
\put(4bp,2.1\vl@tempdimc){\vl@ContactPerson}%
\put(347bp,\vl@tempdimc){\textbf{Hausruf:}}%
\put(347bp,2.1\vl@tempdimc){\vl@ContactPersonTelephon}%
\line(1,0){\textwidth}%
}%
\vl@tempdimb=363bp %
\put(\vl@tempdima,\vl@tempdimb){%
\vl@tempdimc=-17bp %
\put(4bp,\vl@tempdimc){\textbf{Bei Luft-/See- oder Schienentransport
24\,h Notfallrufnummer des Absenders erforderlich:}}%
\vl@tempdimc=-32bp %
\put(4bp,\vl@tempdimc){%
\textbf{Kontaktperson}\hspace{165bp}24\,h~Notfallrufnummer:
}%
\line(1,0){\textwidth}%
}%
\vl@tempdimb=295bp %
\put(\vl@tempdima,\vl@tempdimb){%
\vl@tempdimc=-17bp %
\put(4bp,\vl@tempdimc){%
\parbox[t]{236bp}{%
\textbf{Absender}~(vollständige Adresse)\par\medskip
\vl@SenderAddress
}%
}
\put(250bp,\vl@tempdimc){%
\parbox[t]{236bp}{%
\textbf{Empfänger}~(vollständige Adresse)\par\medskip
\vl@RecipientAddress
}%
}%
\line(1,0){\textwidth}%
}%
\vl@tempdimb=173bp %
\put(\vl@tempdima,\vl@tempdimb){%
\vl@tempdimc=-17bp %
\put(4bp,\vl@tempdimc){\textbf{Bemerkungen:}}%
\put(77bp,\vl@tempdimc){%
\parbox[t]{409bp}{%
\vl@Comment
}%
}%
\line(1,0){\textwidth}%
}%
\vl@tempdimb=124bp %
\put(\vl@tempdima,\vl@tempdimb){%
\put(12bp,-34bp){\line(1,0){171}}%
\vl@tempdimc=95bp %
\put(\vl@tempdimc,-17bp){\makebox(0,0)[c]{%
\ifx\vl@SignatureGraphic\@empty
\ifx\vl@SignatureGraphicBaseLXIV\@empty\else
% https://github.com/csachs/luaimageembed
\includegraphicsembedded[height=26bp]{\vl@SignatureGraphicBaseLXIV}%
\fi
\else
\includegraphics[height=26bp]{\vl@SignatureGraphic}%
\fi
}}%
\put(\vl@tempdimc,-45bp){\makebox(0,0)[c]{Unterschrift}}%
\line(1,0){\textwidth}%
}%
%
\vl@tempdima=397bp %
\vl@tempdimc=147bp % kurze waag. Linien
\put(\vl@tempdima,525bp){%
\vl@tempdimb=-15bp %
\put(4bp,\vl@tempdimb){\textbf{Verpackung:}~\vl@Package}%
\line(1,0){\vl@tempdimc}%
}%
\put(\vl@tempdima,502bp){%
\vl@tempdimb=-17bp %
\put(4bp,\vl@tempdimb){%
\parbox[t]{139bp}{\textbf{Art:}\par\medskip\vl@Type}%
}%
\line(1,0){\vl@tempdimc}%
}%
%------ Symbole ------
\vl@tempdima=145mm %
\vl@tempdimb=255mm %
\vl@tempdimc=12.67mm %
% TODO: Evtl. Paket Grafiken von "ghsystem" verwenden?!
\put(\vl@tempdima,\vl@tempdimb){%
\includegraphics[width=15mm]{Dangclass2_3.png}}%
\advance\vl@tempdima-\vl@tempdimc
\put(\vl@tempdima,\vl@tempdimb){%
\includegraphics[width=15mm]{Dangclass2_2.png}}%
\advance\vl@tempdima 3\vl@tempdimc
\put(\vl@tempdima,\vl@tempdimb){%
\includegraphics[width=15mm]{Dangclass8.png}}%
\advance\vl@tempdima-\vl@tempdimc
\put(\vl@tempdima,\vl@tempdimb){%
\includegraphics[width=15mm]{Dangclass3.png}}%
%------ vertikale Linien ------
\vl@tempdimb=694bp %
\put(221bp,\vl@tempdimb){\line(0,-1){50bp}}%
\put(382bp,\vl@tempdimb){\line(0,-1){50bp}}%
\vl@tempdimb=644bp %
\put(397bp,\vl@tempdimb){\line(0,-1){281bp}}%
\vl@tempdimb=295bp %
\put(299bp,\vl@tempdimb){\line(0,-1){122bp}}%
%------ interne Nummer ------
\put(15mm,27mm){\rotatebox[origin=c]{90}{\tiny \vl@doc@style@code}}
}%
}
\AtBeginDocument{%
\mbox{} \newpage
}
\iftrue
\RequirePackage[neverdecrease]{paralist}
\let\itemize\compactitem
\let\enditemize\endcompactitem
\setdefaultleftmargin{0pt}{0pt}{0pt}{0pt}{0pt}{0pt}
\pltopsep=\medskipamount
\plitemsep=\smallskipamount
\else
\RequirePackage{enumitem}
\setlist{leftmargin=*,noitemsep}
\setlist[1]{labelindent=0em}
\fi
\emergencystretch=3em %
\pagestyle{empty}
\endinput
This diff is collapsed.