ich melde mich mal wieder mit einem kleinen Problem:
ich möchte eine longtable "automatisieren" und mir mit einer neuen Umgebung eine Menge Tiparbeit sparen:
\newenvironment{protokolltabelle}[1]{\begin{longtable}[c]{ |@{\quad}p{0,7 cm}| @{\quad}p{8,7cm}@{\quad}| @{\quad}p{2 cm}@{\quad}|@{\quad}p{1.6 cm}@{\quad}|} \hline{\bf Nr} & {\bf Thema} & {\bf Verantw.} & {\bf Termin} \\\toprule\bottomrule\endhead \toprule\endfoot #1}{\end{longtable}}
\newcommand{eintrag}[4]{#1 & #2 & #3 & #4\\}
tex:5:Misplaced alignment tab character & \newcommand{eintrag}[4]{#1 & #2 & #3 & #4\\} tex:You can't use `macro parameter character #' in horizontal mode \newcommand{eintrag}[4]{#1 & #2 & #3 & #4\\}
Danke
Roman