aboutsummaryrefslogtreecommitdiffstats
path: root/resume.cls
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-04-17 23:35:09 +0800
committerAaron LI <aly@aaronly.me>2018-04-17 23:35:09 +0800
commit2948d55ed2f56b61668b0463a2ba6a75cc766b99 (patch)
treeb9b2567235d9a8bc31582eb5b7ab88e2067ca9b4 /resume.cls
parent8a21b0955692741c746e5e81cc78e17e7e9c92ff (diff)
downloadresume-2948d55ed2f56b61668b0463a2ba6a75cc766b99.tar.bz2
Add \githublink command and bump to v2.2.1
Diffstat (limited to 'resume.cls')
-rw-r--r--resume.cls9
1 files changed, 6 insertions, 3 deletions
diff --git a/resume.cls b/resume.cls
index dc84bb5..7cc46fc 100644
--- a/resume.cls
+++ b/resume.cls
@@ -12,7 +12,7 @@
%% https://www.latextemplates.com/template/plasmati-graduate-cv
%%
-\ProvidesClass{resume}[2018/04/17 v2.2.0 Resume Class]
+\ProvidesClass{resume}[2018/04/17 v2.2.1 Resume Class]
\LoadClass{article}
%%
@@ -176,10 +176,13 @@
{\faCreativeCommons{} \uppercase{#1} #2}%
}
+\newcommand*{\githublink}[2]{%
+ \href{http://github.com/#1/#2}%
+ {\githubSymbol{} #1/#2}%
+}
+
\newcommand*{\link}[2]{\textcolor{linkcolor}{\href{#1}{#2}}}
-\newcommand*{\important}[1]{\textbf{#1}}
-% Render an icon
\newcommand*{\icon}[1]{%
\makebox[1em][c]{\textcolor{symbolcolor}{#1}}%
\hspace{0.2em}%