Your curriculum in LaTeX - part three
This is the third part of the tutorial. You can find here the second part.
In the first part of the tutorial we took care of the title of the resume; in the second part we organized the sections, using an appropriate style. Now it's time to properly format the pages and add a decent footer. To do so, I installed and used KOMA-Script. It is a powerful bundle of LaTeX classes and packages and, as stated in its guide: its primary purpose is to provide more-flexible alternatives to the standard classes. It includes the scrpage2 package to customise the document page header and footer, improved and enhanced successor of scrpage.
So, let's change the \documentclass to use KOMA. Also, include the package scrpage2:
-
\documentclass[a4paper, oneside, final]{scrartcl}
-
-
\usepackage{soul}
-
\usepackage{scrpage2}
-
\usepackage{titlesec}
-
-
\titleformat{\section}{\large\scshape\raggedright}{}{0em}{}[\titlerule]
-
-
\begin{document}
-
\begin{center}
-
-
\textsc{\Huge{\so{Iulius Caesar}}}
-
-
\section{Experiences}
-
\section{Skills}
-
\section{Education}
-
\section{Publications}
-
\section{Personal Info}
-
\section{Languages}
-
\section{Interests}
-
-
\end{center}
-
\end{document}
As you can see from the result page, the are some adjustments regarding the margins.

Still, no big differences. So, we proceed to set the footer to replace the page numbers in the bottom of the page with something more appropriate for a resume: the contact data. To do so, we will use the commands \pagestyle{scrheadings} and \cofoot. In this way:
-
\documentclass[a4paper, oneside, final]{scrartcl}
-
-
\usepackage{soul}
-
\usepackage{scrpage2}
-
\usepackage{titlesec}
-
-
\titleformat{\section}{\large\scshape\raggedright}{}{0em}{}[\titlerule]
-
-
% enable customized headers and footers
-
\pagestyle{scrheadings}
-
-
% define footer
-
\cofoot{Liefdestraat, 7 - 1234LI, Amsterdam, Nederland\\
-
jeff@gmail.com \ +31 (0)6 12345678}
-
-
\begin{document}
-
\begin{center}
-
-
\textsc{\Huge{\so{Iulius Caesar}}}
-
-
\section{Experiences}
-
\section{Skills}
-
\section{Education}
-
\section{Publications}
-
\section{Personal Info}
-
\section{Languages}
-
\section{Interests}
-
-
\end{center}
-
\end{document}
Take a look at the result page:

Let's focus on the footer, because the default appearance is not enough.

The first thing to do is to change the font shape of the footer, redefining the command \headfont, so the latex code becomes:
-
\documentclass[a4paper, oneside, final]{scrartcl}
-
-
\usepackage{soul}
-
\usepackage{scrpage2}
-
\usepackage{titlesec}
-
-
\titleformat{\section}{\large\scshape\raggedright}{}{0em}{}[\titlerule]
-
-
\pagestyle{scrheadings}
-
-
% specify the font family for headers and footers
-
\renewcommand{\headfont}{\normalfont\rmfamily\scshape}
-
-
\cofoot{Liefdestraat, 7 - 1234LI, Amsterdam, Nederland\\
-
jeff@gmail.com \ +31 (0)6 12345678}
-
-
\begin{document}
-
\begin{center}
-
-
\textsc{\Huge{\so{Iulius Caesar}}}
-
-
\section{Experiences}
-
\section{Skills}
-
\section{Education}
-
\section{Publications}
-
\section{Personal Info}
-
\section{Languages}
-
\section{Interests}
-
-
\end{center}
-
\end{document}
The footer now looks like the following:

