diff options
author | Aaron LI <aly@aaronly.me> | 2020-06-21 23:21:59 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2020-06-21 23:21:59 +0800 |
commit | 02b61d7f8f04ae5270979e83c6333647be5849a9 (patch) | |
tree | b8fe56023a934f9615ab9b16e529142c620ad556 | |
parent | 4b400b55de9c7ea77fa08ea96620e9cace093d44 (diff) | |
download | resume-02b61d7f8f04ae5270979e83c6333647be5849a9.tar.bz2 |
resume.cls: Load 'microtype' after 'xeCJK' to avoid conflicts
With the latest TeXLive, I would get the following error if 'microtype'
was loaded before 'xeCJK':
! Undefined control sequence.
<argument> \__xeCJK_patch_microtype_get_slot:
Change the loading orders fix the above issue.
-rw-r--r-- | resume.cls | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ %% https://www.latextemplates.com/template/plasmati-graduate-cv %% -\ProvidesClass{resume}[2019/08/17 v2.4.7 Resume Class] +\ProvidesClass{resume}[2020/06/21 v2.4.8 Resume Class] \LoadClass{article} %% @@ -49,10 +49,10 @@ \RequirePackage[skins]{tcolorbox} % required by tikz to make the header \RequirePackage{csquotes} \RequirePackage[normalem]{ulem} -\RequirePackage{microtype} \ifdef{\@zh}{ \RequirePackage{xeCJK} }{} +\RequirePackage{microtype} % % Hyperref |