# Formatting your CV in LaTeX

Academics in all stages need a CV, from prospective graduate students to postdocs, to faculty applying for promotion. As you gain experience, change roles, and apply for new positions or grants, your CV should change to reflect this. In this post I’ll share my thoughts on how best to format your CV in LaTeX so that it does its job while requiring minimal effort to update and maintain. I’ll also share my own LaTeX CV template for you to use — or modify to make your own!

## What’s in a CV

The main point of this post is to discuss how to TeX up and maintain a CV you already have, but if you’re starting from scratch, the goal of the CV is to communicate your academic credentials and professional history. A good place to begin is by looking at CVs of other people, perhaps starting with your advisor(s), other faculty members you know, and other graduate students. Ask lots of people what they think is important in a CV, then take the average of the advice you receive — they might even share their own templates! Advice on this topic is abundant online too; see for example this past blog post.

For a current graduate student applying for grants or research postdocs, it should probably contain at minimum:

• Educational history (undergraduate, but not high school),
• List of publications and preprints,
• List of invited and contributed talks,
• Teaching experience, and
• Relevant organizational experience, outreach, and awards.

Generally, things are listed in order of importance, with the most important items at the top and the less important ones coming later (and irrelevant things don’t show up!). Of course, importance is relative to your priorities and those of the job you’re applying for. Most graduate student CVs I’ve seen roughly follow the order above, but with prestigious awards and grants listed earlier, if present. The story is somewhat different for undergraduates applying to graduate school; in that case, I’d choose to list relevant coursework and any research experiences or REUs prominently, in lieu of publications and talks.

Some of the best advice I have received and implemented is to keep one long master CV with everything on it, then copy and paste that into new files for each application, or type of position. This is made easy by having a great LaTeXed CV! If you’re not sure whether it’s appropriate to put something on your CV, you can simply include it, comment it out, and ask your friends, colleagues, and advisor(s) for advice. Then if you decide it should be included, it’s easily uncommented!

## Using a template

If you don’t already have your CV TeXed up, or you don’t love how it looks, you can use a preformatted template. For example, if you like how my CV looks, I’ve made the template publicly available! Check out my github to download the .cls and .tex file, or find them on Overleaf. It’s pretty basic, but I like it and it’s easy to use. Here’s how:

1. Download the cv_style.cls and CV_template.tex files. Save them in the same folder. (If you’re on Overleaf, copy both files into a new project.)
2. Open CV_template.tex in your favorite latex editor and compile.
3. Fill in with your details.

That’s it! From here you can tweak the CV either by editing the .tex file or by tinkering with the .cls file. I’ll discuss this more carefully at the end of this post.

There’s endless options for CV templates available on the web (including directly through Overleaf), so check them out and see if there’s one you like more. Some may just be .tex files, unlike mine above. Experiment to see what you like, but remember that it doesn’t have to be perfect; it just needs to convey your information without being an eyesore.

### Some useful general tips

The trivlist environment
This environment provides a list, much like itemize or enumerate, but it doesn’t have bullets or numbering. It’s a trivial list! I have sometimes found the need to list things while control the spacing between them, but without bullet points or numbers, and this command fills that role nicely.
The etaremune environment
This is how to get lists numbered in reverse, so your most recent items are listed first, and it’s clear from a glance how many items are in the list. This may be especially relevant in the cases of papers or talks, as the person reading your CV will likely want to know how many of these you have.
Link to things! If the person reading your CV is interested in your paper, make it easy for them to find it by adding a link. This goes for your email, your website (you should have one, maybe this is a future blog post), etc. If you list outreach programs or awards you have won that aren’t self-explanatory, including a hyperlink is an easy way to offer more explanation without taking up real estate on your CV. Note that you’ll probably want to use the hyperref package, which provides the href command to make hyperlinks (this is included in my template).
Make it public
Getting help
If you get stuck with LaTeX, Google and Stack Exchange are your friends. There’s an entire Stack Exchange subdomain dedicated to LaTeX with well-written solutions and thoughtful comments, and I don’t think I’ve had a LaTeX problem that it didn’t quickly solve. The Overleaf documentation is also a great resource, and all major packages have their documentation posted online.

## Looking more closely at the .cls file

I was originally inspired to make a resume template when applying for summer jobs as an undergraduate, as I had just recently learned LaTeX and thought it would be a fun way to learn some of the details (it was). Plus I actually needed the resume to apply for these jobs! I originally followed some advice on Overleaf and tinkered with it over the years to produce the present form. I’ve actually simplified it several times, to the point that it doesn’t do much more than format the section headings and provide some commands, and it doesn’t need to.

The function of the file cv_style.cls is to provide the document class cv_style. This is then used in place of a standard class, like article or amsart, at the beginning of a .tex file. The file can simply be placed in the same directory as the .tex file, where it tells the compiler to format the sections a certain way and to allow certain commands, described below.

The first few lines specify certain packages which must be loaded for the class file to work properly, just like you’d load packages in a .tex file. Then there are the titleformat and titlespacing commands, which allow you to specify how the section headings appear. For the section headings, I like the small caps with a horizontal rule under, but you can tinker the size, font style, and spacing to your liking!

The remainder of the file consists of four commands. These provide formatting for your contact information and name, as well as talks and papers.

• \contact{institution}{department}{office address}{email}{website}This command produces your contact information. Each item appears on its own line, with a small space between the office address and the email. I like this centered, at the top of the file, right under the name.
• \name{}This command produces your name (what a surprise), nice and big, in pretty small caps font.
• \talk{title}{conference}{host location}{date}This command formats a talk. The title is italicized, while the conference, host institution, and date are listed simply, separated by commas.
• \paper[coauthor(s)]{title}{status}{notes/links}This is my command to format a paper. I like the title in bold, and I use the status input to share whether the paper is in preparation, submitted to a journal, or accepted. In the final input, I include any relevant links, e.g. to the arxiv version of the paper. The first argument is to include any coauthors. This is an optional argument, since not all papers will have coauthors.

Whenever I write a new paper or give a talk, I just go to my .tex file, make a new an item in a list environment, and fill in the fields in the appropriate command above. If I ever don’t like the formatting — say I don’t want the titles of papers to be bold anymore — one change to the .cls file changes all of the entries in the .tex file!

## Concluding thoughts

With just a bit of forethought, and the (optional, but fun) effort of learning how to make a simple .cls file, this system has saved me a lot of time and made it incredibly easy to keep my CV up to date. It’s also straightforward to tinker with, so I can fine tune the appearance when I choose to.

Got a template you’d like to share, or your own tips for writing and formatting a CV? Share them in the comments below!