Ejemplo actualizado con bibliografía en Toc

Ejemplo actualizado con bibliografía en Toc

Estoy intentando agregar un apéndice alwutesisTOC. Se han definido el apéndice y los apéndices, pero no puedo agregarlos al TOC. También me pregunto cómo puedo hacer referencias cruzadas de mis tablas en mi Lista de figuras y Lista de tablas. Los CLS, TEX y sty correspondientes se encuentran a continuación. Gracias.

\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}

Respuesta1

No wuthesis.clsproporciona medios para la adición automática del apéndice al toc. El uso del appendixpaquete generará un conflicto con \appendicesel comando definido en wuthesis.cls. Sin embargo, esto se puede evitar usando savesymel paquete.

Las opciones tocy pageagregan automáticamente entradas al índice para el apéndice y una página separada para el inicio del apéndice.

\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}

ingrese la descripción de la imagen aquí

Ejemplo actualizado con bibliografía en Toc

\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}

información relacionada