Neuer Verzeichnisname:
Code:
\newcommand{\listanlagename}{Verzeichnis der Anlagen}
Neues Verzeichnis:
Code:
\newlistof{anlage}{anl}{\listanlagename}
Für den Verweis im Text benutze ich z.B.:
Code:
... Hinweise in der \anlage{Hinweise}
der Code:
Code:
\newcommand{\anlage}[1]{%
\refstepcounter{anlage}
{{Anlage} \theanlage { } #1}
\addcontentsline{anl}{anlage}{Anlage \protect\numberline{\theanlage} #1 \hfill Seite}}
um die Anlage einzufügen:
Code:
\anlagen{Hinweise}
\input{Hinweise}
der Code:
Code:
\newcommand{\anlagen}[1]{
\newpage
\refstepcounter{anlage}
\setcounter{page}{1}
\thispagestyle{empty}
\setlength{\headheight}{30pt}
\rhead{\hfill Anlage \theanlage \newline \hfill Blatt \thepage}
\fancyfoot{}
\textbf{#1} \hfill {Anlage} \theanlage \newline
\vspace*{-7ex} \begin{flushright} {Blatt } \thepage \end{flushright}}
Lesezeichen