Skip to content

Latest commit

 

History

History
116 lines (96 loc) · 2.32 KB

README.md

File metadata and controls

116 lines (96 loc) · 2.32 KB

resumecls

A LaTeX cls for resume, simply, support English and Chinese natively.

Workflow

git clone https://github.com/huxuan/resumecls.git
cd resumecls
# Copy sample/example files
cp config-sample.mk config.mk
cp example-zh.tex resume-zh.tex
cp example-en.tex resume-en.tex
cp example.bib resume.bib
# Edit resume-zh.tex resume-en.tex and resume.bib
# Compile via the way (Makefile or LaTeX) listed in the following section

Compile

Compile via Makefile (Recommended if your os support)

First you need cp config-sample.mk config.mk to make Makefile script work. You can change the variable in config.mk corresponding to the your file name. Default and recommended value is RESUME=resume, RESUMEZH=resume-zh, RESUMEEN=resume-en which means you need to name your files as resume-zh.tex, resume-en.tex and resume.bib to make make work.

Get resumecls.cls

make cls

Get resumecls.pdf

make doc

Get example-zh.pdf & example-en.pdf

make example # Get both below
make example-zh
make example-en

Get all files above

make all

Get resume-zh.pdf & resume-en.pdf

make resume # Get both below
make resume-zh
make resume-en

Clean

Clean all generated files except for cls and pdf

make clean

DistClean

Clean all generated files

make distclean

Compile by raw LaTeX command

Get resumecls.cls

latex resumecls.ins

Get resumecls.pdf

xelatex resumecls.dtx
makeindex -s gind.ist -o resumecls.ind resumecls.idx
makeindex -s gglo.ist -o resumecls.gls resumecls.glo
xelatex resumecls.dtx
xelatex resumecls.dtx

Get example-zh.pdf & example-en.pdf

First, you need to get the cls file as described above. Then you also need to replace example in code snippet to example-en or example-zh as you want.

  • if has bib
xelatex example.tex
bibtex example
  • And then or if has no bib
xelatex example.tex
xelatex example.tex

Get resume-zh.pdf & resume-en.pdf

First, you need to get the cls file as described above. Then you also need to replace resume in code snippet corresponding to your own tex file.

  • if has bib
xelatex resume.tex
bibtex resume
  • And then or if has no bib
xelatex resume.tex
xelatex resume.tex