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

"tabularx" --> "tabular"

parent 37377a5b
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ textwidth=172mm,% 172+22+16=210
textheight=228mm,
top=20bp,
headsep=10mm,
footskip=25mm,
footskip=55bp,
]{geometry}
\setlength{\footheight}{18.5pt}
......@@ -136,83 +136,61 @@ footskip=25mm,
\normalfont\sffamily\bfseries\large
\ptb@Ident \hfill Qualit\"atsmanagement-Arbeitsanweisung \hfill PTB
}
\newcommand*\ptb@first@foot{%
\raisebox{-4bp}[0pt][0pt]{%
\raisebox{-18bp}[0pt][0pt]{%
\begingroup
\let\TX@endtabularx=\ORIGi@TX@endtabularx
\normalfont\sffamily\tiny\extrarowheight=.3\baselineskip
\arrayrulewidth=\ptb@rulewidth \extratabsurround=0pt %
\renewcommand\tabularxcolumn[1]{m{##1}}%
\begin{tabularx}{\textwidth}[b]{@{}|C|C|C|c|c|c|@{}} \firsthline
\varboxC{Erstellt: \\
Abteilung~\ptb@Devision, Fachbereich~\ptb@Department \\
AG~\ptb@WorkingGroup}
&
\varboxC{Geprüft: \\ Leiter~\ptb@Department \\~}
&
\varboxC{Genehmigt: \\ QMV-\ptb@Devision \\~}
&
\varboxC{Ausgabe-Nr.: \\ \ptb@Edition\\~}
&
\varboxC{Kurzbezeichnung: \\ \ptb@Ident\\~}
&
\varboxC{Seite von Seiten \\ \thepage~von \ztotpages\\~}
\tabularnewline
&&&&& \tabularnewline
&&&&& \tabularnewline
am:~\dotfill
&
am:~\dotfill
&
am:~\dotfill
&
&& \tabularnewline \lasthline
\end{tabularx}%
\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
}%
}
}
\newcommand*\ptb@foot@even{%
\begingroup
\let\TX@endtabularx=\ORIGi@TX@endtabularx
\normalfont\sffamily\tiny\extrarowheight=.3\baselineskip
\arrayrulewidth=\ptb@rulewidth \extratabsurround=0pt %
\renewcommand*\tabularxcolumn[1]{m{##1}}%
\begin{tabularx}{\textwidth}[b]{@{}|C|C|C|C|C|@{}} \firsthline
\varboxC{Erstellt: \\ Abteilung~\ptb@Devision, Fachbereich~\ptb@Department}
&
\varboxC{Ausgabe-Nr.: \\ \ptb@Edition}
&
\varboxC{Datum: \\ \ptb@Date}
&
\varboxC{Kurzbezeichnung: \\ \ptb@Ident}
&
\varboxC{Seite von Seiten \\ \thepage~von \ztotpages}
\tabularnewline \lasthline
\end{tabularx}%
\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
\let\TX@endtabularx=\ORIGi@TX@endtabularx
\ptb@tempdima=0.2\dimexpr\textwidth-10\tabcolsep-6\arrayrulewidth
\newcolumntype{M}{>{\centering}m{\ptb@tempdima}}
\normalfont\sffamily\tiny\extrarowheight=.3\baselineskip
\arrayrulewidth=\ptb@rulewidth \extratabsurround=0pt %
\renewcommand*\tabularxcolumn[1]{m{##1}}%
\begin{tabularx}{\textwidth}[b]{@{}|C|C|C|C|C|@{}} \firsthline
\varboxC{Seite von Seiten \\ \thepage~von \ztotpages}
&
\varboxC{Kurzbezeichnung: \\ \ptb@Ident}
&
\varboxC{Datum: \\ \ptb@Date}
&
\varboxC{Ausgabe-Nr.: \\ \ptb@Edition}
&
\varboxC{Erstellt: \\ Abteilung~\ptb@Devision, Fachbereich~\ptb@Department}
\tabularnewline \lasthline
\end{tabularx}%
\endgroup
\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
}
\RequirePackage[manualmark,draft=false]{scrlayer-scrpage}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment