diff options
author | Aaron LI <aly@aaronly.me> | 2018-04-17 23:35:09 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-04-17 23:35:09 +0800 |
commit | 2948d55ed2f56b61668b0463a2ba6a75cc766b99 (patch) | |
tree | b9b2567235d9a8bc31582eb5b7ab88e2067ca9b4 | |
parent | 8a21b0955692741c746e5e81cc78e17e7e9c92ff (diff) | |
download | resume-2948d55ed2f56b61668b0463a2ba6a75cc766b99.tar.bz2 |
Add \githublink command and bump to v2.2.1
-rw-r--r-- | resume.cls | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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}% |