Category
GNU/Linux
Published
Reading time
15 minutes
Discussion
No comments yet

GNU/Linux

Resume and Cover Letter with LaTeX: Moderncv Template, Editors and AI

Resume and cover letter with LaTeX and Moderncv: a current template to download, editors for GNOME and KDE, Overleaf and a local AI that sorts references and drafts cover letters in LaTeX.

Setzer on GNOME with the LaTeX source of a resume on the left and the finished Moderncv resume on the right
Debarshiray, Danish Post Box, CC BY-SA 2.0

// Completely rewritten

I first wrote the German version of this article in December 2014 and rebuilt it from scratch in November 2026: a new template for Moderncv 2.6, current LaTeX editors for GNOME and KDE, Overleaf and a section on what AI is worth when you apply for a job – including one that runs locally on your own computer.

Putting together a proper job application with cover letter and resume is a science of its own. Should the cover letter address every requirement or stay short? Does a photo belong on it? I’m no application pro, but LaTeX helps you with the layout. With the Moderncv class a resume is ready in no time, and a matching cover letter in the same look comes with it.

A lot has happened since 2014: Moderncv is maintained again after years of standstill, Overleaf has replaced the local installation for many people, and AI assistants write entire cover letters on request. There is also a new LaTeX resume template to download – with made-up documents to play with and instructions for the AI that tell it not to invent anything.

Why write your resume and application with LaTeX?

LaTeX separates content and form. You maintain your career stations as text, the layout comes from the class, and every change ends up in the PDF without anything shifting around. That helps when you apply for several jobs: the resume stays the same, only the cover letter changes. With Git you also have every version you ever sent at hand.

The price is getting started. If you have never seen a TEX file, you’ll be staring at it like a cow at a new gate at first. For a resume, though, a handful of commands is enough, and you can copy them from the template. And because LaTeX writes real text into the PDF, applicant portals can read your details – you can quickly check whether that works with pdftotext lebenslauf.pdf -.

The LaTeX resume template with Moderncv

Moderncv is a LaTeX class made for resumes and cover letters. After the original author stopped in 2016, a small team has kept the class going on GitHub since 2020; the current version is 2.6.1 from June 2026. TeX Live includes it, so you don’t have to install anything by hand. You can choose between the styles classic, casual, banking, oldstyle, fancy and contemporary.

My new template uses the classic style in blue and splits the application into five small files: persoenlich.tex holds name, address and photo, praeambel.tex the style and color. lebenslauf.tex (resume) and anschreiben.tex (cover letter) build the two PDFs from them. Recipient and text of the cover letter live in anschreiben-inhalt.tex – the only file you swap for each job. The template and the sample documents are in German; for an English resume, replace ngerman with english in praeambel.tex.

You fill the resume with \cventry: first the period, then position, employer, city, a grade or remark and finally a description, ideally as a list. Fields may stay empty. \cvdoubleitem sets skills in two columns, \cvitemwithcomment languages with their level. A % at the start of a line switches it off – that’s how you hide the photo or a profile on LinkedIn or Mastodon, for example.

Code6 lines
\section{Berufserfahrung}
\cventry{seit 04/2021}{Linux-Systemadministrator}{Pinguin Logistik GmbH}{Tuxhausen}{}{%
  \begin{itemize}
    \item Betrieb von rund 120 Debian-Servern, zwei Rechenzentren
    \item Automatisierung mit Ansible, Patch-Tage von zwei Tagen auf zwei Stunden verkürzt
  \end{itemize}}

The cover letter lives entirely in anschreiben-inhalt.tex. Besides recipient, salutation and closing, it holds the subject line, which Moderncv has been setting on its own with \subject for a while now. You write the actual text in \anschreibentext like in a word processor, and a blank line starts a new paragraph. In German, the text continues in lowercase after the salutation.

