mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Merge d8d69ceefe into 247d3fd585
This commit is contained in:
commit
f1d1152960
6 changed files with 31 additions and 2 deletions
|
|
@ -18,6 +18,7 @@ version 2.5.1 (31 Jan 2026)
|
||||||
- Add contemporary CV header style to cover letter, which also makes icons
|
- Add contemporary CV header style to cover letter, which also makes icons
|
||||||
visible (#186)
|
visible (#186)
|
||||||
- Fix minor horizontal spacing issue in 'contemporary' style header
|
- Fix minor horizontal spacing issue in 'contemporary' style header
|
||||||
|
- Added optional support for specifying pronouns (#249)
|
||||||
|
|
||||||
|
|
||||||
version 2.4.2 (01 Feb 2025)
|
version 2.4.2 (01 Feb 2025)
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@
|
||||||
emph={
|
emph={
|
||||||
cvitem, cventry, cvdoubleentry, cvdoubleitem, cvtripleitem, cvlistitem, cvlistdoubleitem, cvcolumns, moderncvstyle, moderncvcolor,
|
cvitem, cventry, cvdoubleentry, cvdoubleitem, cvtripleitem, cvlistitem, cvlistdoubleitem, cvcolumns, moderncvstyle, moderncvcolor,
|
||||||
cvskill, cvskilllegend, cvskillplainlegend, cvskillhead, cvskillentry, nopagenumbers,
|
cvskill, cvskilllegend, cvskillplainlegend, cvskillhead, cvskillentry, nopagenumbers,
|
||||||
name, born, address, email, link, social, phone, homepage, extrainfo, photo, quote, section, subsection, setlength, NewDocumentCommand, definecolor, colorlet, cvitemwithcomment,
|
name, born, pronouns, address, email, link, social, phone, homepage, extrainfo, photo, quote, section, subsection, setlength, NewDocumentCommand, definecolor, colorlet, cvitemwithcomment,
|
||||||
recipient, subject, opening, closing, signature, enclosure
|
recipient, subject, opening, closing, signature, enclosure
|
||||||
},
|
},
|
||||||
emphstyle={\color{cvblue}},
|
emphstyle={\color{cvblue}},
|
||||||
|
|
@ -106,7 +106,7 @@
|
||||||
addresssymbol, mobilephonesymbol, fixedphonesymbol, faxphonesymbol, emailsymbol, homepagesymbol, linkedinsocialsymbol,
|
addresssymbol, mobilephonesymbol, fixedphonesymbol, faxphonesymbol, emailsymbol, homepagesymbol, linkedinsocialsymbol,
|
||||||
xingsocialsymbol, twittersocialsymbol, githubsocialsymbol, gitlabsocialsymbol,
|
xingsocialsymbol, twittersocialsymbol, githubsocialsymbol, gitlabsocialsymbol,
|
||||||
stackoverflowsocialsymbol, bitbucketsocialsymbol, skypesocialsymbol, orcidsocialsymbol, researchgatesocialsymbol, arxivsocialsymbol, inspiresocialsymbol,
|
stackoverflowsocialsymbol, bitbucketsocialsymbol, skypesocialsymbol, orcidsocialsymbol, researchgatesocialsymbol, arxivsocialsymbol, inspiresocialsymbol,
|
||||||
researcheridsocialsymbol, telegramsocialsymbol, whatsappsocialsymbol, signalsocialsymbol, matrixsocialsymbol, googlescholarsocialsymbol, cvstretchability, bornsymbol
|
researcheridsocialsymbol, telegramsocialsymbol, whatsappsocialsymbol, signalsocialsymbol, matrixsocialsymbol, googlescholarsocialsymbol, cvstretchability, bornsymbol, gendersymbol
|
||||||
},
|
},
|
||||||
emphstyle={[2]\color{cvblue!60!cvgrey}\bfseries},
|
emphstyle={[2]\color{cvblue!60!cvgrey}\bfseries},
|
||||||
literate={{é}{{\'e}}1},
|
literate={{é}{{\'e}}1},
|
||||||
|
|
@ -299,6 +299,18 @@ A command for a birth date.
|
||||||
\born{<birth date>}
|
\born{<birth date>}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
|
\paragraph{\code{\\pronouns}}
|
||||||
|
A command for your pronouns.
|
||||||
|
\begin{lstlisting}
|
||||||
|
\pronouns{<pronouns>}
|
||||||
|
\end{lstlisting}
|
||||||
|
|
||||||
|
\paragraph{\code{\\gendericon}}
|
||||||
|
A command for the icon used for your gender.
|
||||||
|
\begin{lstlisting}
|
||||||
|
\gendericon{<icon>}
|
||||||
|
\end{lstlisting}
|
||||||
|
|
||||||
\paragraph{\code{\\address}}
|
\paragraph{\code{\\address}}
|
||||||
A command for a three-lined street address.
|
A command for a three-lined street address.
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
|
|
@ -790,6 +802,7 @@ Currently \Moderncv supports the following commands as \code{<\\symbolcommand>}:
|
||||||
\item \code{\\bitbucketsocialsymbol}
|
\item \code{\\bitbucketsocialsymbol}
|
||||||
\item \code{\\skypesocialsymbol}
|
\item \code{\\skypesocialsymbol}
|
||||||
\item \code{\\bornsymbol}
|
\item \code{\\bornsymbol}
|
||||||
|
\item \code{\\gendersymbol}
|
||||||
\item \code{\\arxivsocialsymbol}
|
\item \code{\\arxivsocialsymbol}
|
||||||
\item \code{\\inspiresocialsymbol}
|
\item \code{\\inspiresocialsymbol}
|
||||||
\end{multicols}
|
\end{multicols}
|
||||||
|
|
|
||||||
|
|
@ -224,6 +224,14 @@
|
||||||
% usage: \title{<title>}
|
% usage: \title{<title>}
|
||||||
\renewcommand*{\title}[1]{\def\@title{#1}}
|
\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)
|
% defines one's address (optional)
|
||||||
% usage: \address{<street>}{<city>}{<country>}
|
% usage: \address{<street>}{<city>}{<country>}
|
||||||
% where the <city> and <country> arguments can be omitted or provided empty
|
% where the <city> and <country> arguments can be omitted or provided empty
|
||||||
|
|
@ -361,6 +369,7 @@
|
||||||
\newcommand*{\listitemsymbol} {\labelitemi~}
|
\newcommand*{\listitemsymbol} {\labelitemi~}
|
||||||
\newcommand*{\addresssymbol} {}
|
\newcommand*{\addresssymbol} {}
|
||||||
\newcommand*{\bornsymbol} {}
|
\newcommand*{\bornsymbol} {}
|
||||||
|
\newcommand*{\gendersymbol} {}
|
||||||
\newcommand*{\mobilephonesymbol} {}
|
\newcommand*{\mobilephonesymbol} {}
|
||||||
\newcommand*{\fixedphonesymbol} {}
|
\newcommand*{\fixedphonesymbol} {}
|
||||||
\newcommand*{\faxphonesymbol} {}
|
\newcommand*{\faxphonesymbol} {}
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,7 @@
|
||||||
\ifthenelse{\equal{\@addresscity}{}}{}{\makenewline\@addresscity}% if \addresstreet is defined, \addresscity and addresscountry will always be defined but could be empty
|
\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{\equal{\@addresscountry}{}}{}{\makenewline\@addresscountry}}%
|
||||||
\ifthenelse{\isundefined{\@born}}{}{\makenewline\bornsymbol\@born}%
|
\ifthenelse{\isundefined{\@born}}{}{\makenewline\bornsymbol\@born}%
|
||||||
|
\ifthenelse{\isundefined{\@pronouns}}{}{\makenewline\@gendericon~\@pronouns}%
|
||||||
\phonesdetails% needs to be pre-rendered as loops and tabulars seem to conflict
|
\phonesdetails% needs to be pre-rendered as loops and tabulars seem to conflict
|
||||||
\ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}%
|
\ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}%
|
||||||
\ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol%
|
\ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol%
|
||||||
|
|
@ -182,6 +183,7 @@
|
||||||
\ifthenelse{\equal{\@homepageprotocol}{http}}{\httplink{\@homepage}}{\httpslink{\@homepage}}}%
|
\ifthenelse{\equal{\@homepageprotocol}{http}}{\httplink{\@homepage}}{\httpslink{\@homepage}}}%
|
||||||
\collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link
|
\collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link
|
||||||
\makenewline\csname\collectionloopkey socialsymbol\endcsname\collectionloopitem}%
|
\makenewline\csname\collectionloopkey socialsymbol\endcsname\collectionloopitem}%
|
||||||
|
\ifthenelse{\isundefined{\@pronouns}}{}{\addtomakeheaddetails{\@pronouns}}%
|
||||||
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}}\fi%
|
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}}\fi%
|
||||||
\end{minipage}\\[2em]
|
\end{minipage}\\[2em]
|
||||||
% recipient block
|
% recipient block
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,8 @@
|
||||||
%\renewcommand*{\matrixsocialsymbol} {}
|
%\renewcommand*{\matrixsocialsymbol} {}
|
||||||
% \renewcommand*{\arxivsocialsymbol} {{\color{arxiv}{\small\faarXiv}}~}
|
% \renewcommand*{\arxivsocialsymbol} {{\color{arxiv}{\small\faarXiv}}~}
|
||||||
% \renewcommand*{\inspiresocialsymbol} {{\color{inspire}{\small\faInspire}}~}
|
% \renewcommand*{\inspiresocialsymbol} {{\color{inspire}{\small\faInspire}}~}
|
||||||
|
\def\@gendericon{\faNeuter}
|
||||||
|
\renewcommand*{\gendersymbol} {{\small\@gendericon}~}
|
||||||
\renewcommand*{\bornsymbol} {{\color{born}\small\faAsterisk}~} % alternative: \faBabyCarriage
|
\renewcommand*{\bornsymbol} {{\color{born}\small\faAsterisk}~} % alternative: \faBabyCarriage
|
||||||
\renewcommand*{\mediumsocialsymbol} {{\color{medium}\small\faMedium}~}
|
\renewcommand*{\mediumsocialsymbol} {{\color{medium}\small\faMedium}~}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,8 @@
|
||||||
\name{John}{Doe}
|
\name{John}{Doe}
|
||||||
\title{Résumé title} % optional, remove / comment the line if not wanted
|
\title{Résumé title} % optional, remove / comment the line if not wanted
|
||||||
\born{4 July 1776} % 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
|
\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[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}
|
\phone[fixed]{+2~(345)~678~901}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue