summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-15 21:32:00 +0000
committerKarl Berry <karl@freefriends.org>2020-03-15 21:32:00 +0000
commit551b21743067d6b09c090119a0a820ad47dda8ec (patch)
tree52351b3369124f02c1f28b3eff1374929ebdfa8a /Master/texmf-dist/tex/latex
parentcb195c584793ea790951fdcc6193f4d560a34a4d (diff)
limecv (15mar20)
git-svn-id: svn://tug.org/texlive/trunk@54329 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/limecv/limecv.cls27
1 files changed, 14 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/limecv/limecv.cls b/Master/texmf-dist/tex/latex/limecv/limecv.cls
index f162d523585..8d6fdc0323d 100644
--- a/Master/texmf-dist/tex/latex/limecv/limecv.cls
+++ b/Master/texmf-dist/tex/latex/limecv/limecv.cls
@@ -20,7 +20,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{limecv}
- [2020/02/08 v0.1.7 limecv Document class for CVs.]
+ [2020/03/15 v0.1.8 limecv Document class for CVs.]
\RequirePackage{kvoptions}
\DeclareBoolOption[false]{print}
@@ -52,6 +52,7 @@
\definecolor{cvRed}{HTML}{7f2d35}
\definecolor{cvDark}{HTML}{2F3142}
\definecolor{cvAccent}{HTML}{474A65}
+\definecolor{cvBackground}{HTML}{FFFFFF}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\%
\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\%
@@ -147,7 +148,7 @@
minimum width=\cvProgressAreaWidth,
minimum height=\cvProgressAreaHeight,
rectangle,
- draw,
+ draw=cvBackground,
cvGreen,
progressArea
},
@@ -173,15 +174,15 @@
}
\NewDocumentCommand{\cv@loadFonts}{}{
\RequirePackage{fontspec}
- \RequirePackage{fontawesome}
+ \RequirePackage{fontawesome5}
\setmainfont[Numbers={Monospaced}]{\limecv@sansfont}
\setsansfont{\limecv@sansfont}
\setmonofont{\limecv@monofont}
\ifcv@fontPath
\newfontfamily{\cv@FA}[Path=\limecv@path]%
- {FontAwesome}
+ {Font Awesome 5 Free}
\else
- \newfontfamily{\cv@FA}{FontAwesome}
+ \newfontfamily{\cv@FA}{Font Awesome 5 Free}
\fi
\ProvideDocumentCommand{\faAddressCard}{}{{\cv@FA%
\symbol{"F2B9}}}
@@ -196,7 +197,7 @@
\ifluatex
\cv@loadFonts
\else
- \RequirePackage{fontawesome}
+ \RequirePackage{fontawesome5}
\RenewDocumentCommand{\familydefault}{}{\sfdefault}
\fi
\fi
@@ -278,16 +279,16 @@
\newlength\cvSkillSep
\setlength\cvSkillSep{1ex}
\newlength\cvHeaderIconWidth
-\setlength\cvHeaderIconWidth{0pt}
+\setlength\cvHeaderIconWidth{10pt}
\NewDocumentCommand{\cvSection}{m}{\Large\textbf{#1}}
\newcount\my@repeat@count
\NewDocumentCommand{\cvSkill}{m}{%
\begingroup
\my@repeat@count=\z@
- \@whilenum\my@repeat@count<#1\do{\faCircle\advance%
+ \@whilenum\my@repeat@count<#1\do{\faCircle[solid]\advance%
\my@repeat@count\@ne}%
\my@repeat@count=\numexpr5-\z@\relax
- \@whilenum\my@repeat@count>#1\do{\faCircleO\advance%
+ \@whilenum\my@repeat@count>#1\do{\faCircle[regular]\advance%
\my@repeat@count\m@ne}%
\endgroup
}
@@ -302,8 +303,8 @@
\setcounter{cv@titleNext}{1}
\NewDocumentCommand{\cv@Title}{mm}{%
\ifnodedefined{cv@last item \the\value{cv@lastItem}}{%
- \setlength\cvHeaderIconWidth{%
- \maxof{\cvHeaderIconWidth}{\widthof{\Large #2}}}%
+ \setlength\cvHeaderIconWidth\cvHeaderIconWidth%{%
+ %\maxof{\cvHeaderIconWidth}{\widthof{\Large #2}}}%
\protected@write\@auxout{}{\global\cvHeaderIconWidth=\the\cvHeaderIconWidth}
\node[%
below=\cvSectionSep of cv@last item %
@@ -604,7 +605,7 @@
(cv@last item \the\value{cv@lastItem}) {};
}
\NewDocumentEnvironment{cvPublications}{}{%
-\cv@Title{\pgfkeysvalueof{/@cv/names/publications}}{\faNewspaperO}
+\cv@Title{\pgfkeysvalueof{/@cv/names/publications}}{\faNewspaper}
\stepcounter{cv@itemPrev}
\stepcounter{cv@itemNext}
\cv@definecvItem
@@ -825,7 +826,7 @@
\cv@ContactTemplateLink{\cvContactWebsite}{\faGlobe}
\cv@ContactTemplateLink{\cvContactGithub}{\faGithub}
\cv@ContactTemplateLink{\cvContactGitlab}{\faGitlab}
- \cv@ContactTemplateLink{\cvContactLinkedin}{\faLinkedinSquare}
+ \cv@ContactTemplateLink{\cvContactLinkedin}{\faLinkedin}
\cv@ContactTemplateLink{\cvContactTwitter}{\faTwitter}
\cv@ContactTemplateLink{\cvContactKeybase}{\faKey}
\begin{tikzpicture}[%