diff --git a/CHANGELOG b/CHANGELOG index d83eb11..78a5598 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ version next - Upgrade to Fontawesome 7 (#270) +- Fix "Underfull \hbox (badness 10000)" warning in banking \subsection dotted + rules by adding \hss glue as in \dotfill (#307) version 2.6.1 (24 Jun 2026) - Allow the customisation of the contemporary style (#297) @@ -47,7 +49,6 @@ version 2.5.1 (31 Jan 2026) - Add contemporary CV header style to cover letter, which also makes icons visible (#186) - Fix minor horizontal spacing issue in 'contemporary' style header -- Added optional support for specifying pronouns (#249) version 2.4.2 (01 Feb 2025) diff --git a/manual/moderncv_userguide.pdf b/manual/moderncv_userguide.pdf index d171476..22f9674 100644 Binary files a/manual/moderncv_userguide.pdf and b/manual/moderncv_userguide.pdf differ diff --git a/manual/moderncv_userguide.tex b/manual/moderncv_userguide.tex index 99fcb14..0980e93 100644 --- a/manual/moderncv_userguide.tex +++ b/manual/moderncv_userguide.tex @@ -97,7 +97,7 @@ emph={ cvitem, cventry, cvdoubleentry, cvdoubleitem, cvtripleitem, cvlistitem, cvlistdoubleitem, cvcolumns, moderncvstyle, moderncvcolor, cvskill, cvskilllegend, cvskillplainlegend, cvskillhead, cvskillentry, nopagenumbers, - name, born, pronouns, address, email, link, social, phone, homepage, extrainfo, photo, quote, section, subsection, setlength, NewDocumentCommand, definecolor, colorlet, cvitemwithcomment, + name, born, address, email, link, social, phone, homepage, extrainfo, photo, quote, section, subsection, setlength, NewDocumentCommand, definecolor, colorlet, cvitemwithcomment, recipient, subject, opening, closing, signature, postscript, enclosure, makelettertitle, makeletterclosing, httplink, httpslink, emaillink }, emphstyle={\color{cvblue}}, @@ -106,7 +106,7 @@ addresssymbol, mobilephonesymbol, fixedphonesymbol, faxphonesymbol, emailsymbol, homepagesymbol, linkedinsocialsymbol, xingsocialsymbol, twittersocialsymbol, githubsocialsymbol, gitlabsocialsymbol, mastodonsocialsymbol, codebergsocialsymbol, discordsocialsymbol, twitchsocialsymbol, youtubesocialsymbol, tiktoksocialsymbol, instagramsocialsymbol, soundcloudsocialsymbol, steamsocialsymbol, xboxsocialsymbol, playstationsocialsymbol, battlenetsocialsymbol, simplexsocialsymbol, threemasocialsymbol, stackoverflowsocialsymbol, bitbucketsocialsymbol, skypesocialsymbol, orcidsocialsymbol, researchgatesocialsymbol, arxivsocialsymbol, inspiresocialsymbol, - researcheridsocialsymbol, telegramsocialsymbol, whatsappsocialsymbol, signalsocialsymbol, matrixsocialsymbol, googlescholarsocialsymbol, cvstretchability, bornsymbol, gendersymbol + researcheridsocialsymbol, telegramsocialsymbol, whatsappsocialsymbol, signalsocialsymbol, matrixsocialsymbol, googlescholarsocialsymbol, cvstretchability, bornsymbol }, emphstyle={[2]\color{cvblue!60!cvgrey}\bfseries}, literate={{é}{{\'e}}1}, @@ -299,18 +299,6 @@ A command for a birth date. \born{} \end{lstlisting} -\paragraph{\code{\\pronouns}} -A command for your pronouns. -\begin{lstlisting} - \pronouns{} -\end{lstlisting} - -\paragraph{\code{\\gendericon}} -A command for the icon used for your gender. -\begin{lstlisting} - \gendericon{} -\end{lstlisting} - \paragraph{\code{\\address}} A command for a three-lined street address. \begin{lstlisting} @@ -827,7 +815,6 @@ Currently \Moderncv supports the following commands as \code{<\\symbolcommand>}: \item \code{\\battlenetsocialsymbol} \item \code{\\mediumsocialsymbol} \item \code{\\bornsymbol} - \item \code{\\gendersymbol} \item \code{\\arxivsocialsymbol} \item \code{\\inspiresocialsymbol} \item \code{\\simplexsocialsymbol} diff --git a/moderncv.cls b/moderncv.cls index 38dd395..1bc93cf 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -224,14 +224,6 @@ % usage: \title{} \renewcommand*{\title}[1]{\def\@title{#1}} -% defines one's preferred pronouns (optional) -% usage: \pronouns{<pronouns>} -\newcommand*{\pronouns}[1]{\def\@pronouns{#1}} - -% defines one's preferred gender icon (optional) -% usage: \gendericon{<gendericon>} -\newcommand*{\gendericon}[1]{\def\@gendericon{#1}} - % defines one's address (optional) % usage: \address{<street>}{<city>}{<country>} % where the <city> and <country> arguments can be omitted or provided empty @@ -369,7 +361,6 @@ \newcommand*{\listitemsymbol} {\labelitemi~} \newcommand*{\addresssymbol} {} \newcommand*{\bornsymbol} {} -\newcommand*{\gendersymbol} {} \newcommand*{\mobilephonesymbol} {} \newcommand*{\fixedphonesymbol} {} \newcommand*{\faxphonesymbol} {} diff --git a/moderncvbodyiii.sty b/moderncvbodyiii.sty index 76349ad..ab77f1d 100644 --- a/moderncvbodyiii.sty +++ b/moderncvbodyiii.sty @@ -139,13 +139,13 @@ \newcommand*{\subsectionrule}{} \if@fullrules% \renewcommand*{\sectionrule}{\par\nobreak\vspace*{-.7\baselineskip}\leavevmode{\color{bodyrulecolor}\leaders\hbox{\rule{1pt}{0.4pt}}\hfill\kern0pt}} - \renewcommand*{\subsectionrule}{\par\nobreak\vspace*{-.7\baselineskip}\leavevmode{\color{bodyrulecolor}\xleaders\hbox to 0.35em{\scriptsize.}\hfill}}\fi% different subsectionrules will not be perfectly aligned, but remaining space at the end of the fill will be distributed evenly between leaders, so it will be barely visible} + \renewcommand*{\subsectionrule}{\par\nobreak\vspace*{-.7\baselineskip}\leavevmode{\color{bodyrulecolor}\xleaders\hbox to 0.35em{\hss\scriptsize.\hss}\hfill\kern0pt}}\fi% different subsectionrules will not be perfectly aligned, but remaining space at the end of the fill will be distributed evenly between leaders, so it will be barely visible} \if@shortrules% \renewcommand*{\sectionrule}{\leavevmode{\color{bodyrulecolor}\leaders\hbox{\rule{1pt}{0.4pt}}\hfill\kern0pt}} - \renewcommand*{\subsectionrule}{\leavevmode{\color{bodyrulecolor}\xleaders\hbox to 0.35em{\scriptsize.}\hfill}}\fi% different subsectionrules will not be perfectly aligned, but remaining space at the end of the fill will be distributed evenly between leaders, so it will be barely visible}} + \renewcommand*{\subsectionrule}{\leavevmode{\color{bodyrulecolor}\xleaders\hbox to 0.35em{\hss\scriptsize.\hss}\hfill\kern0pt}}\fi% different subsectionrules will not be perfectly aligned, but remaining space at the end of the fill will be distributed evenly between leaders, so it will be barely visible}} \if@mixedrules% \renewcommand*{\sectionrule}{\par\nobreak\vspace*{-.7\baselineskip}\leavevmode{\color{bodyrulecolor}\leaders\hbox{\rule{1pt}{0.4pt}}\hfill\kern0pt}} - \renewcommand*{\subsectionrule}{\leavevmode{\color{bodyrulecolor}\xleaders\hbox to 0.35em{\scriptsize.}\hfill}}\fi% different subsectionrules will not be perfectly aligned, but remaining space at the end of the fill will be distributed evenly between leaders, so it will be barely visible}} + \renewcommand*{\subsectionrule}{\leavevmode{\color{bodyrulecolor}\xleaders\hbox to 0.35em{\hss\scriptsize.\hss}\hfill\kern0pt}}\fi% different subsectionrules will not be perfectly aligned, but remaining space at the end of the fill will be distributed evenly between leaders, so it will be barely visible}} \if@norules% \renewcommand*{\sectionrule}{} \renewcommand*{\subsectionrule}{}\fi diff --git a/moderncvfooti.sty b/moderncvfooti.sty index 5d21ec0..029d82e 100644 --- a/moderncvfooti.sty +++ b/moderncvfooti.sty @@ -86,7 +86,6 @@ \ifthenelse{\equal{\@addresscountry}{}}{}{\addtofoot[~--~]{\@addresscountry}}% \flushfoot\@firstfootelementtrue\\}% \ifthenelse{\isundefined{\@born}}{}{\addtofoot{\bornsymbol\@born}\flushfoot\@firstfootelementtrue\\}% - \ifthenelse{\isundefined{\@pronouns}}{}{\addtofoot{\gendersymbol\@pronouns}\flushfoot\@firstfootelementtrue\\}% \collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number \addtofoot{\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}% \ifthenelse{\isundefined{\@email}}{}{\addtofoot{\emailsymbol\emaillink{\@email}}}% diff --git a/moderncvheadi.sty b/moderncvheadi.sty index f7d690f..2d0eabc 100644 --- a/moderncvheadi.sty +++ b/moderncvheadi.sty @@ -86,7 +86,6 @@ \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\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/moderncvheadii.sty b/moderncvheadii.sty index 1968674..9e3609d 100644 --- a/moderncvheadii.sty +++ b/moderncvheadii.sty @@ -141,7 +141,6 @@ \ifthenelse{\equal{\@addresscountry}{}}{}{\addtomakeheaddetails[~--~]{\@addresscountry}}% \flushmakeheaddetails\@firstmakeheaddetailselementtrue\\\null}% \ifthenelse{\isundefined{\@born}}{}{\addtomakeheaddetails{\bornsymbol\@born}}% - \ifthenelse{\isundefined{\@pronouns}}{}{\addtomakeheaddetails{\gendersymbol\@pronouns}}% \collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number \addtomakeheaddetails{\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}% \ifthenelse{\isundefined{\@email}}{}{\addtomakeheaddetails{\emailsymbol\emaillink{\@email}}}% diff --git a/moderncvheadiii.sty b/moderncvheadiii.sty index c160b9b..b1c5c46 100644 --- a/moderncvheadiii.sty +++ b/moderncvheadiii.sty @@ -94,7 +94,6 @@ \ifthenelse{\equal{\@addresscountry}{}}{}{\addtomakeheaddetails[~--~]{\@addresscountry}}% \flushmakeheaddetails\@firstmakeheaddetailselementtrue\\}% \ifthenelse{\isundefined{\@born}}{}{\addtomakeheaddetails{\bornsymbol\@born}}% - \ifthenelse{\isundefined{\@pronouns}}{}{\addtomakeheaddetails{\gendersymbol\@pronouns}}% \collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number \addtomakeheaddetails{\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}% \ifthenelse{\isundefined{\@email}}{}{\addtomakeheaddetails{\emailsymbol\emaillink{\@email}}}% diff --git a/moderncvheadiv.sty b/moderncvheadiv.sty index fca77de..aa1e20f 100644 --- a/moderncvheadiv.sty +++ b/moderncvheadiv.sty @@ -110,7 +110,6 @@ \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\hbox to 1.0em{\bornsymbol}~\@born}% - \ifthenelse{\isundefined{\@pronouns}}{}{\makenewline\hbox to 1.0em{\gendersymbol}~\@pronouns}% \collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number \makenewline\hbox to 1.0em{\csname\collectionloopkey phonesymbol\endcsname}~\collectionloopitem}% \ifthenelse{\isundefined{\@email}}{}{\makenewline\hbox to 1.0em{\emailsymbol}~\emaillink{\@email}}% diff --git a/moderncvheadv.sty b/moderncvheadv.sty index cfc65b2..2b3a326 100644 --- a/moderncvheadv.sty +++ b/moderncvheadv.sty @@ -82,7 +82,6 @@ \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\gendersymbol~\@pronouns}% \collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number \makenewline\csname\collectionloopkey phonesymbol\endcsname~\collectionloopitem}% \ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol~\emaillink{\@email}}% diff --git a/moderncvheadvi.sty b/moderncvheadvi.sty index da737cd..4a369c6 100644 --- a/moderncvheadvi.sty +++ b/moderncvheadvi.sty @@ -115,7 +115,6 @@ \ifthenelse{\equal{\@addresscountry}{}}{}{\addtomakeheaddetails[~--~]{\@addresscountry}}% \flushmakeheaddetails\@firstmakeheaddetailselementtrue\\\null}% \ifthenelse{\isundefined{\@born}}{}{\addtomakeheaddetails{\bornsymbol\@born}}% - \ifthenelse{\isundefined{\@pronouns}}{}{\addtomakeheaddetails{\gendersymbol\@pronouns}}% \collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number \addtomakeheaddetails{\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}% \ifthenelse{\isundefined{\@email}}{}{\addtomakeheaddetails{\emailsymbol\emaillink{\@email}}}% diff --git a/moderncvheadvii.sty b/moderncvheadvii.sty index 45657e4..d82b23f 100644 --- a/moderncvheadvii.sty +++ b/moderncvheadvii.sty @@ -98,7 +98,6 @@ \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\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\httplink{\@homepage}}% diff --git a/moderncviconsawesome.sty b/moderncviconsawesome.sty index 244daa8..d9d3bcf 100644 --- a/moderncviconsawesome.sty +++ b/moderncviconsawesome.sty @@ -55,7 +55,6 @@ \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,10 +104,8 @@ % \renewcommand*{\arxivsocialsymbol} {{\color{arxiv}{\small\faIcon{arxiv}}}~} % 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} {{\color{gender}\small\@gendericon}~} \renewcommand*{\bornsymbol} {{\color{born}\raisebox{.5ex}{\tiny\faIcon{asterisk}}}~} % alternative: \faIcon{baby-carriage} -\renewcommand*{\mediumsocialsymbol} {{\color{medium}\small\faIcon{medium}}~} +\renewcommand*{\mediumsocialsymbol} {{\color{medium}\small\faIcon{medium}}~} \endinput diff --git a/template.tex b/template.tex index 2524a37..0ef5627 100644 --- a/template.tex +++ b/template.tex @@ -56,8 +56,6 @@ \name{John}{Doe} \title{Résumé title} % optional, remove / comment the line if not wanted \born{4 July 1776} % optional, remove / comment the line if not wanted -\pronouns{they/them} % optional, remove / comment the line if not wanted -\gendericon{\faNeuter} % optional, remove / comment the line if not wanted \address{street and number}{postcode city}{country}% optional, remove / comment the line if not wanted; the "postcode city" and "country" arguments can be omitted or provided empty \phone[mobile]{+1~(234)~567~890} % optional, remove / comment the line if not wanted; the optional "type" of the phone can be "mobile" (default), "fixed" or "fax" \phone[fixed]{+2~(345)~678~901}