summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe ROGER <darwiin@users.noreply.github.com>2018-10-17 20:19:33 +1100
committerChristophe ROGER <darwiin@users.noreply.github.com>2018-10-17 20:19:33 +1100
commit0edcf1ec35709cd18a97bbbb2fc7ae06d4d2c82c (patch)
tree53433069c187c790331bd0df47f87e5132f351dc
parentb22b437093cbcda52f92a743d667cdd3685cc6e1 (diff)
downloadcv-0edcf1ec35709cd18a97bbbb2fc7ae06d4d2c82c.tar.gz
cv-0edcf1ec35709cd18a97bbbb2fc7ae06d4d2c82c.tar.bz2
cv-0edcf1ec35709cd18a97bbbb2fc7ae06d4d2c82c.tar.xz
cv-0edcf1ec35709cd18a97bbbb2fc7ae06d4d2c82c.zip
[FIX] Reduce box size
[FIX] Add a websiteSymbol macro that use faIconBox macro
-rwxr-xr-xyaac-another-awesome-cv.cls11
1 files changed, 6 insertions, 5 deletions
diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls
index 0bf2eaf..a5afc40 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,7 @@
\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 +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}\hspace{0.1em}#2\hspace{1em}}}
% 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}\hspace{0.1em}\link{#2}{#3}\hspace{1em}}}
% Define author's name
% Usage: \name{<firstname>}{<lastname>}
@@ -256,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>}