Moreover, how to change the font size and style of the table and contents? If we can't give the numbering to subsubsection and at least we can change the font size of subsubsection to make it distinct.
Thanks a lot!

Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Code: Select all
\setcounter{secnumdepth}{3}
Stefan_K wrote:Hi,
useTo customize the toc have a look at the tocloft package.Code: Select all
\setcounter{secnumdepth}{3}
Stefan
That's probably not necessary, because you are already using titletoc, i wouldn't use both together, but you could have a look at the tocloft documentation to get information.ggyyree wrote:Thanks a lot! Could you please say more about the tocloft package?
ggyyree wrote: How to display the nubering of subsubsection?
Code: Select all
\setcounter{secnumdepth}{3}
Use the \titlecontents command of titletoc, see titletoc documentation. Here's an example making the font smaller for instance with the article class:ggyyree wrote:And how to adjust the font size of the subsubsection? I have used titletoc package
Code: Select all
\titlecontents{subsubsection}
[6.5em]{}{\footnotesize\contentslabel{3.2em}}
{\hspace*{-3.2em}}{\titlerule*[1pc]{.}\contentspage}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis