aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2020-06-22 00:11:37 +0800
committerAaron LI <aly@aaronly.me>2020-06-22 00:11:37 +0800
commit6b719bb875e8cf8a097b01686b3537209d0fd41b (patch)
tree33f2922642c9fa4024a60bd25f4134b8ef443c90
parentb5d7a3c0781a5a60523a00c931542619a286d8d5 (diff)
downloadresume-6b719bb875e8cf8a097b01686b3537209d0fd41b.tar.bz2
resume.cls: Redefine '\emph' to bold style in zh environ
-rw-r--r--resume.cls6
1 files changed, 5 insertions, 1 deletions
diff --git a/resume.cls b/resume.cls
index 4b2ebb0..4c08ff9 100644
--- a/resume.cls
+++ b/resume.cls
@@ -12,7 +12,7 @@
%% https://www.latextemplates.com/template/plasmati-graduate-cv
%%
-\ProvidesClass{resume}[2020/06/21 v2.4.8 Resume Class]
+\ProvidesClass{resume}[2020/06/21 v2.4.9 Resume Class]
\LoadClass{article}
%%
@@ -95,6 +95,10 @@
% Chinese setup
\ifdef{\@zh}{
\setCJKmainfont{Source Han Serif SC}
+ % Redefine '\emph' to bold style
+ % Credit: https://tex.stackexchange.com/a/227644
+ \let\emph\relax % there's no \RedeclareTextFontCommand
+ \DeclareTextFontCommand{\emph}{\bfseries}
}{}
% Font Awesome icon aliases