This repository provides a LaTeX template for creating a concise curriculum vitae (CV). The distinguishing feature of this project is the custom class file template.cls, which defines styles and new commands to make CV creation easy and consistent.
- Custom Class: All CV styling and new commands are defined in
template.cls. - New Commands: Includes commands for section formatting, work items, name display, and layout helpers for left/right text alignment. See
template.clsfor details. - Main File: The central entry point for compiling your CV is
cv.tex.
- Base Class: Uses the standard
articleclass. - Packages:
titlesecetoolboxfontspec(recommended fonts: Calibri, Calibri Bold)
\name\leftrighttext\datedsection/\datedsubsection\subsectionLarge\content\workitems- Custom section formats for clean CV layout
Use latexmk or lualatex to build your CV:
latexmk cv.tex
# or
lualatex cv.texTo install a minimal TeX distribution, use:
brew install --cask basictexFor a complete distribution and richer features, visit MacTeX.
Docker setup is planned. Stay tuned for updates.
A Makefile is provided for automation:
-
make build
Compiles the CV usinglualatex.- Optional environment variables:
TARGET(default:cv): Output file name (without extension).SOURCE(default:cv.tex): Source LaTeX file.
- Example:
make build TARGET=mycv SOURCE=main.tex
- Optional environment variables:
-
make clean
Cleans up auxiliary LaTeX files.
(Runsmake buildbefore cleaning.)- Removes:
.aux,.log,.outfiles.
- Removes:
-
make
Equivalent tomake build(default: buildscv.texintocv.pdf).
For further details about LaTeX, visit latex-project.org.