부록의 목차 변경

부록의 목차 변경

부록을 클릭한 후 목차 섹션 부분의 레이아웃을 변경할 수 있는 방법이 있나요?

다음 항목에 부록 A. 제목이 있고 페이지 번호는 포함되지 않기를 원합니다. 여기에 이미지 설명을 입력하세요

내 \thesection의 부록 A가 제목을 가리고 있습니다. l@section을 "갱신"하여 조정하려고 시도했지만 실제로 방법을 모르겠습니다.

다음과 같이 부록 명령을 설정하고 있습니다.

\newcommand{\clearemptydoublepage}    
  {\newpage{\pagestyle{empty}\cleardoublepage}}

\renewcommand\appendix{\par
  \clearemptydoublepage
  \setcounter{section}{0}
  \setcounter{subsection}{0}

  \renewcommand\section{%
      \renewcommand\thesection{\appendixname \ \@Alph\c@section}
                               \@startsection {section}{1}{\z@}%
                               {-3.5ex \@plus -1ex \@minus -.2ex}%
                               {2.3ex \@plus.2ex}%
                               {\centering\normalfont
                               \normalsize\bfseries\scshape}}

  \renewcommand\subsection{%
     \renewcommand\thesection{\@Alph\c@section}
                                 \@startsection{subsection}{2}{\z@}%
                                 {-3.25ex\@plus -1ex \@minus -.2ex}%
                                 {1.5ex \@plus .2ex}%
                                 {\normalfont\normalsize\bfseries\scshape}}

  \renewcommand\thesubsection{\thesection.\@arabic\c@subsection}
}

그런 다음 다음을 수행합니다.

\appendix

\makeappendixtitle{Add title for appendix A}
\section{Title}
\subsection{Appendix Sub}
First appendix

내 부록 자체는 다음과 같이 괜찮아 보입니다.

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

답변1

페이지 를 이용하는 것이 더 간단할 것입니다 appendix. 본문의 각 부록 앞에 단어를 넣지 Appendix만 목차에서는 표시하지 않는 옵션이 있습니다.

샘플 내용

샘플 부록

\documentclass{article}

\usepackage[title]{appendix}

\begin{document}
\tableofcontents

\section{Ordinary section}

\cleardoublepage
\begin{appendices}
  \section{Title}
  \subsection{Appendix Sub}
  First appendix
\end{appendices}

\end{document}

관련 정보