Code6 lines
\recipient{Tuxkontor GmbH}{Frau Erika Beispiel\\Personalabteilung\\Am Hafen 7\\12345 Beispielhausen}
\opening{Sehr geehrte Frau Beispiel,}
\closing{Mit freundlichen Grüßen}
\subject{Bewerbung als Linux-Administrator (m/w/d), Kennziffer TK-2026-17}
\newcommand{\anschreibentext}{%
seit fast fünf Jahren halte ich ...}

Installing TeX Live and Moderncv on Linux

All major distributions ship TeX Live in their repositories, they just split the packages differently. On Debian, Ubuntu, Linux Mint and TUXEDO OS, Moderncv sits in texlive-latex-extra, and texlive-fonts-extra provides the icons for phone and email. Without cm-super, pdfLaTeX on TUXEDO OS aborts with a message about “font expansion”, so install that package right away, along with latexmk, which compiles until all references are right.

Bash2 lines
Installation on Ubuntu, Debian and co.
sudo apt install texlive-latex-extra texlive-lang-german texlive-fonts-extra cm-super latexmk

On Arch Linux and derivatives such as EndeavourOS or CachyOS, Moderncv and the icons live in texlive-latexextra and texlive-fontsextra. Fedora splits TeX Live into individual packages. There you install Moderncv specifically, and on Fedora 45 you also need texlive-geometry, otherwise the template lacks its page layout. After that, latexmk builds both PDFs from the template in one go.

Bash2 lines
Installation on Arch Linux
sudo pacman -S texlive-latexextra texlive-langgerman texlive-fontsextra texlive-binextra
Bash2 lines
Installation on Fedora
sudo dnf install texlive-moderncv texlive-babel-german texlive-hyphen-german texlive-geometry texlive-collection-fontsrecommended latexmk
Bash
latexmk -pdf lebenslauf.tex anschreiben.tex

LaTeX editors for GNOME: Setzer and Enter TeX

In the first version of this article, and before that in my guide to application templates with LaTeX (in German), I had recommended Gummi because it shows changes in the PDF right away. Gummi is still in many repositories in version 0.8.3, but on GNOME Setzer is now the more up-to-date choice. The editor is built with GTK 4 and libadwaita, shows the PDF right next to the code and lists warnings and errors below the text.

The easiest way to get the current version 66 is from Flathub; Debian, Ubuntu, Fedora and Arch also have Setzer in their repositories. On Arch, however, the package wouldn’t start on my machine: the Python library pylatexenc was missing, which one of Setzer’s dependencies needs but doesn’t pull in. Until the package is fixed, installing it manually does the trick.

Bash2 lines
Installation on Arch Linux
sudo pacman -S setzer python-pylatexenc

The second GNOME candidate is an old friend with a new name: LaTeXila first became GNOME LaTeX and in 2024 Enter TeX. It is based on the same libraries as gedit and offers menus full of LaTeX commands, a toolbar with Greek letters and projects spanning several files. It opens the PDF in a separate viewer, though.

Enter TeX comes in the enter-tex package on Arch and Debian, version 3.51 is current. For an application with resume and cover letter, Setzer is more convenient because code and result sit in one window. If you also typeset theses or books with LaTeX and value a classic menu bar, Enter TeX is a good fit.

LaTeX editors for KDE Plasma: Kile and TeXstudio

On KDE Plasma, Kile is the classic. The editor now runs on Qt 6 and KDE Frameworks 6, even though it is still formally a beta of version 3.0 (package version 2.9.94). Kile compiles with one click, jumps back and forth between code and PDF and keeps the outline of your resume in the sidebar.

You install Kile via Discover, your distribution’s repositories or from Flathub. On TUXEDO OS and other Debian derivatives the German interface is missing after installation, since the translations come in a separate kile-l10n package. On first launch, Kile offers a system check that looks for pdfLaTeX, BibTeX and friends and sets up the built-in PDF viewer.

