diff options
author | Aaron LI <aly@aaronly.me> | 2020-06-22 00:11:37 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2020-06-22 00:11:37 +0800 |
commit | 6b719bb875e8cf8a097b01686b3537209d0fd41b (patch) | |
tree | 33f2922642c9fa4024a60bd25f4134b8ef443c90 /resume.cls | |
parent | b5d7a3c0781a5a60523a00c931542619a286d8d5 (diff) | |
download | resume-6b719bb875e8cf8a097b01686b3537209d0fd41b.tar.bz2 |
resume.cls: Redefine '\emph' to bold style in zh environ
Diffstat (limited to 'resume.cls')
-rw-r--r-- | resume.cls | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |