该简历模板基于 https://github.com/liweitianux/resume 进行修改,对一些格式进行了完善,使其更符合中文简历的格式,以下是参考图片
-
Linux
- Install XeLaTeX, latexmk, GNU Make, and GhostScript packages;
- Install the required fonts;
- Replace
resume-zh.tex
andresume-en.tex
with your versions; - Compile to PDFs with a simple
make
:-)
-
Windows
- Install MiKTeX;
- Install the required fonts;
- Replace
resume-zh.tex
andresume-en.tex
with your versions; - Open
resume-*.tex
in TeXWorks, chooseXeLaTeX
to compile, and confirm the prompts to install the missing packages along the run.
-
Docker or Podman
Just run
make docker
ormake podman
.
NOTE: The fontawesome5 package from CTAN is used, which is more advanced and bundles with the font files.
The original fontawesome5 contents are now obsolete but kept for reference.
I wrote a simple tool
make-fontawesome5.py
, which will download the latest icon list from the Font Awesome project and then generate the LaTeX style file for using the latest Font Awesome 5 fonts (the free edition) in LaTeX.This Python script requires the
PyYAML
package, which can be installed withpip3 install --user PyYAML
orsudo apt install python3-yaml
.A pre-generated style file
fontawesome5.sty
(matches Font Awesome v5.15.4) is also provided.The Font Awesome fonts are designed by the Font Awesome project and can be obtained from here. NOTE: All the following 3 fonts should be installed into the system:
- Font Awesome 5 Free (generic icons in regular style, much less than the solid style)
- Font Awesome 5 Free Solid (generic icons in solid style)
- Font Awesome 5 Free Brands (various brand icons)
i.e., the following 3 OTF files are needed:
Font Awesome 5 Free-Regular-400.otf
Font Awesome 5 Free-Solid-900.otf
Font Awesome 5 Brands-Regular-400.otf
-
Linux (Debian 12/bookworm)
- Method 1: Install the
texlive-fonts-extra
package, but it pulls off lots of fonts and costs ~1.6GB disk space! - Method 2: Manually install the
fontawesome5
package to~/texmf
with thetlmgr
(TeX Live Manager) tool: (1) initialize the user tree:tlmgr --usermode init-usertree
; (2) install the package:tlmgr --usermode install fontawesome5
.
- Method 1: Install the
-
Windows (MiKTeX 22.10)
MiKTeX will auto prompt for the missing package, so just confirm to install it.
Besides the Font Awesome fonts, this template also requires the following opensource fonts:
-
IBM Plex (Serif, Mono)
Download the
OpenType.zip
archive from the releases page, and then extract theIBM-Plex-Serif
andIBM-Plex-Mono
directories and install them. -
Download the
NotoSerifCJKsc.zip
archive (Language Specific OTFs Simplified Chinese) from the releases page, and then install all of them.
On Debian Linux, simply do apt install fonts-ibm-plex fonts-noto-cjk
.
Of course, you can use the fonts you prefer by modifying the template directly.
However, you may need to tweak the
column width \leftcolwidth
in the template
accordingly.
On Linux systems, create a directory for each font family under
~/.local/share/fonts
, then copy the font files (OTF or TTF) over,
then execute fc-cache -f
to refresh the font cache, done.
Take the Font Awesome font family as an example:
mkdir -p ~/.local/share/fonts/FontAwesome
cp <font-awesome-otf-files> ~/.local/share/fonts/FontAwesome/
fc-cache -fv
- check the fonts correctly installed:
fc-list | grep 'FontAwesome'
- The LaTeX class
resume.cls
is distributed under the LaTeX Project Public License (LPPL) Version 1.3c. - The tool
make-fontawesome5.py
is distributed under the MIT License. - All content files are published under the CC BY 4.0 License.