A professional Curriculum Vitae template written in LaTeX. Includes a VS Code dev container for seamless development and automated PDF generation through GitHub Actions. Compiled PDFs are automatically published to the Releases Page when you push a git tag.
- Professional LaTeX template with custom styling and formatting commands
- Dev container support for consistent, zero-config development environment
- Automated releases via GitHub Actions — push a tag, get a published PDF
- Custom
\jobentrycommand for consistent, professional job formatting - Pre-configured VS Code extensions for LaTeX editing, spell-checking, and Git
- No local setup required when using dev containers — Docker handles everything
- Docker installed and running
- Visual Studio Code
- Dev Containers extension for VS Code
- TeX Live distribution with the following packages:
texlive-latex-basetexlive-latex-recommendedtexlive-fonts-recommendedlatexmk
-
Clone and open the repository
git clone <your-repo-url> cd cv code .
-
Reopen in Container
- VS Code will detect the dev container configuration and prompt you
- Click "Reopen in Container" (or Command Palette → "Dev Containers: Reopen in Container")
- Wait for the container to build (first time only; all LaTeX dependencies are included)
-
Edit your CV
- Open cv_latex.tex
- Modify the content between
\begin{resume}and\end{resume} - Save your changes (auto-compilation is enabled by default)
-
View your PDF
- The compiled
cv_latex.pdfis automatically generated on save - Click "View PDF" in the LaTeX Workshop panel or right-click → "View LaTeX PDF"
- The compiled
-
Install TeX Live
- Ubuntu/Debian:
sudo apt-get install texlive-latex-base texlive-latex-recommended texlive-fonts-recommended latexmk
- macOS:
brew install --cask mactexor tug.org/mactex - Windows: tug.org/texlive
- Ubuntu/Debian:
-
Clone, compile, and view
git clone <your-repo-url> cd cv pdflatex -interaction=nonstopmode -halt-on-error -output-directory=. cv_latex.tex # Open cv_latex.pdf with your PDF viewer
- Auto-build: Enabled by default — saves automatically compile to PDF
- Manual build: Right-click in editor → "Build LaTeX project"
- View PDF: Click "View PDF" in LaTeX Workshop panel
pdflatex -interaction=nonstopmode -halt-on-error -output-directory=. cv_latex.texOutput: cv_latex.pdf in the project root
Edit cv_latex.tex to customize your CV content.
For consistent job formatting, use the custom \jobentry command:
\jobentry{Job Title}{Company Name}{Location}{Start Date -- End Date}{%
Description of your role and achievements.%
}{Technology1, Technology2, Technology3}For a role that spans several projects, write the role header once with \jobheader and add one \projectentry per project, joined with \\ so they stay in one block:
\jobheader{Job Title}{Company Name}{Location}{Start Date -- End Date}\\
\projectentry{Project Name}{Start Date -- End Date}{%
Description of the project.%
}{Technology1, Technology2}\\
\projectentry{Another Project}{Start Date -- End Date}{%
Description of the project.%
}{Technology1, Technology2}The template includes the following sections:
- Header with name and contact information
- Summary
- Skills
- Experience
- Education
- Community Service
- Languages
- Extra-Curricular Activities
- Keep the existing
res.clsfile unless you need custom styling - Use the
\jobentrycommand for consistency - Maintain the structure between
\begin{resume}and\end{resume} - Use
\section{Section Name}for new sections
GitHub Actions automatically builds and publishes your CV when you push a git tag.
- Make your changes to cv_latex.tex and commit them
- Create and push a version tag:
git tag 2026.02 git push origin 2026.02
- GitHub Actions automatically compiles the LaTeX, creates a release, and attaches the PDF as
Diogo_Santos_Martins_CV.pdf
Pushes to main and pull requests run the same build without releasing, so a broken document is caught before you tag.
Visit the Releases Page to download compiled PDFs from any tagged version.
Every commit is checked by pre-commit. The dev container installs the hooks automatically when it is created; outside the container, install pre-commit and run pre-commit install once.
- Compile check — the CV must build, and no line may run past the right margin
- LaTeX lint —
chktexoncv_latex.tex(settings in.chktexrc) - Spell check —
codespellon.texand.mdfiles - Workflow and Dependabot validation — schema checks on the files under
.github/ - Housekeeping — trailing whitespace, final newlines, line endings, YAML syntax, merge-conflict markers, large files
Run all hooks by hand with pre-commit run --all-files, and update their versions with pre-commit autoupdate.
cv/
├── cv_latex.tex # Your CV content (edit this file)
├── res.cls # LaTeX resume class for styling
├── cv_latex.pdf # Generated PDF output (gitignored)
├── LICENSE # MIT License
├── README.md # This file
├── .devcontainer/
│ ├── Dockerfile # LaTeX environment setup
│ └── devcontainer.json # VS Code dev container configuration
├── .github/
│ └── workflows/
│ └── create-release.yml # Build check and automated release workflow
├── scripts/
│ └── check-latex-build.sh # Compile check used by the pre-commit hook
├── .pre-commit-config.yaml # Pre-commit hook configuration
├── .chktexrc # LaTeX lint settings
└── .vscode/ # VS Code workspace settings
This project is licensed under the MIT License - see the LICENSE file for details.