Saturday, March 5, 2016

LaTex - Increase Section

5:26:00 AM

LaTex - Increase Section Depth - \subsubsubsection = \paragraph

Sometimes we need to go down to level 4, especially when using the Article class. At these times, it becomes necessary to find ways for typesetting sections at lower depth. To do that we use:

\paragraph{.}
To use sections (paragraphs), depth 4 and beyond, the following has worked for me:
  • \usepackage{titlesec}
  • \usepackage{titletoc}
  • \setcounter{secnumdepth}{5}
  • \setcounter{tocdepth}{5}
  • \titleformat{\paragraph} [hang] {\normalfont\normalsize\bfseries} {\theparagraph} {1em} {}
Then use \paragraph{.} instead of \subsubsubsection{.} to create sections at depth 4. 
\setcounter{tocdepth}{5} instructs the compiler to add entries into the TOC upto depth 5

Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 komentar:

Post a Comment

 

© 2013 ProductHP. All rights resevered. Designed by Templateism

Back To Top