0

How to display the contents page in middle of the page and in large size than the other font size within the article?

I have used the command \tableofcontents.

The output is as follows:

enter image description here

  • Are you displaying the desired output, or the actual output? – Werner Feb 18 at 7:51
1

Adding \vspace*{\fill} before and after the \tableofcontents, and a \newpage after the second \vspace*{\fill}, is an easy way to achieve this:

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

As noted in the code, if you have content before the toc (e.g. a titlepage), you will also want a \newpage before the first \vspace*{\fill}.

Output:

output

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.