Bash2 lines
Installation on Ubuntu, Debian and co.
sudo apt install kile kile-l10n okular

An alternative for all desktops is TeXstudio. The program originally descends from Texmaker and comes with a built-in PDF view with sync, a spell checker and many wizards. The current version is 4.9, and packages exist for all major distributions, Windows and macOS. If you switch between several operating systems, you get the same editor everywhere.

Overleaf: LaTeX in the browser or self-hosted

Without any installation, Overleaf does the job. The online service grew out of ShareLaTeX, which I presented years ago as a collaborative LaTeX editor (in German). Clicking “Open in Overleaf” in the download box above creates the template as a new project in your account, and Overleaf compiles it in the browser. It opens the cover letter first; right-click lebenslauf.tex in the file tree to make the resume the main file. AltaCV and Awesome-CV are available there as ready-made templates too.

The free account is enough for an application: one collaborator per project and, since September 2025, only ten seconds of compile time per run. Setzer needed about three and a half seconds for the resume on my machine, so the margin should be fine. On top of that you get five uses of the AI tools per day. The built-in AI Assistant only comes with the student plan for 7.25 euros per month, billed yearly.

A resume, however, contains exactly the kind of data you’d rather not store with third parties. If you like Overleaf anyway, you can run the Community Edition on your own server with Docker using the Overleaf Toolkit. For a single application that’s too much effort, but for a family, club or study group your own Overleaf can be well worth it.

New LaTeX templates: AltaCV, Awesome-CV, Europass and Typst

Moderncv isn’t the only class for a LaTeX resume. AltaCV sets the resume in two columns with a sidebar and a round photo, the way you know it from online resume builders; the current version is 1.7.4. Awesome-CV brings resume and cover letter in a bold red and black look, but its current version requires LuaLaTeX instead of pdfLaTeX.

For applications elsewhere in the EU, europasscv is an unofficial implementation of the Europass CV, though it hasn’t been updated since 2020. If you don’t want to learn LaTeX at all, take a look at Typst: the typesetting system has a much simpler syntax, and the brilliant-cv template sets resume and cover letter in several language variants. I presented a matching editor for GNOME with Typewriter (in German).

AI for job applications: skills instead of copy and paste

Of course ChatGPT, Claude or Gemini will write you a cover letter in seconds. The result often reads like “I read your job posting with great interest”, though, and recruiters have seen such phrases more than enough. You’re better off giving the AI fixed rules: only documented facts, short paragraphs, output straight in LaTeX for the template.

That’s what skills are for. A skill is a folder with a SKILL.md file containing instructions and a short description; Claude loads it whenever a task fits. GitHub already has quite a few skills for resumes, such as the Resume Tailoring Skill, which builds a version tailored to the job from existing resumes and prepares questions for the interview.

The template includes its own skill called bewerbung-latex in the ki folder. It sorts references into a profile, translates the coded language of German job references into grades, matches the profile against a job posting and outputs the cover letter directly as anschreiben-inhalt.tex. The most important rule is right at the top: invent nothing, mark anything missing as [FEHLT: …]. For Claude Code, copy the skill into your skills folder.

Bash2 lines
mkdir -p ~/.claude/skills/bewerbung-latex
cp ki/SKILL.md ~/.claude/skills/bewerbung-latex/

One catch remains with all cloud services: job references contain your date of birth, address and your employer’s assessment – data you normally don’t send to anyone who doesn’t decide on your application. If you hand them to a cloud AI anyway, at least turn off their use for training. The more consistent choice is an AI that runs on your own computer.

Local AI: sorting references with Ollama

With Ollama, language models run directly on your own Linux machine, without references or cover letters ever leaving the house. On Arch Linux, install ollama-cuda for NVIDIA or ollama-rocm for AMD graphics cards; for other distributions there is an install script. Without a suitable graphics card, the models run on the CPU, but noticeably slower. llmfit (in German) tells you which model fits your hardware.

