diff options
author | Christophe ROGER <darwiin@users.noreply.github.com> | 2018-10-17 21:21:17 +1100 |
---|---|---|
committer | Christophe ROGER <darwiin@users.noreply.github.com> | 2018-10-17 21:21:17 +1100 |
commit | 3650f536218ad40b4ae0a44f85cc474f8ba1271d (patch) | |
tree | e6806bc2e448754917e547880aadc78fa4157c9f /yaac-another-awesome-cv.cls | |
parent | 05e47e53316de5d59e8ec632dc104b5790c8aa9b (diff) | |
parent | a97057b540a1c3218908d966b13ae8995cc7a0dd (diff) | |
download | cv-3650f536218ad40b4ae0a44f85cc474f8ba1271d.tar.gz cv-3650f536218ad40b4ae0a44f85cc474f8ba1271d.tar.bz2 cv-3650f536218ad40b4ae0a44f85cc474f8ba1271d.tar.xz cv-3650f536218ad40b4ae0a44f85cc474f8ba1271d.zip |
Merge branch 'alcysec-patch-1' into local-github
Diffstat (limited to 'yaac-another-awesome-cv.cls')
-rwxr-xr-x | yaac-another-awesome-cv.cls | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls index 4b75448..e4461be 100755 --- a/yaac-another-awesome-cv.cls +++ b/yaac-another-awesome-cv.cls @@ -17,7 +17,7 @@ % % This work consists of the files awesome-source-cv.cls -\ProvidesClass{yaac-another-awesome-cv}[2018/10/12 v1.10.0 'YAAC: Another Awesome CV' Class] +\ProvidesClass{yaac-another-awesome-cv}[2018/10/17 v1.10.1 'YAAC: Another Awesome CV' Class] \LoadClass[a4paper]{article} @@ -165,16 +165,23 @@ \newlength{\leftcolumn} \setlength{\leftcolumn}{2.5cm} +% Font Awesome icons box +\NewDocumentCommand\faIconBox{m s O{solid}}{ + \makebox[1.2em][c]{\IfBooleanTF{#2}{\csname fa#1\endcsname*}{\csname fa#1\endcsname}[#3]} +} + % Font Awesome icons aliases -\newcommand{\mailSymbol}{\faAt} -\newcommand{\locationSymbol}{\faMapMarker*} -\newcommand{\infoSymbol}{\faInfo} -\newcommand{\linkedinSymbol}{\faLinkedinIn} -\newcommand{\viadeoSymbol}{\faViadeo} -\newcommand{\mobileSymbol}{\faMobile*} -\newcommand{\githubSymbol}{\faGithub} -\newcommand{\mediumSymbol}{\faMedium} -\newcommand{\bitbucketSymbol}{\faBitbucket} +\newcommand{\mailSymbol}{\faIconBox{At}} +\newcommand{\locationSymbol}{\faIconBox{MapMarker}*} +\newcommand{\infoSymbol}{\faIconBox{Info}} +\newcommand{\linkedinSymbol}{\faIconBox{LinkedinIn}} +\newcommand{\viadeoSymbol}{\faIconBox{Viadeo}} +\newcommand{\mobileSymbol}{\faIconBox{Mobile}*} +\newcommand{\githubSymbol}{\faIconBox{Github}} +\newcommand{\mediumSymbol}{\faIconBox{Medium}} +\newcommand{\bitbucketSymbol}{\faIconBox{Bitbucket}} +\newcommand{\websiteSymbol}{\faIconBox{Link}} + \newcommand\link[2]{\color{linkcolor}\href{#1}{#2}\color{Black} } \newcommand\important[1]{\textbf #1} @@ -191,11 +198,11 @@ % Render a text with its symbol % Usage; \socialtext{<icon>}{<label>} -\newcommand{\socialtext}[2]{\mbox{\textcolor{symbolcolor}{#1}\hspace{0.5em}#2\hspace{1em}}} +\newcommand{\socialtext}[2]{\mbox{\textcolor{symbolcolor}{#1}#2\hspace{0.8em}}} % Render a link with its symbol % Usage; \sociallink{<icon>}{<label>} -\newcommand{\sociallink}[3]{\mbox{\textcolor{symbolcolor}{#1}\hspace{0.5em}\link{#2}{#3}\hspace{1em}}} +\newcommand{\sociallink}[3]{\mbox{\textcolor{symbolcolor}{#1}\link{#2}{#3}\hspace{0.8em}}} % Define author's name % Usage: \name{<firstname>}{<lastname>} @@ -250,7 +257,7 @@ % Render a website link (optional) % Usage: \website{<website name>}{<website adress>} -\newcommand*{\website}[2]{\sociallink{\faLink}{#1}{#2}} +\newcommand*{\website}[2]{\sociallink{\websiteSymbol}{#1}{#2}} % Render author's mobile phone (optional) % Usage: \smartphone{<mobile phone number>} |