Toc의 참고문헌이 포함된 업데이트된 예

Toc의 참고문헌이 포함된 업데이트된 예

부록을 추가하려고 합니다.우테세TOC. 부록과 부록이 정의되어 있지만 TOC에 추가할 수 없습니다. 또한 내 테이블을 그림 목록과 테이블 목록으로 상호 참조할 수 있는 방법도 궁금합니다. 해당 CLS, TEX 및 sty는 다음과 같습니다. 감사해요.

\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목차에 부록을 자동으로 추가하는 수단을 제공하지 않습니다. 패키지를 사용하면 에 정의된 명령 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}

여기에 이미지 설명을 입력하세요

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}

관련 정보