From 91f15a1cf90c63c059873fc9b772080c02838046 Mon Sep 17 00:00:00 2001 From: LLdaniel Date: Sun, 9 Aug 2026 22:45:03 +0200 Subject: [PATCH] use gendericon with the correct color --- moderncvheadi.sty | 2 +- moderncviconsawesome.sty | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/moderncvheadi.sty b/moderncvheadi.sty index 86c849c..f7d690f 100644 --- a/moderncvheadi.sty +++ b/moderncvheadi.sty @@ -86,7 +86,7 @@ \ifthenelse{\equal{\@addresscity}{}}{}{\makenewline\@addresscity}% if \addresstreet is defined, \addresscity and addresscountry will always be defined but could be empty \ifthenelse{\equal{\@addresscountry}{}}{}{\makenewline\@addresscountry}}% \ifthenelse{\isundefined{\@born}}{}{\makenewline\bornsymbol\@born}% - \ifthenelse{\isundefined{\@pronouns}}{}{\makenewline\@gendericon~\@pronouns}% + \ifthenelse{\isundefined{\@pronouns}}{}{\makenewline\gendersymbol\@pronouns}% \phonesdetails% needs to be pre-rendered as loops and tabulars seem to conflict \ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}% \ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol% diff --git a/moderncviconsawesome.sty b/moderncviconsawesome.sty index 8c34cc5..244daa8 100644 --- a/moderncviconsawesome.sty +++ b/moderncviconsawesome.sty @@ -55,6 +55,7 @@ \providecolor{playstation}{named}{default-socialicon-color} \providecolor{battlenet}{named}{default-socialicon-color} \providecolor{born}{named}{default-socialicon-color} +\providecolor{gender}{named}{default-socialicon-color} \providecolor{signal}{named}{default-socialicon-color} \providecolor{medium}{named}{default-socialicon-color} @@ -105,7 +106,7 @@ % No inspire icon in fontawesome6 (v6.7.2-3) or fontawesome7 (v7.1.0-1) % \renewcommand*{\inspiresocialsymbol} {{\color{inspire}{\small\faIcon{inspire}}}~} \def\@gendericon{\faNeuter} -\renewcommand*{\gendersymbol} {{\small\@gendericon}~} +\renewcommand*{\gendersymbol} {{\color{gender}\small\@gendericon}~} \renewcommand*{\bornsymbol} {{\color{born}\raisebox{.5ex}{\tiny\faIcon{asterisk}}}~} % alternative: \faIcon{baby-carriage} \renewcommand*{\mediumsocialsymbol} {{\color{medium}\small\faIcon{medium}}~}