Browse Source

Improve page numbering

master
Arthur Poulet 2 years ago
parent
commit
6a32c7865f
No account linked to committer's email address
2 changed files with 4 additions and 1 deletions
  1. +2
    -0
      document.tex
  2. +2
    -1
      packages.tex

+ 2
- 0
document.tex View File

@@ -16,9 +16,11 @@
\newpage
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\disablePageNumbering
\tableofcontents

\newpage
\enablePageNumbering
{
\onehalfspacing
\setlength{\columnsep}{1cm}

+ 2
- 1
packages.tex View File

@@ -49,7 +49,8 @@
\fancyhead{} % No page header
\fancyfoot[L]{} % Empty
\fancyfoot[C]{} % Empty
\fancyfoot[R]{\thepage\space of \pageref{LastPage}} % Pagenumbering
\newcommand{\enablePageNumbering}{\fancyfoot[R]{\thepage\space of \pageref{LastPage}}}
\newcommand{\disablePageNumbering}{\fancyfoot[R]{}}
\renewcommand{\headrulewidth}{0pt} % Remove header underlines
\renewcommand{\footrulewidth}{0pt} % Remove footer underlines
\setlength{\headheight}{13.6pt}

Loading…
Cancel
Save