Can someone explain to me, how one can make a section look like this and this
I'm really having trouble with doing this, and I'm not sure if I should even use titlesec or titleformat, especially not for the picture with a big 1 on the right. I would really like to know how to accomplish picture 2. Anyone that can help me? Would be much appreciated. This is of course in LaTeX.
[Tex/LaTex] Section title format
numberingsectioningtitlesec
Best Answer
Here are two example solutions, adapted from a code for
\chapter
. With this type of layout, I had to change the class of\section
so that a new section starts a newpage, and begins at top of page:Edit:
The formatting of the toc title can be different from the above using
\titleformat
, with thenumberless
key, since table of contents, references, &c., are implemented as unnumbered sections in the article class. Just add this code to your preamble: