diff options
author | Karl Berry <karl@freefriends.org> | 2020-04-16 21:00:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-04-16 21:00:35 +0000 |
commit | 6b5074c759808bbb476ec9783e5c9f9b6441f4ff (patch) | |
tree | 32cbd8ed64e397b9cf467729bcfecdcc10bbc3ab /Master | |
parent | f3ceb667ff2f396a533f91b87fa0c424f1fdf450 (diff) |
resumecls (16apr20)
git-svn-id: svn://tug.org/texlive/trunk@54768 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
15 files changed, 171 insertions, 209 deletions
diff --git a/Master/texmf-dist/doc/xelatex/resumecls/README.md b/Master/texmf-dist/doc/xelatex/resumecls/README.md index f9f39c8da4e..16be555bfb5 100644 --- a/Master/texmf-dist/doc/xelatex/resumecls/README.md +++ b/Master/texmf-dist/doc/xelatex/resumecls/README.md @@ -1,18 +1,27 @@ -# resumecls / [CTAN mirror](http://www.ctan.org/pkg/resumecls) +# resumecls -A LaTeX cls to typeset resume both in English and Chinese +A LaTeX document class to typeset a resume or cv both in English and Chinese with more ease and flexibility. -# Usage / How to get it +## Installation -- [`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. +Since [`resumecls`](http://www.ctan.org/pkg/resumecls) is included in the CTAN. +You can install it by any package managers. -## Manual Compile +Take `tlgmr` as example, -To get the cls file and document manually, you can make it either by Makefile or LaTeX command +```shell +tlmgr install resumecls +``` + +## Usage / Examples + +please refer to [`resumecls-example`](https://github.com/huxuan/resumecls-example). + +## Compile manually + +To get the document class file and document manually, you can compile via Makefile or LaTeX commands. -### Compile by Makefile (Recommended if your os supported) +### Compile by Makefile #### Get resumecls.cls ```shell @@ -24,19 +33,17 @@ make cls make doc ``` -#### Clean -Clean all generated files except for cls and pdf +#### Clean intermediate generated files ```shell make clean ``` -#### DistClean -Clean all generated files +#### Clean for distribution ```shell make distclean ``` -### Compile by LaTeX command +### Compile by LaTeX commands #### Get resumecls.cls ```shell diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile b/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile index d64ce858012..01be9090da4 100644 --- a/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile +++ b/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile @@ -3,17 +3,19 @@ # | Author: huxuan # | E-mail: i(at)huxuan.org # | Created: 2012-12-18 -# | Last modified: 2013-03-16 +# | Last modified: 2020-04-16 # | Description: # | Makefile for resumecls examples # | -# | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved. +# | Copyrgiht (c) 2012-2020 by huxuan. All rights reserved. # +----------------------------------------------------------------------------- -include config.mk - .PHONY: resume resume-zh resume-en clean depclean +RESUME=resume +RESUMEZH=resume-zh +RESUMEEN=resume-en + # resume resume: resume-zh resume-en diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/README.md b/Master/texmf-dist/doc/xelatex/resumecls/example/README.md index d5ce36f77d1..07c17e5b173 100644 --- a/Master/texmf-dist/doc/xelatex/resumecls/example/README.md +++ b/Master/texmf-dist/doc/xelatex/resumecls/example/README.md @@ -1,19 +1,18 @@ # resumecls-example -Examples to typeset resume in both Chinese and English by using resumecls +Examples to typeset resume both in Chinese and English with 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) +An online version for preview is available on [overleaf](https://www.overleaf.com/read/yrtmzwhtzwtz). ## 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) +# Modify resume-en.tex resume-en.tex resume.bib (bib is optional). +# Compile via Makefile or LaTeX command (More info below). ``` ## Compile @@ -37,6 +36,6 @@ 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 +- To get the English version, replace `<resume>` with 'resume-en'. +- To get the Chinese version, replace `<resume>` with 'resume-zh'. +- If no bib info is needed, the first two steps can be skipped. diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/config-sample.mk b/Master/texmf-dist/doc/xelatex/resumecls/example/config-sample.mk deleted file mode 100644 index 4bb2fe3844b..00000000000 --- a/Master/texmf-dist/doc/xelatex/resumecls/example/config-sample.mk +++ /dev/null @@ -1,15 +0,0 @@ -# +----------------------------------------------------------------------------- -# | 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/Master/texmf-dist/doc/xelatex/resumecls/example/config.mk b/Master/texmf-dist/doc/xelatex/resumecls/example/config.mk deleted file mode 100644 index af50ff6504b..00000000000 --- a/Master/texmf-dist/doc/xelatex/resumecls/example/config.mk +++ /dev/null @@ -1,15 +0,0 @@ -# +----------------------------------------------------------------------------- -# | 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/Master/texmf-dist/doc/xelatex/resumecls/example/resume-common.tex b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-common.tex new file mode 100644 index 00000000000..1d4e2a2e643 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-common.tex @@ -0,0 +1,15 @@ +% !Mode:: "TeX:UTF-8" +% +----------------------------------------------------------------------------- +% | File: resume-common.tex +% | Author: huxuan +% | E-mail: i(at)huxuan.org +% | Created: 2020-04-16 +% | Last modified: 2020-04-16 +% | Description: +% | Common information to typeset resume with resumecls +% | +% | Copyright (c) 2020-2020 by huxuan. All rights reserved. +% +----------------------------------------------------------------------------- +\mobile{+XX XXX XXXX XXXX} +\mail{i@example.com} +\homepage{http://example.com} diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.pdf b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.pdf Binary files differindex fd5db322b88..6df6d32a8a9 100644 --- a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.pdf +++ b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.pdf diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex index c19d9fde294..899fa8cb0cd 100644 --- a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex +++ b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-en.tex @@ -4,99 +4,88 @@ % | Author: huxuan % | E-mail: i(at)huxuan.org % | Created: 2012-12-18 -% | Last modified: 2013-03-16 +% | Last modified: 2020-04-16 % | Description: % | A English Resume Example in LaTeX based on resumecls % | -% | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved. +% | Copyright (c) 2012-2020 by huxuan. All rights reserved. % +----------------------------------------------------------------------------- \documentclass[color]{resumecls} -\ctexset{today=old} +\include{resume-common} \name{Name} -\organization{unit, school or organization} -\address{address, zip code} -\mobile{+1 XXX XXXX XXXX} -\mail{i@example.com} -\homepage{http://example.com} +\organization{School or Organization} +\address{Address, Zip Code} \leftfooter{Last Modified: \today} \rightfooter{\url{http://example.com/resume-en.pdf}} -\begin{document} +\ctexset{today=old} +\begin{document} \begin{table} - \maketitle - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\heading{Education} -\entry{2em}{Xrp{8em}}{% - \heiti{School} & City & Time Period \\ +\heading{Experience (Compacted version)} +\entry{0em}{Xlr}{{\bfseries Organization} \quad Department & Position & Time Period} +\entry{2em}{X}{% + Description1 \\ + Description2 \\ } -\entry{4em}{lXX}{% - Degree & College of XXX & Major in XX \\ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\heading{Education} +\entry{0em}{Xrr}{{\bfseries School} & City & Time Period} +\entry{2em}{lXX}{% + Degree1 & College1 & Major1 \\ + Degree2 & College2 & Major2 \\ } - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{Research Experience} -\entry{2em}{Xp{8em}}{% - \heiti{Insitute} & Time Period \\ +\entry{0em}{Xr}{{\bfseries Insitute} & Time Period} +\entry{2em}{X}{Lab \quad Position} +\entry{4em}{X}{% + Description \\ + bibtex can be used here, like \cite{label} \\ } -\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 \\ +\entry{0em}{Xr}{{\bfseries Organization} & Time Period} +\entry{2em}{X}{Department \quad Position} +\entry{4em}{X}{% + Description \\ } - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{School Experience} -\entry{2em}{Xp{8em}}{% - Experience 1 & Time Period \\ - Experience 2 & Time Period \\ +\entry{0em}{Xr}{% + Experience1 & Time Period \\ + Experience2 & Time Period \\ } - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{Awards} -\entry{2em}{Xr}{% - Award 1 & Time \\ - Award 2 & Time \\ +\entry{0em}{Xr}{% + Award1 & Time \\ + Award2 & Time \\ } - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{Professional Skill} -\entry{2em}{lX}{% +\entry{0em}{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 \\ +\entry{0em}{lX}{% + Label1 & Content1 \\ + Label2 & Content2 \\ } - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % If there is no publications, just comment this part. \heading{Appendix: Publications} \vspace{-6em} \bibliography{resume} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \end{table} \end{document} diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.pdf b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.pdf Binary files differindex e8f45501cd1..d492d9efaa1 100644 --- a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.pdf +++ b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.pdf diff --git a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex index 533ac7d125a..b778648bc31 100644 --- a/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex +++ b/Master/texmf-dist/doc/xelatex/resumecls/example/resume-zh.tex @@ -1,102 +1,91 @@ % !Mode:: "TeX:UTF-8" % +----------------------------------------------------------------------------- -% | File: resume-zh +% | File: resume-zh.tex % | Author: huxuan % | E-mail: i(at)huxuan.org % | Created: 2012-12-18 -% | Last modified: 2013-03-16 +% | Last modified: 2020-04-16 % | Description: % | A Chinese Resume Example in LaTeX based on resumecls % | -% | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved. +% | Copyright (c) 2012-2020 by huxuan. All rights reserved. % +----------------------------------------------------------------------------- \documentclass[color]{resumecls} -\ctexset{today=small} +\include{resume-common} \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} +\ctexset{today=small} +\begin{document} \begin{table} - \maketitle - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\heading{教育经历} -\entry{2em}{Xrp{8em}}{% - \heiti{学校} & 城市 & 起止时间 \\ +\heading{经历(紧凑版)} +\entry{0em}{Xlr}{{\bfseries 组织} \quad 部门 & 职位 & 起止时间} +\entry{2em}{X}{% + 描述1 \\ + 描述2 \\ } -\entry{4em}{lXX}{% - 学位 & XX学院 & XX专业 \\ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\heading{教育经历} +\entry{0em}{Xrr}{{\bfseries 学校} & 城市 & 起止时间} +\entry{2em}{lXX}{% + 学位1 & 学院1 & 专业1 \\ + 学位2 & 学院2 & 专业2 \\ } - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{科研经历} -\entry{2em}{Xp{8em}}{% - \heiti{地点} & 起止时间 \\ +\entry{0em}{Xr}{{\bfseries 地点} & 起止时间} +\entry{2em}{X}{实验室 \quad 职位} +\entry{4em}{X}{% + 描述 \\ + 这里可以使用bibtex,如\cite{label} \\ } -\entry{4em}{X}{实验室名称 \quad 职位} -\entry{6em}{X}{% - 研究方向和具体内容 \\ - 发表成果(亦可使用bibtex,像这样\cite{label},见文档最后注释内容) \\ -} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{工作经历} -\entry{2em}{Xp{8em}}{% - \heiti{单位名称} & 起止时间 \\ -} -\entry{4em}{X}{部门 \quad 职位} -\entry{6em}{X}{% - 负责的具体事项 \\ - 工作的具体内容 \\ +\entry{0em}{Xr}{{\bfseries 组织} & 起止时间} +\entry{2em}{X}{部门 \quad 职位} +\entry{4em}{X}{% + 描述 \\ } - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{校园经历} -\entry{2em}{Xp{8em}}{% +\entry{0em}{Xr}{% 经历1 & 起止时间 \\ 经历2 & 起止时间 \\ } - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{获得荣誉} -\entry{2em}{Xr}{% +\entry{0em}{Xr}{% 荣誉1 & 颁发时间 \\ 荣誉2 & 颁发时间 \\ } - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{专业技能} -\entry{2em}{lX}{% +\entry{0em}{lX}{% 精通 & XXX \\ 熟悉 & XXX \\ 掌握 & XXX \\ 使用 & XXX \\ } - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \heading{其他列举事项-如个人爱好,网络资料等} -\entry{2em}{lX}{% +\entry{0em}{lX}{% 标签1 & 标签对应内容 \\ 标签2 & 标签对应内容 \\ } - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % 如果不需要发表成果,注释这一段即可 \heading{附:发表成果} \vspace{-6em} \bibliography{resume} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \end{table} \end{document} diff --git a/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf b/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf Binary files differindex f02898d6c7c..6d9adc5753d 100644 --- a/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf +++ b/Master/texmf-dist/doc/xelatex/resumecls/resumecls.pdf diff --git a/Master/texmf-dist/doc/xelatex/resumecls/Makefile b/Master/texmf-dist/source/xelatex/resumecls/Makefile index ebb0955055e..00d76be301d 100644 --- a/Master/texmf-dist/doc/xelatex/resumecls/Makefile +++ b/Master/texmf-dist/source/xelatex/resumecls/Makefile @@ -3,16 +3,16 @@ # | Author: huxuan # | E-mail: i(at)huxuan.org # | Created: 2012-12-18 -# | Last modified: 2013-03-17 +# | Last modified: 2020-04-16 # | Description: # | Makefile for resumecls # | -# | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved. +# | Copyrgiht (c) 2012-2020 by huxuan. All rights reserved. # +----------------------------------------------------------------------------- PACKAGE=resumecls -.PHONY: all cls doc clean distclean +.PHONY: all cls doc clean distclean dist all: doc @@ -53,4 +53,11 @@ clean: distclean: clean -@rm -f \ - *.cls + *.cls \ + *.pdf \ + *.tar.gz + +dist: distclean cls doc + touch $(PACKAGE).tar.gz + tar zcvf $(PACKAGE).tar.gz *.pdf --exclude=$(PACKAGE).tar.gz \ + --exclude-vcs --exclude-vcs-ignores . diff --git a/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx b/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx index 19c184c745b..a71405307af 100644 --- a/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx +++ b/Master/texmf-dist/source/xelatex/resumecls/resumecls.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % % resumecls.dtx -% Copyright (C) 2012-2015 by huxuan <i@huxuan.org> +% Copyright (C) 2012-2020 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 @@ -24,10 +24,10 @@ %<*driver> \ProvidesFile{\jobname.dtx} %</driver> -%<class>\NeedsTeXFormat{LaTeX2e}[2011/06/27] +%<class>\NeedsTeXFormat{LaTeX2e} %<class>\ProvidesClass{resumecls} %<*class> - [2015/09/21 v0.3.2 Welcome, contributors] + [2020/04/16 v0.4.0 Hello 2020] %</class> % %<*driver> @@ -81,7 +81,7 @@ %</driver> % \fi % -% \CheckSum{124} +% \CheckSum{123} % % \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 @@ -109,6 +109,7 @@ % \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} +% \changes{v0.4.0}{2020/04/16}{Hello 2020} % % \GetFileInfo{\jobname.dtx} % @@ -135,23 +136,23 @@ % \maketitle % % \begin{abstract} -% \resumecls is a \LaTeX cls making typeseting a resume or cv in both English -% and Chinese more easily. +% \resumecls is a document class to typeset a resume or cv both in English and +% Chinese with more ease and flexibility. % \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. +% There do exist many resume document classes already. But from my experience, +% most of them are a little bit 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. +% You can easily design the style and some recommended patterns are also listed +% in the example. % -% 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. +% What's more, \resumecls has CTeX intergated which means it support Chinese +% natively. The example tex files for both English and Chinese are almost the +% same except for the actual content. You can just focus on the content and +% have your resume both in English and Chinese with no more work. % % \section{Usage} % @@ -159,7 +160,7 @@ % The heading part for each section. % % \DescribeMacro{\entry} -% All contents except for heading. +% All entry-like contents except for the heading. % % \DescribeMacro{\name} % Your Name. @@ -168,22 +169,22 @@ % Your unit, shcool or organization. % % \DescribeMacro{\address} -% Your address and zip code. +% Your address and possibily with zip code. % % \DescribeMacro{\mobile} % Your phone number. % % \DescribeMacro{\mail} -% Your mail address. +% Your email address. % % \DescribeMacro{\homepage} % Your homepage. % % \DescribeMacro{\leftfooter} -% The content you want to put at left footer. Feel free to leave it blank. +% The content you want to put at left footer. Feel free to leave it empty. % % \DescribeMacro{\rightrfooter} -% The content you want to put at right footer. Feel free to leave it blank. +% The content you want to put at right footer. Feel free to leave it empty. % % \StopEventually{\PrintChanges\PrintIndex} % @@ -197,16 +198,15 @@ % % \subsection{Import article class} % \begin{macrocode} -\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexart}} \ProcessOptions\relax -\LoadClass[a4paper,12pt]{article} +\LoadClass[a4paper,12pt]{ctexart} % \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} @@ -324,9 +324,9 @@ % \begin{macrocode} \renewcommand{\maketitle}{% \entry{0em}{Xr}{% - \bfseries\zihao{4}\rclsname & \rclsmobile \\ - \rclsorganization & \href{mailto:\rclsmail}{\rclsmail} \\ - \rclsaddress & \url{\rclshomepage} \\ + \bfseries\zihao{4}\rclsname & \rclsmobile \\ + \rclsorganization & \href{mailto:\rclsmail}{\rclsmail} \\ + \rclsaddress & \url{\rclshomepage} \\ } } % \end{macrocode} @@ -351,30 +351,16 @@ % % \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 +% Since we use Xe\LaTeX{} and CTeX, everything should be fine with no extra +% configuration. But if you dedicated to, you can change the font as you like +% only if Xe\LaTeX{} or CTeX supported. % % \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: +% Since the document generated from \resumecls is just a bunch of tables, it is +% prettey straightfoward to enclose the contents in multiple table environments +% and use |\newpage| to split them into multiple pages. A minimal example looks +% like the following: % % \iffalse %<*lst> @@ -394,9 +380,8 @@ Contents for Page 2 % % \section{Contributors} % -% \begin{itemize} -% \item \href{https://github.com/idear1203}{IDEAR <idear1203@github>} -% \end{itemize} +% Please refer to +% \href{https://github.com/huxuan/resumecls/graphs/contributors}{Contributors}. % % \Finale \endinput diff --git a/Master/texmf-dist/source/xelatex/resumecls/resumecls.ins b/Master/texmf-dist/source/xelatex/resumecls/resumecls.ins index a6ee21f0681..8b27db6bc38 100644 --- a/Master/texmf-dist/source/xelatex/resumecls/resumecls.ins +++ b/Master/texmf-dist/source/xelatex/resumecls/resumecls.ins @@ -1,5 +1,5 @@ %% resumecls.ins -%% Copyright (C) 2012-2015 by huxuan <i@huxuan.org> +%% Copyright (C) 2012-2020 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 @@ -25,7 +25,7 @@ This is a generated file. -Copyright (C) 2012-2015 by huxuan <i@huxuan.org> +Copyright (C) 2012-2020 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 diff --git a/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls b/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls index cf84e002012..56d5a3a505e 100644 --- a/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls +++ b/Master/texmf-dist/tex/xelatex/resumecls/resumecls.cls @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2012-2015 by huxuan <i@huxuan.org> +%% Copyright (C) 2012-2020 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 @@ -26,17 +26,16 @@ %% and the derived file resumecls.cls. %% -\NeedsTeXFormat{LaTeX2e}[2011/06/27] +\NeedsTeXFormat{LaTeX2e} \ProvidesClass{resumecls} - [2015/09/21 v0.3.2 Welcome, contributors] + [2020/04/16 v0.4.0 Hello 2020] \newif\ifrclscolor\rclscolorfalse \DeclareOption{color}{\rclscolortrue} -\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexart}} \ProcessOptions\relax -\LoadClass[a4paper,12pt]{article} +\LoadClass[a4paper,12pt]{ctexart} \RequirePackage[top=.5in,bottom=.5in,left=.5in,right=.5in]{geometry} \RequirePackage[xetex,unicode]{hyperref} -\RequirePackage[noindent]{ctex} \RequirePackage{tabularx} \RequirePackage{color} \RequirePackage{fancyhdr} @@ -79,9 +78,9 @@ } \renewcommand{\maketitle}{% \entry{0em}{Xr}{% - \bfseries\zihao{4}\rclsname & \rclsmobile \\ - \rclsorganization & \href{mailto:\rclsmail}{\rclsmail} \\ - \rclsaddress & \url{\rclshomepage} \\ + \bfseries\zihao{4}\rclsname & \rclsmobile \\ + \rclsorganization & \href{mailto:\rclsmail}{\rclsmail} \\ + \rclsaddress & \url{\rclshomepage} \\ } } \pagestyle{fancy} |