CVs and Letters

How to Make a CV in LaTeX

Make a CV in LaTeX step by step: a minimal one-page template, a name and contact header, sections for freshers, and compiling to PDF with pdfLaTeX.

On this page
  1. What you need before you start
  2. A minimal CV you can compile
  3. Building the header
  4. Choosing sections for a fresher
  5. Layout tips: one page, paper size and page numbers
  6. Using a ready-made class or template
  7. Common compile errors

A CV in LaTeX is a short document with a header and a set of sections, compiled to a PDF. You write the content as plain text with a few layout commands, and the compiler produces the same page each time you run it. This guide builds a minimal one-page CV from scratch, explains the header code, and then covers ready-made templates for when you want a more designed look.

What you need before you start

  • An editor. Overleaf runs in a browser and needs no install. For a local setup, use TeX Live (Linux and Windows), MacTeX (macOS) or MiKTeX (Windows).
  • A compiler. The example below works with pdfLaTeX, which is Overleaf’s default. Some ready-made templates need XeLaTeX or LuaLaTeX. Check the template’s instructions and set the compiler in Overleaf’s menu to match.
  • Your content. Gather your name, a contact email, your city, and the dates and titles for your education, projects and any work. Having this written down first makes the layout step much quicker.

A minimal CV you can compile

Paste this into a new project and compile it. The name, email and dates are placeholders to replace with your own.

\documentclass[11pt,letterpaper]{article}
\usepackage[margin=0.75in]{geometry}
\usepackage[hidelinks]{hyperref}
\usepackage{enumitem}
\pagestyle{empty}
\setlength{\parindent}{0pt}

\begin{document}

\begin{center}
  {\LARGE \textbf{Jane Doe}}\\[4pt]
  Leeds, UK \quad|\quad \href{mailto:jane@example.com}{jane@example.com} \quad|\quad +00 000 000 0000
\end{center}

\section*{Education}
\textbf{BSc Computer Science}, Example University \hfill 2023--2027\\
Relevant modules: databases, algorithms, statistics

\section*{Projects}
\textbf{Expense tracker} (Python, SQLite) \hfill 2026
\begin{itemize}[noitemsep, topsep=2pt]
  \item Built a command-line app that records and summarises monthly spending.
  \item Wrote unit tests for the core logic.
\end{itemize}

\section*{Skills}
\textbf{Languages:} Python, Java, SQL \\
\textbf{Tools:} Git, Linux, \LaTeX

\end{document}

The preamble, everything before \begin{document}, sets the page size, margins and packages. geometry controls the margins, hyperref turns the email into a link, and enumitem gives compact bullet lists. \pagestyle{empty} hides page numbers, and \setlength{\parindent}{0pt} removes the indent at the start of each paragraph. Each \section* starts an unnumbered heading.

Building the header

The header is the block at the top of the page. \begin{center} centres its lines. \\ ends a line, and \\[4pt] adds a little space after it. \quad inserts a small gap between the contact items. The \href command takes the link target first and the visible text second, so the reader sees a short label while the link points to the email address.

For a fresher, a header with your name, city, email and phone is usually enough. Many CVs leave out a full street address, but check what the job posting asks for. If you have a portfolio, GitHub or LinkedIn profile, add it to the contact line in the same way. Keep the header consistent with your cover letter, so the two documents read as one application.

Choosing sections for a fresher

Recent graduates usually have little work experience, so education, projects, coursework and skills tend to carry the CV. Experience, including internships, part-time jobs and volunteering, can follow if you have it. Put first the section that best matches the job posting, because recruiters often skim the top of the page first.

  • Education: degree, institution, dates, and modules if they match the role.
  • Projects: what you built, the tools you used, and one or two outcomes you can state.
  • Skills: grouped into languages, tools or software, rather than one long list.
  • Experience: internships, part-time jobs and volunteering, with a short bullet for each responsibility.
  • Activities or awards: only when they add something the other sections do not.

Keep each bullet to one line where you can. A bullet that states a result is usually more useful to a reader than a list of tasks.

Layout tips: one page, paper size and page numbers

  • One page. Many fresher CVs aim for a single page. Check the page count after each change. If the CV spills over, shorten the bullets first, then reduce the spacing. Going much smaller than 10pt makes the text hard to read.
  • Paper size. letterpaper is US Letter, used in the US and Canada. a4paper is used in most other countries. Choose the one the employer expects.
  • Page numbers. \pagestyle{empty} hides them. A one-page CV usually does not need them.

Using a ready-made class or template

If you prefer a designed layout, the moderncv class provides CV commands out of the box. \name, \title and \email set the header, and \makecvtitle prints it. \cventry and \cvitem format the entries. Styles and colours are set with \moderncvstyle and \moderncvcolor. Overleaf’s template gallery holds many more examples.

Before you use a template, check three things:

  • The compiler it needs. Some popular resume templates are built for XeLaTeX.
  • The licence, since templates have different terms of use.
  • The paper size and how many pages the template produces by default.

A template is quicker to start with. The hand-built file above is easier to debug, because you can see every line.

Common compile errors

  • Undefined control sequence. A command name is misspelt, or it needs a package you have not loaded. Check the spelling first, then the preamble.
  • File not found. A photo or other file is missing from the project folder, or its name differs in capitals or extension. Overleaf and Linux treat Photo.jpg and photo.jpg as different files.
  • Special characters. %, &, #, $ and _ need a backslash in ordinary text, as in \%, \& and \#. The getting started guide lists the other special characters.

If you are applying for an academic post, the academic CV guide covers a publications list. If you want a photo, the photo guide explains the options and the norms to check first.

Keep exploring

Guides from other topics

All topics →