Latex: Difference between revisions

From Andreida
No edit summary
Line 4: Line 4:
== Misc ==
== Misc ==
=== Custom header/footer ===
=== Custom header/footer ===
\documentclass{...}
<pre>
\usepackage{fancyhdr}
\documentclass{...}

\usepackage{fancyhdr}
\pagestyle{fancy}
\pagestyle{fancy}
\lhead{}
\lhead{}
\chead{}
\chead{}
\rhead{}
\rhead{}
\lfoot{}
\lfoot{}
\cfoot{}
\cfoot{}
\rfoot{}
\rfoot{}

</pre>
=== last page ===
\usepackage{lastpage}

Page \thepage~/~\pageref{LastPage} }

Revision as of 11:34, 15 June 2016

Links

Misc

Custom header/footer

\documentclass{...}
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{}

last page

\usepackage{lastpage}
Page \thepage~/~\pageref{LastPage} }