style - francois-rozet/sleek-template GitHub Wiki

Style

Styling features of the sleek package.

Settings

  • Setting margins to 2.5cm.

    \geometry{top=3.5cm,bottom=2.5cm,right=2.5cm,left=2.5cm}

    top is set to 3.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 and C mean left, right and center, respectively.

    \leftmark is the current section in an article and the current chapter in a report.

  • Removing the head rule.

    \renewcommand{\headrulewidth}{0pt}

Commands

  • \romantableofcontents displays the table of contents in a new page while temporarily changing the page numbering to roman.

    \romantableofcontents
⚠️ **GitHub.com Fallback** ⚠️