summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/resumecls
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/xetex/latex/resumecls
Initial commit
Diffstat (limited to 'macros/xetex/latex/resumecls')
-rw-r--r--macros/xetex/latex/resumecls/Makefile56
-rw-r--r--macros/xetex/latex/resumecls/README.md53
-rw-r--r--macros/xetex/latex/resumecls/example/Makefile58
-rw-r--r--macros/xetex/latex/resumecls/example/README.md42
-rw-r--r--macros/xetex/latex/resumecls/example/config-sample.mk15
-rw-r--r--macros/xetex/latex/resumecls/example/config.mk15
-rw-r--r--macros/xetex/latex/resumecls/example/resume-en.pdfbin0 -> 26560 bytes
-rw-r--r--macros/xetex/latex/resumecls/example/resume-en.tex102
-rw-r--r--macros/xetex/latex/resumecls/example/resume-zh.pdfbin0 -> 50306 bytes
-rw-r--r--macros/xetex/latex/resumecls/example/resume-zh.tex102
-rw-r--r--macros/xetex/latex/resumecls/example/resume.bib12
-rw-r--r--macros/xetex/latex/resumecls/resumecls.dtx402
-rw-r--r--macros/xetex/latex/resumecls/resumecls.ins62
-rw-r--r--macros/xetex/latex/resumecls/resumecls.pdfbin0 -> 55404 bytes
14 files changed, 919 insertions, 0 deletions
diff --git a/macros/xetex/latex/resumecls/Makefile b/macros/xetex/latex/resumecls/Makefile
new file mode 100644
index 0000000000..ebb0955055
--- /dev/null
+++ b/macros/xetex/latex/resumecls/Makefile
@@ -0,0 +1,56 @@
+# +-----------------------------------------------------------------------------
+# | File: Makefile
+# | Author: huxuan
+# | E-mail: i(at)huxuan.org
+# | Created: 2012-12-18
+# | Last modified: 2013-03-17
+# | Description:
+# | Makefile for resumecls
+# |
+# | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved.
+# +-----------------------------------------------------------------------------
+
+PACKAGE=resumecls
+
+.PHONY: all cls doc clean distclean
+
+all: doc
+
+# cls
+
+cls: $(PACKAGE).cls
+
+$(PACKAGE).cls: $(PACKAGE).ins $(PACKAGE).dtx
+ latex $(PACKAGE).ins
+
+# doc
+
+doc: $(PACKAGE).pdf
+
+$(PACKAGE).pdf: $(PACKAGE).cls
+ xelatex $(PACKAGE).dtx
+ makeindex -s gind.ist -o $(PACKAGE).ind $(PACKAGE).idx
+ makeindex -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo
+ xelatex $(PACKAGE).dtx
+ xelatex $(PACKAGE).dtx
+
+# clean & distclean
+
+clean:
+ -@rm -f \
+ *~ \
+ *.aux \
+ *.bbl \
+ *.blg \
+ *.dvi \
+ *.glo \
+ *.gls \
+ *.idx \
+ *.ilg \
+ *.ind \
+ *.log \
+ *.out
+
+distclean: clean
+ -@rm -f \
+ *.cls
diff --git a/macros/xetex/latex/resumecls/README.md b/macros/xetex/latex/resumecls/README.md
new file mode 100644
index 0000000000..f9f39c8da4
--- /dev/null
+++ b/macros/xetex/latex/resumecls/README.md
@@ -0,0 +1,53 @@
+# resumecls / [CTAN mirror](http://www.ctan.org/pkg/resumecls)
+
+A LaTeX cls to typeset resume both in English and Chinese
+
+# Usage / How to get it
+
+- [`resumecls`](http://www.ctan.org/pkg/resumecls) has already been included in [CTAN](http://www.ctan.org/) Mirror.
+- To get the cls file you only need to update local CTAN Packages.
+- For how to use it you can refer to [`resumecls-example`](https://github.com/huxuan/resumecls-example) repo.
+
+## Manual Compile
+
+To get the cls file and document manually, you can make it either by Makefile or LaTeX command
+
+### Compile by Makefile (Recommended if your os supported)
+
+#### Get resumecls.cls
+```shell
+make cls
+```
+
+#### Get resumecls.pdf
+```shell
+make doc
+```
+
+#### Clean
+Clean all generated files except for cls and pdf
+```shell
+make clean
+```
+
+#### DistClean
+Clean all generated files
+```shell
+make distclean
+```
+
+### Compile by LaTeX command
+
+#### Get resumecls.cls
+```shell
+latex resumecls.ins
+```
+
+#### Get resumecls.pdf
+```shell
+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
+```
diff --git a/macros/xetex/latex/resumecls/example/Makefile b/macros/xetex/latex/resumecls/example/Makefile
new file mode 100644
index 0000000000..d64ce85801
--- /dev/null
+++ b/macros/xetex/latex/resumecls/example/Makefile
@@ -0,0 +1,58 @@
+# +-----------------------------------------------------------------------------
+# | File: Makefile
+# | Author: huxuan
+# | E-mail: i(at)huxuan.org
+# | Created: 2012-12-18
+# | Last modified: 2013-03-16
+# | Description:
+# | Makefile for resumecls examples
+# |
+# | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved.
+# +-----------------------------------------------------------------------------
+
+include config.mk
+
+.PHONY: resume resume-zh resume-en clean depclean
+
+# resume
+
+resume: resume-zh resume-en
+
+# resume-zh
+
+resume-zh: $(RESUMEZH).pdf
+
+$(RESUMEZH).pdf: $(RESUMEZH).tex $(RESUMEZH).bbl
+ xelatex $(RESUMEZH).tex
+ xelatex $(RESUMEZH).tex
+
+$(RESUMEZH).bbl: $(RESUME).bib
+ xelatex $(RESUMEZH).tex
+ -bibtex $(RESUMEZH)
+
+# resume-en
+
+resume-en: $(RESUMEEN).pdf
+
+$(RESUMEEN).pdf: $(RESUMEEN).tex $(RESUMEEN).bbl
+ xelatex $(RESUMEEN).tex
+ xelatex $(RESUMEEN).tex
+
+$(RESUMEEN).bbl: $(RESUME).bib
+ xelatex $(RESUMEEN).tex
+ -bibtex $(RESUMEEN)
+
+# clean & depclean
+
+clean:
+ -@rm -f \
+ *~ \
+ *.aux \
+ *.bbl \
+ *.blg \
+ *.log \
+ *.out
+
+depclean: clean
+ -@rm -f \
+ *.pdf
diff --git a/macros/xetex/latex/resumecls/example/README.md b/macros/xetex/latex/resumecls/example/README.md
new file mode 100644
index 0000000000..d5ce36f77d
--- /dev/null
+++ b/macros/xetex/latex/resumecls/example/README.md
@@ -0,0 +1,42 @@
+# resumecls-example
+
+Examples to typeset resume in both Chinese and English by using resumecls
+
+## Preview
+
+- [resume-en.pdf](https://github.com/huxuan/resumecls-example/blob/master/resume-en.pdf?raw=true)
+- [resume-zh.pdf](https://github.com/huxuan/resumecls-example/blob/master/resume-zh.pdf?raw=true)
+
+## Workflow
+
+```shell
+git clone git://github.com/huxuan/resumecls-example.git
+cd resumecls-example
+# Modify resume-en.tex resume-en.tex resume.bib (bib is optional)
+# Compile via Makefile or LaTeX command (More info below)
+```
+
+## Compile
+
+### Makefile
+
+```shell
+make resume # get both resume-en.pdf & resume-zh.pdf
+make resume-en # get resume-en.pdf
+make resume-zh # get resume-zh.pdf
+```
+
+### LaTeX
+
+```shell
+xelatex <resume>.tex
+bibtex <resume>
+xelatex <resume>.tex
+xelatex <resume>.tex
+```
+
+Notes:
+
+- To get English version, replace <resume> with 'resume-en'
+- To get Chinese version, replace <resume> with 'resume-zh'
+- If no bib info is needed, the first two steps can be passed
diff --git a/macros/xetex/latex/resumecls/example/config-sample.mk b/macros/xetex/latex/resumecls/example/config-sample.mk
new file mode 100644
index 0000000000..4bb2fe3844
--- /dev/null
+++ b/macros/xetex/latex/resumecls/example/config-sample.mk
@@ -0,0 +1,15 @@
+# +-----------------------------------------------------------------------------
+# | File: config
+# | Author: huxuan
+# | E-mail: i(at)huxuan.org
+# | Created: 2012-12-18
+# | Last modified: 2013-03-16
+# | Description:
+# | Configuration for Makefile
+# |
+# | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved.
+# +-----------------------------------------------------------------------------
+
+RESUME=resume
+RESUMEZH=resume-zh
+RESUMEEN=resume-en
diff --git a/macros/xetex/latex/resumecls/example/config.mk b/macros/xetex/latex/resumecls/example/config.mk
new file mode 100644
index 0000000000..af50ff6504
--- /dev/null
+++ b/macros/xetex/latex/resumecls/example/config.mk
@@ -0,0 +1,15 @@
+# +-----------------------------------------------------------------------------
+# | File: config
+# | Author: huxuan
+# | E-mail: i(at)huxuan.org
+# | Created: 2012-12-18
+# | Last modified: 2013-03-11
+# | Description:
+# | Configuration for Makefile
+# |
+# | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved.
+# +-----------------------------------------------------------------------------
+
+RESUME=resume
+RESUMEZH=resume-zh
+RESUMEEN=resume-en
diff --git a/macros/xetex/latex/resumecls/example/resume-en.pdf b/macros/xetex/latex/resumecls/example/resume-en.pdf
new file mode 100644
index 0000000000..fd5db322b8
--- /dev/null
+++ b/macros/xetex/latex/resumecls/example/resume-en.pdf
Binary files differ
diff --git a/macros/xetex/latex/resumecls/example/resume-en.tex b/macros/xetex/latex/resumecls/example/resume-en.tex
new file mode 100644
index 0000000000..c19d9fde29
--- /dev/null
+++ b/macros/xetex/latex/resumecls/example/resume-en.tex
@@ -0,0 +1,102 @@
+% !Mode:: "TeX:UTF-8"
+% +-----------------------------------------------------------------------------
+% | File: resume-en
+% | Author: huxuan
+% | E-mail: i(at)huxuan.org
+% | Created: 2012-12-18
+% | Last modified: 2013-03-16
+% | Description:
+% | A English Resume Example in LaTeX based on resumecls
+% |
+% | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved.
+% +-----------------------------------------------------------------------------
+
+\documentclass[color]{resumecls}
+
+\ctexset{today=old}
+
+\name{Name}
+\organization{unit, school or organization}
+\address{address, zip code}
+\mobile{+1 XXX XXXX XXXX}
+\mail{i@example.com}
+\homepage{http://example.com}
+\leftfooter{Last Modified: \today}
+\rightfooter{\url{http://example.com/resume-en.pdf}}
+
+\begin{document}
+
+\begin{table}
+
+\maketitle
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{Education}
+\entry{2em}{Xrp{8em}}{%
+ \heiti{School} & City & Time Period \\
+}
+\entry{4em}{lXX}{%
+ Degree & College of XXX & Major in XX \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{Research Experience}
+\entry{2em}{Xp{8em}}{%
+ \heiti{Insitute} & Time Period \\
+}
+\entry{4em}{X}{Lab \quad Position}
+\entry{6em}{X}{%
+ Research Fields and Specific Content \\
+ Publication (You can also use bibtex, like \cite{label}, see end of doc) \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{Working Experience}
+\entry{2em}{Xp{8em}}{%
+ \heiti{Unit} & Time Period \\
+}
+\entry{4em}{X}{Department \quad Position}
+\entry{6em}{X}{%
+ Specific Issues Responsible for \\
+ Specific Content of Your Work \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{School Experience}
+\entry{2em}{Xp{8em}}{%
+ Experience 1 & Time Period \\
+ Experience 2 & Time Period \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{Awards}
+\entry{2em}{Xr}{%
+ Award 1 & Time \\
+ Award 2 & Time \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{Professional Skill}
+\entry{2em}{lX}{%
+ Proficient in & XXX \\
+ Experienced in & XXX \\
+ Familiar with & XXX \\
+ Use & XXX \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{Other listings, such as hobby, network profile and so on}
+\entry{2em}{lX}{%
+ Label 1 & Content 1 \\
+ Label 2 & Content 2 \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% If there is no publications, just comment this part.
+\heading{Appendix: Publications}
+\vspace{-6em}
+\bibliography{resume}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\end{table}
+\end{document}
diff --git a/macros/xetex/latex/resumecls/example/resume-zh.pdf b/macros/xetex/latex/resumecls/example/resume-zh.pdf
new file mode 100644
index 0000000000..e8f45501cd
--- /dev/null
+++ b/macros/xetex/latex/resumecls/example/resume-zh.pdf
Binary files differ
diff --git a/macros/xetex/latex/resumecls/example/resume-zh.tex b/macros/xetex/latex/resumecls/example/resume-zh.tex
new file mode 100644
index 0000000000..533ac7d125
--- /dev/null
+++ b/macros/xetex/latex/resumecls/example/resume-zh.tex
@@ -0,0 +1,102 @@
+% !Mode:: "TeX:UTF-8"
+% +-----------------------------------------------------------------------------
+% | File: resume-zh
+% | Author: huxuan
+% | E-mail: i(at)huxuan.org
+% | Created: 2012-12-18
+% | Last modified: 2013-03-16
+% | Description:
+% | A Chinese Resume Example in LaTeX based on resumecls
+% |
+% | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved.
+% +-----------------------------------------------------------------------------
+
+\documentclass[color]{resumecls}
+
+\ctexset{today=small}
+
+\name{姓名}
+\organization{单位、学校或组织}
+\address{地址,邮编}
+\mobile{+86 XXX XXXX XXXX}
+\mail{i@example.com}
+\homepage{http://example.com}
+\leftfooter{最后更新: \today}
+\rightfooter{\url{http://example.com/resume-zh.pdf}}
+
+\begin{document}
+
+\begin{table}
+
+\maketitle
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{教育经历}
+\entry{2em}{Xrp{8em}}{%
+ \heiti{学校} & 城市 & 起止时间 \\
+}
+\entry{4em}{lXX}{%
+ 学位 & XX学院 & XX专业 \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{科研经历}
+\entry{2em}{Xp{8em}}{%
+ \heiti{地点} & 起止时间 \\
+}
+\entry{4em}{X}{实验室名称 \quad 职位}
+\entry{6em}{X}{%
+ 研究方向和具体内容 \\
+ 发表成果(亦可使用bibtex,像这样\cite{label},见文档最后注释内容) \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{工作经历}
+\entry{2em}{Xp{8em}}{%
+ \heiti{单位名称} & 起止时间 \\
+}
+\entry{4em}{X}{部门 \quad 职位}
+\entry{6em}{X}{%
+ 负责的具体事项 \\
+ 工作的具体内容 \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{校园经历}
+\entry{2em}{Xp{8em}}{%
+ 经历1 & 起止时间 \\
+ 经历2 & 起止时间 \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{获得荣誉}
+\entry{2em}{Xr}{%
+ 荣誉1 & 颁发时间 \\
+ 荣誉2 & 颁发时间 \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{专业技能}
+\entry{2em}{lX}{%
+ 精通 & XXX \\
+ 熟悉 & XXX \\
+ 掌握 & XXX \\
+ 使用 & XXX \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\heading{其他列举事项-如个人爱好,网络资料等}
+\entry{2em}{lX}{%
+ 标签1 & 标签对应内容 \\
+ 标签2 & 标签对应内容 \\
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% 如果不需要发表成果,注释这一段即可
+\heading{附:发表成果}
+\vspace{-6em}
+\bibliography{resume}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\end{table}
+\end{document}
diff --git a/macros/xetex/latex/resumecls/example/resume.bib b/macros/xetex/latex/resumecls/example/resume.bib
new file mode 100644
index 0000000000..4cce48feef
--- /dev/null
+++ b/macros/xetex/latex/resumecls/example/resume.bib
@@ -0,0 +1,12 @@
+@inproceedings{label,
+ title={Title},
+ author={Author},
+ booktitle={Booktitle},
+ year={Year},
+ series={Series},
+ pages={Pages},
+ organization={Organization},
+ month={Month},
+ address={Address},
+ publisher={Publisher}
+}
diff --git a/macros/xetex/latex/resumecls/resumecls.dtx b/macros/xetex/latex/resumecls/resumecls.dtx
new file mode 100644
index 0000000000..19c184c745
--- /dev/null
+++ b/macros/xetex/latex/resumecls/resumecls.dtx
@@ -0,0 +1,402 @@
+% \iffalse meta-comment
+%
+% resumecls.dtx
+% Copyright (C) 2012-2015 by huxuan <i@huxuan.org>
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is huxuan <i@huxuan.org>.
+%
+% This work consists of the files resumecls.dtx and resumecls.ins
+% and the derived file resumecls.cls.
+%
+% \fi
+
+% \iffalse
+%<*driver>
+\ProvidesFile{\jobname.dtx}
+%</driver>
+%<class>\NeedsTeXFormat{LaTeX2e}[2011/06/27]
+%<class>\ProvidesClass{resumecls}
+%<*class>
+ [2015/09/21 v0.3.2 Welcome, contributors]
+%</class>
+%
+%<*driver>
+\documentclass{ltxdoc}
+
+\usepackage{color}
+\definecolor{dkgreen}{rgb}{0,0.6,0}
+\definecolor{gray}{rgb}{0.5,0.5,0.5}
+\definecolor{mauve}{rgb}{0.58,0,0.82}
+
+\usepackage[xetex,unicode,colorlinks]{hyperref}
+
+\usepackage{listings}
+\lstset{
+ backgroundcolor=\color{white},
+ basicstyle=\ttfamily,
+ columns=flexible,
+ breakatwhitespace=false,
+ breaklines=true,
+ captionpos=b,
+ frame=single,
+ numbers=left,
+ numbersep=5pt,
+ showspaces=false,
+ showstringspaces=false,
+ showtabs=false,
+ stepnumber=1,
+ rulecolor=\color{black},
+ tabsize=2,
+ texcl=true,
+ title=\lstname,
+ escapeinside={(*}{*)},
+ extendedchars=false,
+ mathescape=true,
+ xleftmargin=3em,
+ xrightmargin=3em,
+ numberstyle=\color{gray},
+ keywordstyle=\color{blue},
+ commentstyle=\color{dkgreen},
+ stringstyle=\color{mauve},
+ language={[LaTeX]TeX},
+ morekeywords={setmainfont,setCJKmainfont},
+}
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+%\OnlyDescription
+\begin{document}
+ \DocInput{\jobname.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{124}
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \changes{v0.1}{2012/12/19}{Initial version with dtx}
+% \changes{v0.1.1}{2012/12/19}{Minor bug fix}
+% \changes{v0.1.2}{2012/12/19}{Customization part in documentation}
+% \changes{v0.1.3}{2012/12/19}{Add reference settings}
+% \changes{v0.1.4}{2012/12/20}{Use bfseries for better English support}
+% \changes{v0.2}{2013/03/07}{First try to upload to CTAN}
+% \changes{v0.2.1}{2013/03/17}{Celebrate for being included in CTAN}
+% \changes{v0.3}{2013/06/17}{Long time no see, resumecls}
+% \changes{v0.3.1}{2015/09/20}{Compatible with TeXLive 2015 now}
+% \changes{v0.3.2}{2015/09/21}{Welcome, contributors}
+%
+% \GetFileInfo{\jobname.dtx}
+%
+% \DoNotIndex{\\,\begin,\bfseries,\bibliographystyle,\bibsep,\colorbox}
+% \DoNotIndex{\CurrentOption,\DeclareOption,\def,\definecolor,\else,\end}
+% \DoNotIndex{\fancyfoot,\fancyhf,\fi,\footnotesize,\footrulewidth}
+% \DoNotIndex{\headrulewidth,\heiti,\href,\hspace,\hypersetup,\ifrclscolor}
+% \DoNotIndex{\LoadClass,\maketitle,\newcommand,\newif,\pagestyle,\parbox}
+% \DoNotIndex{\PassOptionsToClass,\ProcessOptions,\rclsaddress,\rclscolorfalse}
+% \DoNotIndex{\rclscolortrue,\rclshomepage,\rclsleftfooter,\rclsmail}
+% \DoNotIndex{\rclsmobile,\rclsname,\rclsorganization,\rclsrightfooter}
+% \DoNotIndex{\rightfooter,\refname,\relax,\renewcommand,\RequirePackage}
+% \DoNotIndex{\setlength,\textwidth,\url,\zihao}
+% \DoNotIndex{}
+%
+% \def\resumecls{\textsf{resumecls}\ }
+%
+% \title{The \resumecls package\thanks{This document
+% corresponds to \resumecls\fileversion,
+% dated~\filedate.}}
+% \author{huxuan \\ \texttt{i@huxuan.org}}
+% \date{\filedate}
+%
+% \maketitle
+%
+% \begin{abstract}
+% \resumecls is a \LaTeX cls making typeseting a resume or cv in both English
+% and Chinese more easily.
+% \end{abstract}
+%
+% \section{Introduction}
+%
+% There do exist many resume cls already. But from my experience, most of them
+% are too complicated or lack of flexibility.
+%
+% \resumecls make all contents consists of heading/entry based on tabularx.
+% You can easily design the style and many recommended ones are also listed
+% in example files.
+%
+% What's more, \resumecls already has ctex package imported which means it
+% support Chinese natively. The example-zh.tex and example-en.tex is almost
+% the same (in \LaTeX{} code, not the content). You need no more work
+% to make your resume both in English and Chinese.
+%
+% \section{Usage}
+%
+% \DescribeMacro{\heading}
+% The heading part for each section.
+%
+% \DescribeMacro{\entry}
+% All contents except for heading.
+%
+% \DescribeMacro{\name}
+% Your Name.
+%
+% \DescribeMacro{\organization}
+% Your unit, shcool or organization.
+%
+% \DescribeMacro{\address}
+% Your address and zip code.
+%
+% \DescribeMacro{\mobile}
+% Your phone number.
+%
+% \DescribeMacro{\mail}
+% Your mail address.
+%
+% \DescribeMacro{\homepage}
+% Your homepage.
+%
+% \DescribeMacro{\leftfooter}
+% The content you want to put at left footer. Feel free to leave it blank.
+%
+% \DescribeMacro{\rightrfooter}
+% The content you want to put at right footer. Feel free to leave it blank.
+%
+% \StopEventually{\PrintChanges\PrintIndex}
+%
+% \section{Implementation}
+%
+% \subsection{Options}
+% \begin{macrocode}
+\newif\ifrclscolor\rclscolorfalse
+\DeclareOption{color}{\rclscolortrue}
+% \end{macrocode}
+%
+% \subsection{Import article class}
+% \begin{macrocode}
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
+\ProcessOptions\relax
+\LoadClass[a4paper,12pt]{article}
+% \end{macrocode}
+%
+% \subsection{Import packages}
+% \begin{macrocode}
+\RequirePackage[top=.5in,bottom=.5in,left=.5in,right=.5in]{geometry}
+\RequirePackage[xetex,unicode]{hyperref}
+\RequirePackage[noindent]{ctex}
+\RequirePackage{tabularx}
+\RequirePackage{color}
+\RequirePackage{fancyhdr}
+% \end{macrocode}
+%
+% \subsection{Color Settings}
+%
+% \subsubsection{Background color for heading}
+% \begin{macrocode}
+\definecolor{heading}{gray}{0.85}
+% \end{macrocode}
+%
+% \subsubsection{Color for hyperlink}
+% \begin{macrocode}
+\ifrclscolor
+ \hypersetup{colorlinks}
+\else
+ \hypersetup{hidelinks}
+\fi
+% \end{macrocode}
+%
+% \subsection{Reference Settings}
+%
+% \begin{macrocode}
+\RequirePackage[sort&compress]{natbib}
+\bibliographystyle{unsrt}
+\setlength{\bibsep}{0pt}
+% \end{macrocode}
+%
+% \subsection{Content Variable}
+%
+% \begin{macro}{\name}
+% \begin{macrocode}
+\def\rclsname{}
+\newcommand\name[1]{\def\rclsname{#1}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\organization}
+% \begin{macrocode}
+\def\rclsorganization{}
+\newcommand\organization[1]{\def\rclsorganization{#1}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\address}
+% \begin{macrocode}
+\def\rclsaddress{}
+\newcommand\address[1]{\def\rclsaddress{#1}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\mobile}
+% \begin{macrocode}
+\def\rclsmobile{}
+\newcommand\mobile[1]{\def\rclsmobile{#1}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\mail}
+% \begin{macrocode}
+\def\rclsmail{}
+\newcommand\mail[1]{\def\rclsmail{#1}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\homepage}
+% \begin{macrocode}
+\def\rclshomepage{}
+\newcommand\homepage[1]{\def\rclshomepage{#1}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\leftfooter}
+% \begin{macrocode}
+\def\rclsleftfooter{}
+\newcommand\leftfooter[1]{\def\rclsleftfooter{#1}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\rightfooter}
+% \begin{macrocode}
+\def\rclsrightfooter{}
+\newcommand\rightfooter[1]{\def\rclsrightfooter{#1}}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Custom commands}
+%
+% \begin{macro}{\heading}
+% \begin{macrocode}
+\newcommand{\heading}[1]{%
+ \colorbox{heading}{%
+ \parbox{.98\textwidth}{%
+ \bfseries\zihao{4}#1
+ }
+ } \\
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\entry}
+% \begin{macrocode}
+\newcommand{\entry}[3]{%
+ \begin{tabularx}{\textwidth}{@{\hspace{#1}}#2}
+ #3
+ \end{tabularx}
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Style settings}
+%
+% \subsubsection{Redefine maketitle}
+% \begin{macrocode}
+\renewcommand{\maketitle}{%
+ \entry{0em}{Xr}{%
+ \bfseries\zihao{4}\rclsname & \rclsmobile \\
+ \rclsorganization & \href{mailto:\rclsmail}{\rclsmail} \\
+ \rclsaddress & \url{\rclshomepage} \\
+ }
+}
+% \end{macrocode}
+%
+% \subsubsection{Header and footer settings}
+% \begin{macrocode}
+\pagestyle{fancy}
+\fancyhf{}
+\renewcommand{\headrulewidth}{0pt}
+\renewcommand{\footrulewidth}{0pt}
+\fancyfoot[L]{\footnotesize \rclsleftfooter}
+\fancyfoot[R]{\footnotesize \rclsrightfooter}
+% \end{macrocode}
+%
+% \subsubsection{Empty refname}
+%
+% \begin{macrocode}
+\renewcommand{\refname}{}
+% \end{macrocode}
+%
+% \subsection{Customization}
+%
+% \subsubsection{Font settings}
+%
+% Cause we recommend use Xe\LaTeX{} to compile, so you can easily setting
+% the font to whatever you like only if it exists on you computer.
+% Just add something like following code before |\begin{document}|.
+%
+% \iffalse
+%<*lst>
+% \fi
+\begin{lstlisting}
+\setmainfont{Times New Roman}
+\setCJKmainfont[BoldFont=(*黑体*)]{(*宋体*)}
+\end{lstlisting}
+% \iffalse
+%</lst>
+% \fi
+%
+% \subsubsection{Multiple pages}
+%
+% Currently, \resumecls doesn't support multiple pages very well. Before
+% showing the method for customization I want you relize that only one page
+% for resume is enough. \resumecls use |\begin{table}| and |\end{table}| to
+% enclose all contents so that the whole resume will be limited in one page.
+% But if you really want to have multiple pages, you can set multiple table
+% environments in your tex file and judge the place for new page yourself.
+% the code within document environment for two pages resume will looks like:
+%
+% \iffalse
+%<*lst>
+% \fi
+\begin{lstlisting}
+\begin{table}
+Contents for Page 1
+\end{table}
+\newpage
+\begin{table}
+Contents for Page 2
+\end{table}
+\end{lstlisting}
+% \iffalse
+%</lst>
+% \fi
+%
+% \section{Contributors}
+%
+% \begin{itemize}
+% \item \href{https://github.com/idear1203}{IDEAR <idear1203@github>}
+% \end{itemize}
+%
+% \Finale
+\endinput
diff --git a/macros/xetex/latex/resumecls/resumecls.ins b/macros/xetex/latex/resumecls/resumecls.ins
new file mode 100644
index 0000000000..a6ee21f068
--- /dev/null
+++ b/macros/xetex/latex/resumecls/resumecls.ins
@@ -0,0 +1,62 @@
+%% resumecls.ins
+%% Copyright (C) 2012-2015 by huxuan <i@huxuan.org>
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is huxuan <i@huxuan.org>.
+%
+% This work consists of the files resumecls.dtx and resumecls.ins
+% and the derived file resumecls.cls.
+
+\input docstrip.tex
+\keepsilent
+
+\usedir{xetex/latex/\jobname}
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 2012-2015 by huxuan <i@huxuan.org>
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is huxuan <i@huxuan.org>.
+
+This work consists of the files resumecls.dtx and resumecls.ins
+and the derived file resumecls.cls.
+
+\endpreamble
+
+\generate{\file{\jobname.cls}{\from{\jobname.dtx}{class}}}
+
+\Msg{*********************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the}
+\Msg{* following file into a directory searched by TeX:}
+\Msg{*}
+\Msg{* \space\space \jobname.cls}
+\Msg{*}
+\Msg{* To produce the documentation run the file \jobname.dtx}
+\Msg{* through XeLaTeX.}
+\Msg{*}
+\Msg{* Happy TeXing!}
+\Msg{*********************************************************}
+
+\endbatchfile
diff --git a/macros/xetex/latex/resumecls/resumecls.pdf b/macros/xetex/latex/resumecls/resumecls.pdf
new file mode 100644
index 0000000000..f02898d6c7
--- /dev/null
+++ b/macros/xetex/latex/resumecls/resumecls.pdf
Binary files differ