aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2024-12-05 09:25:01 +0800
committerAaron LI <aly@aaronly.me>2024-12-05 09:25:01 +0800
commit96dec30a6dacef1072ce512b3ed544d1f101b6e6 (patch)
treee99e49d2550931f29de1f6394925cc39c3a93825
parent2199ab1bdd21632db6d3cfa453c92be1d065fe16 (diff)
downloadresume-96dec30a6dacef1072ce512b3ed544d1f101b6e6.tar.bz2
class: Fix color scope by using \textcolor{}{}
-rw-r--r--resume.cls6
1 files changed, 3 insertions, 3 deletions
diff --git a/resume.cls b/resume.cls
index 9fa2aa5..b20ee8e 100644
--- a/resume.cls
+++ b/resume.cls
@@ -12,7 +12,7 @@
%% https://www.latextemplates.com/template/plasmati-graduate-cv
%%
-\ProvidesClass{resume}[2024/12/05 v2.5.5 Resume Class]
+\ProvidesClass{resume}[2024/12/05 v2.5.6 Resume Class]
\LoadClass{article}
%%
@@ -303,11 +303,11 @@
% Render the tagline
\newcommand*{\resumetitle}[1]{%
- \color{accentcolor}{\textbf{\large{#1}}}
+ \textcolor{accentcolor}{\textbf{\large{#1}}}
}
% Render the name: \user{<firstanme>}{<lastname>}
\newcommand*{\user}[2]{%
- \color{accentcolor}{%
+ \textcolor{accentcolor}{%
\ifdef{\@zh}%
{{\LARGE\bfseries #2#1}}%
{{\LARGE\bfseries #1 \textsc{#2}}}%