From 14deb59ddb03b7c5e9325198833a1e4fddfbcb88 Mon Sep 17 00:00:00 2001 From: Aram Dermenjian Date: Mon, 23 Sep 2024 20:43:19 -0700 Subject: [PATCH] Allow icons in classic letter (#176) * Allow icons in classic letter * Add socials for fancy and banking themes * Update changelog --------- Co-authored-by: Cali Garmo --- CHANGELOG | 1 + moderncvheadi.sty | 2 ++ moderncvheadiii.sty | 2 ++ moderncvheadv.sty | 2 ++ 4 files changed, 7 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 05220b8..6531a79 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,7 @@ version next - Change moderncvcolors.tex to a .sty file for MikTeX compatibility (#199) - Fix error when omitting the photo in contemporary style (#201) - Fix spacing between first and last name (#204) +- Include social icons in cover letter for styles classic, fancy and banking (#170) - Update Oldstyle to use symbols instead of marvosym (#209) version 2.4.1 (18 Jul 2024) diff --git a/moderncvheadi.sty b/moderncvheadi.sty index 130152c..33ed6b1 100644 --- a/moderncvheadi.sty +++ b/moderncvheadi.sty @@ -180,6 +180,8 @@ \ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}% \ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol% \ifthenelse{\equal{\@homepageprotocol}{http}}{\httplink{\@homepage}}{\httpslink{\@homepage}}}% + \collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link + \makenewline\csname\collectionloopkey socialsymbol\endcsname\collectionloopitem}% \ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}}\fi% \end{minipage}\\[2em] % recipient block diff --git a/moderncvheadiii.sty b/moderncvheadiii.sty index 4cc69d6..fa80e59 100644 --- a/moderncvheadiii.sty +++ b/moderncvheadiii.sty @@ -159,6 +159,8 @@ \ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}% \ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol% \ifthenelse{\equal{\@homepageprotocol}{http}}{\httplink{\@homepage}}{\httpslink{\@homepage}}}% + \collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link + \makenewline\csname\collectionloopkey socialsymbol\endcsname\collectionloopitem}% \ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}}\fi% \end{minipage}\\[2em] % recipient block diff --git a/moderncvheadv.sty b/moderncvheadv.sty index 31423b9..5c25083 100644 --- a/moderncvheadv.sty +++ b/moderncvheadv.sty @@ -160,6 +160,8 @@ \ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}% \ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol% \ifthenelse{\equal{\@homepageprotocol}{http}}{\httplink{\@homepage}}{\httpslink{\@homepage}}}% + \collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link + \makenewline\csname\collectionloopkey socialsymbol\endcsname\collectionloopitem}% \ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}}\fi% \end{minipage}\\[2em] % recipient block