summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe ROGER <darwiin@users.noreply.github.com>2018-10-17 20:38:07 +1100
committerChristophe ROGER <darwiin@users.noreply.github.com>2018-10-17 20:38:07 +1100
commita97057b540a1c3218908d966b13ae8995cc7a0dd (patch)
tree3b4b7f32788f4b3ba41d4a9ded48a0103472a31b
parent600b9f666a46ec3479503e38016796688e482b4f (diff)
downloadcv-a97057b540a1c3218908d966b13ae8995cc7a0dd.tar.gz
cv-a97057b540a1c3218908d966b13ae8995cc7a0dd.tar.bz2
cv-a97057b540a1c3218908d966b13ae8995cc7a0dd.tar.xz
cv-a97057b540a1c3218908d966b13ae8995cc7a0dd.zip
[FIX] Reduce box size for faIcon
[FIX] Use faIconBox for website macro [FIX] Update socialLink and socialText macros
-rwxr-xr-xyaac-another-awesome-cv.cls12
1 files changed, 7 insertions, 5 deletions
diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls
index 0bf2eaf..7d64b4a 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}
@@ -168,7 +168,7 @@
% Font Awesome icons box
\NewDocumentCommand\faIconBox{m s O{solid}}{
- \makebox[1.5em][c]{\IfBooleanTF{#2}{\csname fa#1\endcsname*}{\csname fa#1\endcsname}[#3]}
+ \makebox[1.2em][c]{\IfBooleanTF{#2}{\csname fa#1\endcsname*}{\csname fa#1\endcsname}[#3]}
}
% Font Awesome icons aliases
@@ -181,6 +181,8 @@
\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}
@@ -197,11 +199,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>}
@@ -256,7 +258,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>}