Aktualisiertes Beispiel mit Bibliographie im Inhaltsverzeichnis

Aktualisiertes Beispiel mit Bibliographie im Inhaltsverzeichnis

Ich versuche, einen Anhang hinzuzufügen zumAbonnierenInhaltsverzeichnis. Der Anhang und die Anhänge wurden definiert, aber ich kann sie nicht zum Inhaltsverzeichnis hinzufügen. Ich frage mich auch, wie ich meine Tabellen mit Querverweisen in mein Abbildungsverzeichnis und Tabellenverzeichnis einfügen kann. Die entsprechenden CLS-, TEX- und sty-Informationen finden Sie weiter unten. Danke.

\renewcommand*{\tableofcontents}{
  \@@nonchapter{odd}{TABLE OF CONTENTS}{n}{0pt}
  {\leftskip=0pt \noindent\hbox to\textwidth{\hfil Page}\par}
  {%
    \output={
      \let \par \@@par
      \ifnum \outputpenalty<-\@M
        \@specialoutput
      \else
        \@makecol
        \@opcol
        \@startcolumn
        \@whilesw \if@fcolmade \fi
          {%
           \@opcol\@startcolumn}%
      \fi
      \ifnum \outputpenalty>-\@Miv
        \ifdim \@colroom<1.5\baselineskip
          \ifdim \@colroom<\textheight
            \@latex@warning@no@line{Text page \thepage\space
              contains only floats}%
            \@emptycol
          \else
            \global \vsize \@colroom
          \fi
        \else
          \global \vsize \@colroom
        \fi
      \else
        \global \vsize \maxdimen
      \fi
      {\leftskip=0pt \noindent\hbox to\textwidth{\hfil Page}\par}
    }
    \renewcommand{\baselinestretch}{2}\reset@font
    \pagestyle{plain}
    \@starttoc{toc}
  }
}
\def\bigtocskip{0.5\baselineskip plus.2\p@}
\def\smalltocskip{0pt}
\def\@dottedtocline#1#2#3#4#5#6{%
  \ifnum #1>\c@tocdepth
  \else
    \vskip #2
    {%
      \leftskip #3
      \rightskip \@tocrmarg
      \parfillskip -\rightskip
      \parindent #3
      \@afterindenttrue
      \interlinepenalty\@M
      \leavevmode
      \@tempdima #4
      \advance\@tempdima \@@padding
      \advance\leftskip \@tempdima
      \hbox{}\hskip -\leftskip
      #5\nobreak
      \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}\hfill
      \nobreak
      \hbox to\@pnumwidth{\hfil\reset@font\rm #6}\par
    }%
  \fi
}
\renewcommand*{\listoftables}{
  \@@nonchapter{next}{LIST OF TABLES}{y}{0pt}
  {\leftskip=0pt \noindent\hbox to\textwidth{Table\hfil Page}\par}
  {%
    \output={
      \let \par \@@par
      \ifnum \outputpenalty<-\@M
        \@specialoutput
      \else
        \@makecol
        \@opcol
        \@startcolumn
        \@whilesw \if@fcolmade \fi
          {%
           \@opcol\@startcolumn}%
      \fi
      \ifnum \outputpenalty>-\@Miv
        \ifdim \@colroom<1.5\baselineskip
          \ifdim \@colroom<\textheight
            \@latex@warning@no@line{Text page \thepage\space
              contains only floats}%
            \@emptycol
          \else
            \global \vsize \@colroom
          \fi
        \else
          \global \vsize \@colroom
        \fi
      \else
        \global \vsize \maxdimen
      \fi
      {\leftskip=0pt \noindent\hbox to\textwidth{Table\hfil Page}\par}
    }
    \renewcommand{\baselinestretch}{1}\reset@font
    \@starttoc{lot}
  }
}
\renewcommand{\listoffigures}{
  \@@nonchapter{next}{LIST OF FIGURES}{y}{0pt}
  {\leftskip=0pt \noindent\hbox to\textwidth{Figure\hfil Page}\par}
  {%
    \output={
      \let \par \@@par
      \ifnum \outputpenalty<-\@M
        \@specialoutput
      \else
        \@makecol
        \@opcol
        \@startcolumn
        \@whilesw \if@fcolmade \fi
          {%
           \@opcol\@startcolumn}%
      \fi
      \ifnum \outputpenalty>-\@Miv
        \ifdim \@colroom<1.5\baselineskip
          \ifdim \@colroom<\textheight
            \@latex@warning@no@line{Text page \thepage\space
              contains only floats}%
            \@emptycol
          \else
            \global \vsize \@colroom
          \fi
        \else
          \global \vsize \@colroom
        \fi
      \else
        \global \vsize \maxdimen
      \fi
      {\leftskip=0pt \noindent\hbox to\textwidth{Figure\hfil Page}\par}
    }
    \renewcommand{\baselinestretch}{1}\reset@font
    \@starttoc{lof}
  }


\documentclass{wuthesis}

% Put your thesis title below.
%
\title{Sample Thesis in Mathematics Department}

% Put your name here.
% First one is the name you want to put on the cover.
% Second is the one you want to use in abstract.
\author{Steven Xiao}{Xiao, Steven}

% Put your Degree here.
% First is long title of degree (used on cover).
% Second is abbreviation for degree (used in abstract).
% Third is the month the degree was (will be) awarded (used on cover
% and abstract).
% Last is the year the degree was (wlll be) awarded (used on cover
% and abstract).
% The degree title for all doctoral candidates is ``Doctor of Philosophy.''
\wudegree{Doctor of Philosophy}{Doctor of Philosophy}{December}{2006}

% Put your advisor's name here.
\majorprof{Cupples Liu}

% List the names of the members of the committee here.
\committee{Cupples Liu, Chair\\Daniel Scott Klazkin\\Jill Goldberg\\Joshua Glatt\\Willam Maas}

% You may put your own abbreviation here.
\input{mydefs}

\begin{document}

\volume

\include{front}
\include{ch01}
\include{ch02}
\include{ch03}
\include{ch04}
\include{bib}

\end{document}

Antwort1

Das wuthesis.clsbietet keine Möglichkeit, den Anhang automatisch zum Inhaltsverzeichnis hinzuzufügen. Die Verwendung des appendixPakets führt zu einem Konflikt mit \appendicesdem darin definierten Befehl wuthesis.cls. Dies kann jedoch durch die Verwendung savesymdes Pakets umgangen werden.

Die Optionen tocpageInhaltsverzeichniseinträge für den Anhang automatisch hinzufügen“ und „Eine separate Seite für den Anhang“ beginnen.

\documentclass{wuthesis}
\usepackage{savesym}
\savesymbol{appendices}
\usepackage[page,toc]{appendix}%

\begin{document}
\tableofcontents
\chapter{First}


\begin{appendices}%
\chapter{First of Appendix}
\end{appendices}%
\end{document}

Bildbeschreibung hier eingeben

Aktualisiertes Beispiel mit Bibliographie im Inhaltsverzeichnis

\documentclass{wuthesis}
\usepackage{tocbibind}%
\usepackage{savesym}
\savesymbol{appendices}
\usepackage[page,toc]{appendix}%
\begin{document}
\tableofcontents
\chapter{First}

\cite{Lam94}%

\begin{appendices}%
\chapter{First of Appendix}
\end{appendices}%
\bibliography{biblio}%
\end{document}

verwandte Informationen