aboutsummaryrefslogtreecommitdiffstats
path: root/resume.cls
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2023-03-07 12:35:47 +0800
committerAaron LI <aly@aaronly.me>2023-03-07 21:35:43 +0800
commit9d2c34f456cbef0b7298f7fe428b11a6134ab72b (patch)
tree881f6d8d4defae394824754f00979a6803febcd2 /resume.cls
parent473fd6c62c7f5919992f596056e3eee05c897c64 (diff)
downloadresume-9d2c34f456cbef0b7298f7fe428b11a6134ab72b.tar.bz2
class: Switch Chinese font to 'Noto Serif CJK' since it's more common
Actually, the 'Noto Serif CJK' font and the previous 'Source Han Serif' font are the same font but with different names. However, the former is more common and ready to use; for example, it's generally installed by default on many Linux distros and it's available on Overleaf. Update the README accordingly.
Diffstat (limited to 'resume.cls')
-rw-r--r--resume.cls6
1 files changed, 3 insertions, 3 deletions
diff --git a/resume.cls b/resume.cls
index 67b3bbd..4d9bede 100644
--- a/resume.cls
+++ b/resume.cls
@@ -1,5 +1,5 @@
%%
-%% Copyright (c) 2018-2019 Weitian LI
+%% Copyright (c) 2018-2023 Weitian LI
%% Copyright (c) 2016 Christophe Roger
%% The LaTeX Project Public License (LPPL) Version 1.3c
%%
@@ -12,7 +12,7 @@
%% https://www.latextemplates.com/template/plasmati-graduate-cv
%%
-\ProvidesClass{resume}[2023/02/03 v2.5.0 Resume Class]
+\ProvidesClass{resume}[2023/02/03 v2.5.1 Resume Class]
\LoadClass{article}
%%
@@ -94,7 +94,7 @@
% Chinese setup
\ifdef{\@zh}{
- \setCJKmainfont{Source Han Serif SC}
+ \setCJKmainfont{Noto Serif CJK SC}
% Redefine '\emph' to bold style
% Credit: https://tex.stackexchange.com/a/227644
\let\emph\relax % there's no \RedeclareTextFontCommand