summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/resumecls
diff options
context:
space:
mode:
Diffstat (limited to 'macros/xetex/latex/resumecls')
-rw-r--r--macros/xetex/latex/resumecls/Makefile17
-rw-r--r--macros/xetex/latex/resumecls/README.md14
-rw-r--r--macros/xetex/latex/resumecls/example/Makefile10
-rw-r--r--macros/xetex/latex/resumecls/example/README.md14
-rw-r--r--macros/xetex/latex/resumecls/example/resume-en.pdfbin24081 -> 25042 bytes
-rw-r--r--macros/xetex/latex/resumecls/example/resume-en.tex16
-rw-r--r--macros/xetex/latex/resumecls/example/resume-zh.pdfbin61067 -> 68834 bytes
-rw-r--r--macros/xetex/latex/resumecls/example/resume-zh.tex16
-rw-r--r--macros/xetex/latex/resumecls/resumecls.dtx9
-rw-r--r--macros/xetex/latex/resumecls/resumecls.pdfbin67113 -> 66700 bytes
10 files changed, 64 insertions, 32 deletions
diff --git a/macros/xetex/latex/resumecls/Makefile b/macros/xetex/latex/resumecls/Makefile
index 00d76be301..dff99d44cd 100644
--- a/macros/xetex/latex/resumecls/Makefile
+++ b/macros/xetex/latex/resumecls/Makefile
@@ -3,7 +3,7 @@
# | Author: huxuan
# | E-mail: i(at)huxuan.org
# | Created: 2012-12-18
-# | Last modified: 2020-04-16
+# | Last modified: 2020-04-20
# | Description:
# | Makefile for resumecls
# |
@@ -12,7 +12,7 @@
PACKAGE=resumecls
-.PHONY: all cls doc clean distclean dist
+.PHONY: all cls doc dist clean distclean
all: doc
@@ -34,7 +34,13 @@ $(PACKAGE).pdf: $(PACKAGE).cls
xelatex $(PACKAGE).dtx
xelatex $(PACKAGE).dtx
-# clean & distclean
+# dist & clean
+
+dist: distclean cls doc
+ mv $(PACKAGE).cls example/
+ cd example && make dist
+ cd .. && find $(PACKAGE) -name '*.pdf' | tar zcvf $(PACKAGE).tar.gz \
+ -T - --exclude-vcs --exclude-vcs-ignores $(PACKAGE)
clean:
-@rm -f \
@@ -56,8 +62,3 @@ distclean: clean
*.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/macros/xetex/latex/resumecls/README.md b/macros/xetex/latex/resumecls/README.md
index 16be555bfb..7fb713493e 100644
--- a/macros/xetex/latex/resumecls/README.md
+++ b/macros/xetex/latex/resumecls/README.md
@@ -2,7 +2,13 @@
A LaTeX document class to typeset a resume or cv both in English and Chinese with more ease and flexibility.
-## Installation
+## Online Preview & Edit (with Overleaf Template)
+
+An overleaf template is available [here](https://www.overleaf.com/latex/templates/resumecls-example/xncvhkjgyjvf) for preview.
+
+You can also edit it directly on the overleaf.
+
+## Installation (for Offline Usage)
Since [`resumecls`](http://www.ctan.org/pkg/resumecls) is included in the CTAN.
You can install it by any package managers.
@@ -17,11 +23,11 @@ tlmgr install resumecls
please refer to [`resumecls-example`](https://github.com/huxuan/resumecls-example).
-## Compile manually
+## Offline Compile
To get the document class file and document manually, you can compile via Makefile or LaTeX commands.
-### Compile by Makefile
+### Makefile
#### Get resumecls.cls
```shell
@@ -43,7 +49,7 @@ make clean
make distclean
```
-### Compile by LaTeX commands
+### LaTeX
#### Get resumecls.cls
```shell
diff --git a/macros/xetex/latex/resumecls/example/Makefile b/macros/xetex/latex/resumecls/example/Makefile
index 01be9090da..4c49977fdd 100644
--- a/macros/xetex/latex/resumecls/example/Makefile
+++ b/macros/xetex/latex/resumecls/example/Makefile
@@ -3,14 +3,14 @@
# | Author: huxuan
# | E-mail: i(at)huxuan.org
# | Created: 2012-12-18
-# | Last modified: 2020-04-16
+# | Last modified: 2020-04-20
# | Description:
# | Makefile for resumecls examples
# |
# | Copyrgiht (c) 2012-2020 by huxuan. All rights reserved.
# +-----------------------------------------------------------------------------
-.PHONY: resume resume-zh resume-en clean depclean
+.PHONY: resume resume-zh resume-en dist clean distclean
RESUME=resume
RESUMEZH=resume-zh
@@ -44,7 +44,9 @@ $(RESUMEEN).bbl: $(RESUME).bib
xelatex $(RESUMEEN).tex
-bibtex $(RESUMEEN)
-# clean & depclean
+# dist & clean
+
+dist: distclean resume
clean:
-@rm -f \
@@ -55,6 +57,6 @@ clean:
*.log \
*.out
-depclean: clean
+distclean: clean
-@rm -f \
*.pdf
diff --git a/macros/xetex/latex/resumecls/example/README.md b/macros/xetex/latex/resumecls/example/README.md
index 07c17e5b17..4531a5933c 100644
--- a/macros/xetex/latex/resumecls/example/README.md
+++ b/macros/xetex/latex/resumecls/example/README.md
@@ -1,21 +1,23 @@
# resumecls-example
-Examples to typeset resume both in Chinese and English with resumecls.
+Examples to typeset resume both in Chinese and English with [resumecls](https://ctan.org/pkg/resumecls).
-## Preview
+## Online Preview & Edit (with Overleaf Template)
-An online version for preview is available on [overleaf](https://www.overleaf.com/read/yrtmzwhtzwtz).
+An overleaf template is available [here](https://www.overleaf.com/latex/templates/resumecls-example/xncvhkjgyjvf) for preview.
-## Workflow
+You can also edit it directly on the overleaf.
+
+## Offline Usage
```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 via Makefile or LaTeX commands (More info below).
```
-## Compile
+## Offline Compile
### Makefile
diff --git a/macros/xetex/latex/resumecls/example/resume-en.pdf b/macros/xetex/latex/resumecls/example/resume-en.pdf
index 6df6d32a8a..115519030f 100644
--- a/macros/xetex/latex/resumecls/example/resume-en.pdf
+++ 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
index 899fa8cb0c..e14b37ee1e 100644
--- a/macros/xetex/latex/resumecls/example/resume-en.tex
+++ b/macros/xetex/latex/resumecls/example/resume-en.tex
@@ -4,7 +4,7 @@
% | Author: huxuan
% | E-mail: i(at)huxuan.org
% | Created: 2012-12-18
-% | Last modified: 2020-04-16
+% | Last modified: 2020-04-20
% | Description:
% | A English Resume Example in LaTeX based on resumecls
% |
@@ -27,7 +27,7 @@
\begin{table}
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\heading{Experience (Compacted version)}
+\heading{Experience (Compact Version)}
\entry{0em}{Xlr}{{\bfseries Organization} \quad Department & Position & Time Period}
\entry{2em}{X}{%
Description1 \\
@@ -83,9 +83,19 @@
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% If there is no publications, just comment this part.
-\heading{Appendix: Publications}
+\heading{Publications}
\vspace{-6em}
\bibliography{resume}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Sample for two or more pages.
+\end{table}
+\clearpage
+\begin{table}
+\heading{Heading for Page 2}
+\entry{0em}{X}{
+ Each page is enclosed inside a table environment. \\
+ \verb|\clearpage| between the tables will lead to a new page. \\
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{table}
\end{document}
diff --git a/macros/xetex/latex/resumecls/example/resume-zh.pdf b/macros/xetex/latex/resumecls/example/resume-zh.pdf
index d492d9efaa..676da72ba0 100644
--- a/macros/xetex/latex/resumecls/example/resume-zh.pdf
+++ 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
index b778648bc3..cc272e2c56 100644
--- a/macros/xetex/latex/resumecls/example/resume-zh.tex
+++ b/macros/xetex/latex/resumecls/example/resume-zh.tex
@@ -4,7 +4,7 @@
% | Author: huxuan
% | E-mail: i(at)huxuan.org
% | Created: 2012-12-18
-% | Last modified: 2020-04-16
+% | Last modified: 2020-04-20
% | Description:
% | A Chinese Resume Example in LaTeX based on resumecls
% |
@@ -82,10 +82,20 @@
标签2 & 标签对应内容 \\
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% 如果不需要发表成果,注释这一段即可
-\heading{附:发表成果}
+% 如果不需要发表成果,注释这一段即可。
+\heading{发表成果}
\vspace{-6em}
\bibliography{resume}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% 两页或者多页的示例。
+\end{table}
+\clearpage
+\begin{table}
+\heading{第二页小标题}
+\entry{0em}{X}{
+ 每个页面都包含在一个 table 环境中。 \\
+ 表格之间的 \verb|\clearpage| 会新建一个页面。 \\
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{table}
\end{document}
diff --git a/macros/xetex/latex/resumecls/resumecls.dtx b/macros/xetex/latex/resumecls/resumecls.dtx
index a71405307a..e8ce58498b 100644
--- a/macros/xetex/latex/resumecls/resumecls.dtx
+++ b/macros/xetex/latex/resumecls/resumecls.dtx
@@ -27,7 +27,7 @@
%<class>\NeedsTeXFormat{LaTeX2e}
%<class>\ProvidesClass{resumecls}
%<*class>
- [2020/04/16 v0.4.0 Hello 2020]
+ [2020/04/20 v0.4.1 Minor fix with enhanced examples]
%</class>
%
%<*driver>
@@ -110,6 +110,7 @@
% \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}
+% \changes{v0.4.1}{2020/04/20}{Minor fix with enhanced examples}
%
% \GetFileInfo{\jobname.dtx}
%
@@ -359,8 +360,8 @@
%
% 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:
+% and use |\clearpage| to split them into multiple pages. A minimal example
+% looks like the following:
%
% \iffalse
%<*lst>
@@ -369,7 +370,7 @@
\begin{table}
Contents for Page 1
\end{table}
-\newpage
+\clearpage
\begin{table}
Contents for Page 2
\end{table}
diff --git a/macros/xetex/latex/resumecls/resumecls.pdf b/macros/xetex/latex/resumecls/resumecls.pdf
index 6d9adc5753..85cd70b4f2 100644
--- a/macros/xetex/latex/resumecls/resumecls.pdf
+++ b/macros/xetex/latex/resumecls/resumecls.pdf
Binary files differ