liantze / AltaCV

Yet another alternative curriculum vitae/résumé class with LaTeX
Other
1.27k stars 331 forks source link

Add footer #33

Closed arafat-hasan closed 4 years ago

arafat-hasan commented 4 years ago

Add footer option. Page number, compile date, resume owner's name can be shown in the footer. Footer will be optional.

T-Zema commented 4 years ago

up ;)

liantze commented 4 years ago

You can do this with the fancyhdr package:

%% add the footskip option to adjust location of footer
\geometry{left=1cm,...,footskip=1.5\baselineskip}
\usepackage{fancyhdr}
\fancyhf{}
\renewcommand{\headrule}{}
\fancyfoot[L]{\footnotesize whatever you need}
\AtBeginDocument{\pagestyle{fancy}}
kemot90 commented 2 years ago

It works for me but with geometry defined like this:


\geometry{left=1.25cm,right=1.25cm,top=1.5cm,bottom=1.5cm,headheight=17pt,includefoot,heightrounded,columnsep=1.2cm}```
scamgi commented 6 months ago

Hey guys,

I'm a LaTex newbie, and I dunno where to put that piece of code. I tried to put it at the end of the document but it doesn't work. Can you explain where I can write it?

Mara01010011 commented 3 months ago

@scamgi Just below the beginning \documentclass.... you already have a \geometry.... Just comment that out and insert the code above.