aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2020-06-21 23:21:59 +0800
committerAaron LI <aly@aaronly.me>2020-06-21 23:21:59 +0800
commit02b61d7f8f04ae5270979e83c6333647be5849a9 (patch)
treeb8fe56023a934f9615ab9b16e529142c620ad556
parent4b400b55de9c7ea77fa08ea96620e9cace093d44 (diff)
downloadresume-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.cls4
1 files changed, 2 insertions, 2 deletions
diff --git a/resume.cls b/resume.cls
index 0e2e31f..4b2ebb0 100644
--- a/resume.cls
+++ b/resume.cls
@@ -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