From 02b61d7f8f04ae5270979e83c6333647be5849a9 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 21 Jun 2020 23:21:59 +0800 Subject: 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. \__xeCJK_patch_microtype_get_slot: Change the loading orders fix the above issue. --- resume.cls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resume.cls') 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 -- cgit v1.2.2