From 6b719bb875e8cf8a097b01686b3537209d0fd41b Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 22 Jun 2020 00:11:37 +0800 Subject: resume.cls: Redefine '\emph' to bold style in zh environ --- resume.cls | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.2