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

"varbox" / Probleme mit "tabularx"

parent dd5e57a5
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,8 @@ footskip=25mm,
\RequirePackage[main=ngerman,english]{babel}
\RequirePackage{tabularx}
\let\ptb@endtabularx=\TX@endtabularx
\RequirePackage{amsmath,threeparttable,tabto,ltablex,grffile}
\RequirePackage{xltabular}
\RequirePackage{amsmath,threeparttable,tabto,grffile}
\RequirePackage{pdflscape,picture,trimspaces,url,varwidth,placeins}
\RequirePackage{zref-totpages,graphicx,booktabs,array,pdfpages}
\RequirePackage{longtable,siunitx,ragged2e,ifxetex,ifluatex,relsize}
......@@ -112,8 +113,8 @@ footskip=25mm,
}
\newcommand*\ptb@rulewidth{.4mm}
\newcolumntype{C}{>{\centering}X}
\newcolumntype{R}{>{\RaggedRight}X}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\newcolumntype{R}{>{\RaggedRight\arraybackslash}X}
\newcommand\varbox[2][\linewidth]{%
\begin{varwidth}{#1}\nointerlineskip\strut#2\strut\end{varwidth}\strut}
......@@ -142,13 +143,13 @@ footskip=25mm,
\arrayrulewidth=\ptb@rulewidth \extratabsurround=0pt %
\renewcommand\tabularxcolumn[1]{m{##1}}%
\begin{tabularx}{\textwidth}[b]{@{}|C|C|C|c|c|c|@{}} \firsthline
Erstellt: \\
\varbox{Erstellt: \\
Abteilung~\ptb@Devision, Fachbereich~\ptb@Department \\
AG~\ptb@WorkingGroup
AG~\ptb@WorkingGroup}
&
Geprüft: \\ Leiter~\ptb@Department \\~
\varbox{Geprüft: \\ Leiter~\ptb@Department \\~}
&
Genehmigt: \\ QMV-\ptb@Devision \\~
\varbox{Genehmigt: \\ QMV-\ptb@Devision \\~}
&
\varbox{Ausgabe-Nr.: \\ \ptb@Edition\\~}
&
......@@ -178,16 +179,15 @@ footskip=25mm,
\arrayrulewidth=\ptb@rulewidth \extratabsurround=0pt %
\renewcommand*\tabularxcolumn[1]{m{##1}}%
\begin{tabularx}{\textwidth}[b]{@{}|C|C|C|C|C|@{}} \firsthline
Erstellt: \\
Abteilung~\ptb@Devision, Fachbereich~\ptb@Department
\varbox{Erstellt: \\ Abteilung~\ptb@Devision, Fachbereich~\ptb@Department}
&
Ausgabe-Nr.: \\ \ptb@Edition
\varbox{Ausgabe-Nr.: \\ \ptb@Edition}
&
Datum: \\ \ptb@Date
\varbox{Datum: \\ \ptb@Date}
&
Kurzbezeichnung: \\ \ptb@Ident
\varbox{Kurzbezeichnung: \\ \ptb@Ident}
&
Seite von Seiten \\ \thepage~von \ztotpages
\varbox{Seite von Seiten \\ \thepage~von \ztotpages}
\tabularnewline \lasthline
\end{tabularx}%
\endgroup
......@@ -199,19 +199,18 @@ footskip=25mm,
\arrayrulewidth=\ptb@rulewidth \extratabsurround=0pt %
\renewcommand*\tabularxcolumn[1]{m{##1}}%
\begin{tabularx}{\textwidth}[b]{@{}|C|C|C|C|C|@{}} \firsthline
Seite von Seiten \\ \thepage~von \ztotpages
\varbox{Seite von Seiten \\ \thepage~von \ztotpages}
&
Kurzbezeichnung: \\ \ptb@Ident
\varbox{Kurzbezeichnung: \\ \ptb@Ident}
&
Datum: \\ \ptb@Date
\varbox{Datum: \\ \ptb@Date}
&
Ausgabe-Nr.: \\ \ptb@Edition
\varbox{Ausgabe-Nr.: \\ \ptb@Edition}
&
Erstellt: \\
Abteilung~\ptb@Devision, Fachbereich~\ptb@Department
\tabularnewline \lasthline
\varbox{Erstellt: \\ Abteilung~\ptb@Devision, Fachbereich~\ptb@Department}
\tabularnewline \lasthline
\end{tabularx}%
\endgroup
\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