目次に参考文献を追加した例を更新しました

目次に参考文献を追加した例を更新しました

私は付録を追加しようとしていますウーテーシスTOC。付録と付録は定義されていますが、TOC に追加できません。また、図表リストと表リストに表を相互参照する方法も知りたいです。対応する CLS、TEX、スタイルは以下のとおりです。よろしくお願いします。

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

答え1

wuthesis.cls、付録を toc に自動的に追加する手段を提供していません。 パッケージを使用すると、内で定義されているコマンドappendixと競合が発生します。ただし、パッケージを使用するとこれを回避できます。\appendiceswuthesis.clssavesym

オプションを選択するtocと、page付録の目次エントリと付録用の別ページが自動的に追加されます。

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

ここに画像の説明を入力してください

目次に参考文献を追加した例を更新しました

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

関連情報