From 2948d55ed2f56b61668b0463a2ba6a75cc766b99 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 17 Apr 2018 23:35:09 +0800 Subject: Add \githublink command and bump to v2.2.1 --- resume.cls | 9 ++++++--- 1 file 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}% -- cgit v1.2.2