aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resume.cls12
1 files changed, 7 insertions, 5 deletions
diff --git a/resume.cls b/resume.cls
index 9247d40..4580d60 100644
--- a/resume.cls
+++ b/resume.cls
@@ -12,7 +12,7 @@
%% https://www.latextemplates.com/template/plasmati-graduate-cv
%%
-\ProvidesClass{resume}[2019/08/17 v2.4.5 Resume Class]
+\ProvidesClass{resume}[2019/08/17 v2.4.6 Resume Class]
\LoadClass{article}
%%
@@ -175,15 +175,17 @@
}
\newcommand*{\githublink}[2]{%
- \href{http://github.com/#1/#2}%
- {\githubSymbol{} #1/#2}%
+ \href{http://github.com/#1/#2}{\githubSymbol{} #1/#2}%
}
\newcommand*{\link}[2]{\textcolor{linkcolor}{\href{#1}{#2}}}
+\def\@iconsize{\normalsize}
+\newcommand*{\iconsize}[1]{\def\@iconsize{#1}}
+
\newcommand*{\icon}[1]{%
- \makebox[1em][c]{\textcolor{symbolcolor}{#1}}%
- \hspace{0.2em}%
+ {\@iconsize\makebox[1em][c]{\textcolor{symbolcolor}{#1}}}%
+ \hspace{0.2em}\strut%
}
% Test whether the command argument is given and is not empty