Yuan² Resume (Yuan-Squared) is a LaTeX resume template that produces a two-column CV with precise alignment and modern typography, compiled with XeLaTeX and released under the MIT License.
What is Yuan² Resume?
Yuan² Resume is a refactored version of the original yuan-resume project, modernized by Jing Yuan in 2025. It takes personal details, contact information, and LaTeX-written section content as input and outputs a formatted PDF resume. The repository is built around yuan2resume.cls as the core document class, main.tex as the editable entry point, and configs/fonts-default.tex plus configs/fonts-commercial.tex for font setup.
Key Features
- Two-column layout — The
cvtwocolumnenvironment structures content into two aligned columns, with left-aligned section headings and left-right pairs viacvpair. - Dual font set support — Default open-source fonts (Source Serif 4, EB Garamond, TeX Gyre Cursor) are bundled; switching to the commercial set requires the
fontset=commercialclass option and manual installation of Sabon LT Std, Calluna, Cronos Pro LT, and Courier New. - One-click Overleaf setup — The README links to an Overleaf template using a ZIP snapshot, so you can compile online without installing LaTeX.
- Page footer toggle — The
pagefooterboolean class option controls whether the footer shows your name and current/total pages or no header/footer. - Structured content commands — Includes
cvsection,cvpair,cvitemize, andcvnumlistenvironments for headings, paired entries, bullet lists, and numbered lists. - Automatic font file detection — The class detects
.otf,.ttf,.OTF, or.TTFfiles placed in the correct subdirectories underfonts/. - Modular project structure — Separates
main.tex,yuan2resume.cls,configs/fonts-default.tex, andconfigs/fonts-commercial.tex, keeping font configuration isolated from content. - MIT-licensed — Released under the MIT License, matching the original yuan-resume; bundled open-source fonts are under SIL OFL and GUST Font License.
Who is it for?
- Academics and researchers — Compile CVs for faculty applications, using the numbered list environment for publications.
- Graduate students — Build a research-focused resume with contact block, section headings, and bulleted experience.
- Working professionals — Create an industry resume by editing the name, position, phone, email, and homepage commands in
main.tex. - LaTeX template maintainers — Use the modular class and config files as a starting point for custom resume classes.
What can you do with Yuan² Resume?
- Job applicants: Fill in the header commands and add experience sections in
main.tex, then compile to a PDF resume. - Researchers: Use
cvsectionandcvitemizeto structure publications, talks, and honors. - Overleaf users: Open the one-click Overleaf link, edit in the browser, and download the compiled PDF.
- Design-conscious users: Toggle the
fontsetoption between default and commercial to change the entire typography.
How does Yuan² Resume work?
Clone or download the repository, edit main.tex, and run xelatex main.tex; run xelatex twice to resolve references. For online use, click the Overleaf one-click link, set the compiler to XeLaTeX, and compile.
Pros and cons
Pros
- Free under MIT, with open-source fonts bundled in the repo.
- Modular structure separates fonts from content.
- One-click Overleaf support.
Cons
- Requires XeLaTeX; pdfLaTeX will not compile it.
- Commercial font set needs separately purchased font files.
- Single two-column layout only; other layouts require editing the class.
Pricing
The template is free and open source under the MIT License. The default open-source font set is free, while the optional commercial fonts (Sabon LT Std, Calluna, Cronos Pro LT) must be purchased or licensed separately.
Alternatives
- Original yuan-resume — The earlier project by Yuanhf that Yuan² Resume refactors, offering the original two-column design without the updated font management.
- Awesome-CV — Another MIT-licensed LaTeX resume template with a sidebar layout and color themes.
FAQ
Is Yuan² Resume free?
Yes, the template is released under the MIT License, so you can use, modify, and redistribute it freely. The bundled open-source fonts are also free; commercial fonts must be bought separately.
What LaTeX compiler do I need?
Yuan² Resume requires XeLaTeX. The README explicitly warns that pdfLaTeX will fail, so be sure to set the compiler to XeLaTeX in Overleaf or use xelatex locally.
How do I switch to the commercial font set?
Change the class option in main.tex from the default font set to the commercial one, place the commercial font files in the matching subdirectories under fonts/, and recompile. The class auto-detects .otf and .ttf files.
Can I use Yuan² Resume on Overleaf?
Yes. The README includes a one-click Overleaf link that imports a ZIP snapshot of the repository. You can also upload the files manually, set the compiler to XeLaTeX, and compile.
What licenses cover the bundled fonts?
The open-source fonts included in the repository are released under the SIL Open Font License and the GUST Font License. The commercial fonts are not included; their licenses must be obtained when you purchase them.




