목차가 페이지 중앙에 있고 글꼴 크기가 더 큽니까?

목차가 페이지 중앙에 있고 글꼴 크기가 더 큽니까?

목차 페이지를 페이지 중앙에 표시하고 . 안에 있는 다른 글꼴 크기보다 크게 표시하려면 어떻게 해야 합니까 article?

나는 명령을 사용했습니다 \tableofcontents.

출력은 다음과 같습니다.

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

답변1

\vspace*{\fill}의 앞과 뒤에 \tableofcontents, \newpage두 번째 뒤에 를 추가하는 것은 \vspace*{\fill}이를 달성하는 쉬운 방법입니다.

\documentclass{article}
\begin{document}
    % May also want \newpage here (e.g. if title page before toc)
    \vspace*{\fill}
    \tableofcontents
    \vspace*{\fill}
    \newpage % Page break between toc and first section
    \section{Introduction}
    \section{Abstract Algebra}
    \section{p-adic numbers}
    \section{Concept}
    \section{Algebraic Closure}
\end{document}

코드에 명시된 대로 목차 앞에 콘텐츠(예: 제목 페이지)가 있는 경우\newpage ~ 전에첫번째 \vspace*{\fill}.

산출:

산출

관련 정보