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

"tabularx" --> "tabular"

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