As we did with other important pieces of this document, we can use the command \so from the Soul package, in this way:
-
\documentclass[a4paper, oneside, final]{scrartcl}
-
-
\usepackage{soul}
-
\usepackage{scrpage2}
-
\usepackage{titlesec}
-
-
\titleformat{\section}{\large\scshape\raggedright}{}{0em}{}[\titlerule]
-
-
\pagestyle{scrheadings}
-
-
\renewcommand{\headfont}{\normalfont\rmfamily\scshape}
-
-
% the so command to expand the text
-
\cofoot{\so{Liefdestraat, 7 - 1234LI, Amsterdam, Nederland}\\
-
\so{jeff@gmail.com \ +31 (0)6 12345678}}
-
-
\begin{document}
-
\begin{center}
-
-
\textsc{\Huge{\so{Iulius Caesar}}}
-
-
\section{Experiences}
-
\section{Skills}
-
\section{Education}
-
\section{Publications}
-
\section{Personal Info}
-
\section{Languages}
-
\section{Interests}
-
-
\end{center}
-
\end{document}
The result is now much better:

And now, the final touch! Go, grab and install the Marvosym package. It contains fonts with a lot of symbols1. The idea is to specify the symbols for email and phone contact data, to provide visual hints.
To do so, we will use the command \Letter and \Telefon. Also, to increase the size of the symbols, we will use the \Large modifier, all enclosed in curly brakets (to limit the scope of the command, otherwise also the text will be enlarged.)
So, the latex code becomes:
-
\documentclass[a4paper, oneside, final]{scrartcl}
-
-
\usepackage{soul}
-
\usepackage{scrpage2}
-
\usepackage{titlesec}
-
\usepackage{marvosym}
-
-
\titleformat{\section}{\large\scshape\raggedright}{}{0em}{}[\titlerule]
-
-
\pagestyle{scrheadings}
-
-
\renewcommand{\headfont}{\normalfont\rmfamily\scshape}
-
-
% add the symbols for email and phone contact data
-
\cofoot{\so{Liefdestraat, 7 - 1234LI, Amsterdam, Nederland}\\
-
\so{ {\Large\Letter} jeff@gmail.com \ {\Large\Telefon} +31 (0)6 12345678}}
-
-
\begin{document}
-
\begin{center}
-
-
\textsc{\Huge{\so{Iulius Caesar}}}
-
-
\section{Experiences}
-
\section{Skills}
-
\section{Education}
-
\section{Publications}
-
\section{Personal Info}
-
\section{Languages}
-
\section{Interests}
-
-
\end{center}
-
\end{document}
The result is the following:

To recap, in this part of the tutorial we adjusted the page format using KOMA-Script, then we added and customized the footer. The following picture shows the steps we took in the customization:

That's all folks. See you in seven years for the fourth part.
- Take a look at the Marvosym documentation to discover which symbols are available and how to specify them in your document [↩]
This introduction is awesome! But does it end? We’re looking forward to Part 4,5…
Hi, I ended with: “see you in seven years for the fourth part”
Ok, hope to speed up a little bit. But yes, the tutorial will be completed.
Hi there,
Compiling the example above I got this:
Undefined control sequence \def@onesidehead in scrpage2.sty. Coul you help me? I’m currently working on miktek.
Hi Giulio,
I’ve installed MikTex (normally I use Kile LiveTex on Linux) and I looked into your problem. Basically the scrpage2 conflits with titlesec. Just load scrpage2 BEFORE titlesec and all should work. I will correct the code if there are no side effects on LiveTex
Bye
Great! I’ve just tested your suggestion and everything seems to work fine. Now I’d really need to make footer font smaller, in order to place in the second line *2* phone numbers and a long e-mail address. Any suggestion?
Thanks in advance!
Any chance you could post the resume tex file before you finish the tutorial? I’m working on my resume right now and this is the best-looking template I’ve seen. Thanks for the tutorial so far!
[…] I found a very important hint at this website. This tweak will eliminate numbers from section headings, format them in Large size, apply small […]
[…] blog – I finally adopted this template. A two column approach made possible with table […]
Your tutorial is awesome! Can you upload the tex file for your sample pdf please?