From c00bb08733163c424495b60e5e65299b5cb323f9 Mon Sep 17 00:00:00 2001 From: micheld93 Date: Wed, 28 Jan 2026 13:42:03 +0100 Subject: [PATCH] Added support for "Medium.com" social symbols --- moderncv.cls | 5 +++++ moderncviconsawesome.sty | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/moderncv.cls b/moderncv.cls index 3756507..a31cf14 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -328,6 +328,7 @@ \ifthenelse{\equal{#1}{inspire}} {\collectionadd[inspire]{socials} {\protect\httpslink[#3]{inspirehep.net/authors/#3}}} {}% \ifthenelse{\equal{#1}{simplex}} {\collectionadd[simplex]{socials} {\protect\httpslink[#3]{simplex.chat/#3}}} {}% \ifthenelse{\equal{#1}{threema}} {\collectionadd[threema]{socials} {\protect\httpslink[#3]{threema.id/#3}}} {}% + \ifthenelse{\equal{#1}{medium}} {\collectionadd[medium]{socials} {\protect\httpslink[#3]{medium.com/#3}}} {}% } {\collectionadd[#1]{socials}{\protect\httpslink[#3]{#2}}}}% @@ -397,6 +398,10 @@ \newcommand*{\inspiresocialsymbol} {} \newcommand*{\simplexsocialsymbol} {} \newcommand*{\threemasocialsymbol} {} +\newcommand*{\mediumsocialsymbol} {} + + + % other %------ diff --git a/moderncviconsawesome.sty b/moderncviconsawesome.sty index 601ba32..93594d8 100644 --- a/moderncviconsawesome.sty +++ b/moderncviconsawesome.sty @@ -55,7 +55,7 @@ \providecolor{playstation}{named}{default-socialicon-color} \providecolor{battlenet}{named}{default-socialicon-color} \providecolor{born}{named}{default-socialicon-color} - +\providecolor{medium}{named}{default-socialicon-color} %------------------------------------------------------------------------------- % all symbols described in moderncv.cls %------------------------------------------------------------------------------- @@ -101,6 +101,8 @@ % \renewcommand*{\arxivsocialsymbol} {{\color{arxiv}{\small\faarXiv}}~} % \renewcommand*{\inspiresocialsymbol} {{\color{inspire}{\small\faInspire}}~} \renewcommand*{\bornsymbol} {{\color{born}\small\faAsterisk}~} % alternative: \faBabyCarriage +\renewcommand*{\mediumsocialsymbol} {{\color{medium}\small\faMedium}~} + \endinput