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

Verbesserung zu "serialNo" (Vorbereitung)

parent c28a33cd
No related branches found
No related tags found
No related merge requests found
......@@ -220,7 +220,7 @@
\ks@tab\expandafter{\the\ks@tab#1}%
}
\newcommand*\ks@addTabLine[1]{%
\newcommand*\ks@addTabLine[1]{% TODO: analog zu \ks@addCommaItems
\def\@tempc{}%
\@for\@tempa:=#1\do{%
\edef\@tempb{\the\ks@tab\@tempc\@tempa}%
......@@ -229,13 +229,26 @@
}%
}
\newcommand*\ks@addCommaItems[1]{%
\def\@tempc{}%
\@for\@tempa:=#1\do{%
\edef\@tempb{\noexpand\ks@tab\noexpand\expandafter{%
\the\noexpand\ks@tab\@tempc\@tempa}}%
%\show\@tempb
\@tempb
\def\@tempc{\noexpand\\}%
%\showthe\ks@tab
}%
}
\newcommand*\ks@getColSpec[2]{%
\let#2=\@empty
\@for\@tempa:=#1\do{%
\edef#2{#2l}%
\edef#2{#2X}%
}%
\ifx\ks@colSpec\@empty
\def#2{l}%
\ifx#2\@empty
%\def#2{l}%
\def#2{X}%
\fi
}
......@@ -248,11 +261,14 @@
\ks@add{\tabularnewline[#2]}%
\ks@addTabLine{\ks@type}%
\ks@add{\tabularnewline[#3]}%
\ks@addTabLine{\ks@serialNo}%
%%%\ks@addTabLine{\ks@serialNo}%
%%\ks@add{\ks@serialNo}%
\ks@addCommaItems{\ks@serialNo}%
\ks@add{\end{tabularx}}%
\begingroup
\tabcolsep=1em %
\origTabularx
%\showthe\ks@tab
\the\ks@tab
\endgroup
}
......
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