style - francois-rozet/sleek-template GitHub Wiki
Styling features of the sleek
package.
-
Setting margins to
2.5cm
.\geometry{top=3.5cm,bottom=2.5cm,right=2.5cm,left=2.5cm}
top
is set to3.5cm
in order to let space for the header. -
Setting page style to
fancy
and choosing what is displayed in header and footer.\pagestyle{fancy} \fancyhead[L]{} \fancyhead[R]{\leftmark} \fancyfoot[C]{\thepage}
L
,R
andC
mean left, right and center, respectively.\leftmark
is the currentsection
in anarticle
and the currentchapter
in areport
. -
Removing the head rule.
\renewcommand{\headrulewidth}{0pt}
-
\romantableofcontents
displays the table of contents in a new page while temporarily changing the page numbering toroman
.\romantableofcontents