Bash2 lines
curl -fsSL https://ollama.com/install.sh | sh
ollama pull qwen3:8b

So you don’t have to copy together a long prompt every time, the template comes with the script bewerbung-ki.sh. It extracts the text from your references with pdftotext, sends it to Ollama together with the skill as instructions and saves the result in profil.md. Enter your own details such as notice period and salary expectation in notizen.md beforehand.

Bash3 lines
Installation on Ubuntu, Debian and co.
sudo apt install poppler-utils jq
./ki/bewerbung-ki.sh ordnen beispiel/0*.pdf

To try it out, the beispiel folder contains four made-up documents of the applicant Hans im Glück: an interim reference, a job reference, a vocational school certificate and a training certificate. With them, I pitted three models against each other on TUXEDO OS, on a notebook with a GeForce RTX 3050 Ti and 4 GB of video memory: Qwen3 with 4 and 8 billion parameters and Gemma 3 with 4 billion.

qwen3:8b did best. It put the stations together correctly and read the coded reference language correctly: “stets zu unserer vollsten Zufriedenheit” became “very good” and “stets zu unserer vollen Zufriedenheit” became “good”, each with the matching quote. Because the model doesn’t quite fit into 4 GB, it ran at about 8 tokens per second and needed between one and a half and three minutes for sorting.

No run was free of errors, though. Once qwen3:8b turned the date of the interim reference into the end of employment, once it added Ubuntu to the skills, and in one run it reported a period of “unemployment” with swapped dates that never existed. gemma3:4b was almost three times as fast at a good 22 tokens per second, but mixed up the grades. qwen3:4b got lost in English monologues despite thinking mode being turned off.

Cover letter matching the job posting

In the second step, the script matches the profile against a job posting and writes the cover letter. You save the posting as a text file; the script first prints a table of met and missing requirements and then the LaTeX block. It saves that as anschreiben-ki.tex so your own version doesn’t get overwritten.

Bash
./ki/bewerbung-ki.sh anschreiben beispiel/05-stellenanzeige-tuxkontor.md

Technically, this worked every time: recipient, salutation and reference number were right, and the generated block compiled with LaTeX without errors. qwen3:8b handled the matching well, for example correctly rating Kubernetes as “partially” met. One run took the model a little over a minute. In terms of content, though, the cover letter wasn’t fit to send in any of the three runs.

Each time the AI claimed something that wasn’t in the documents: that Hans had run Kubernetes clusters at Pinguin Logistik, looked after a cloud platform or was available “immediately” or from a date long past – even though the notes stated a notice period of three months. The model didn’t set a single [FEHLT: …]. gemma3:4b even opened its cover letter with the German equivalent of “I read your job posting with great interest”.

LaTeX typesets your application, but you have to write it yourself

For a cleanly typeset resume, LaTeX with Moderncv is still a good choice in 2026: the class is maintained again, every distribution ships it, and Setzer, Kile or Overleaf make getting started easy. A local AI helps with sorting documents and matching them against the job posting. The cover letter, however, made up facts every single time in my test.

I believe hardly anyone will write an application without AI anymore. A formally clean cover letter is no longer something that makes you stand out, so the form gains a little more weight again. That’s exactly where LaTeX can earn you points. Whether a plain or a more elaborately designed application suits you and the company better is your call, though.

Comments

Nothing here yet.

Leave a Reply

Your email address will not be published.

Markdown is supported: **bold**, _italic_, [link text](URL), `Code`, lines starting with - for lists, 1. for numbered lists, triple backticks for code blocks.

Security check: runs automatically, nothing for you to do.

Lines are wider than the screen. Turn your phone sideways to see more – or switch on Wrap.

Linux und Ich — Resume and Cover Letter with LaTeX: Moderncv Template, Editors and AI
https://linuxundich.de/en/latex-resume-cover-letter-moderncv/ — printed on November 30, 2026