Merge branch 'update_documentation' into PR7-update-documentation-all-commits

This commit is contained in:
David Seus 2021-04-29 21:52:53 +02:00
commit 09f4ac8351
2 changed files with 18 additions and 8 deletions

View file

@ -95,7 +95,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,% stackoverflowsocialsymbol,bitbucketsocialsymbol,skypesocialsymbol,orcidsocialsymbol,researchgatesocialsymbol,%
researcheridsocialsymbol,telegramsocialsymbol,googlescholarsocialsymbol,cvstretchability},% researcheridsocialsymbol,telegramsocialsymbol,whatsappsocialsymbol,signalsocialsymbol,matrixsocialsymbol,googlescholarsocialsymbol,cvstretchability,bornsymbol},%
emphstyle={[2]\color{cvblue!60!cvgrey}\bfseries}, emphstyle={[2]\color{cvblue!60!cvgrey}\bfseries},
} }
@ -357,6 +357,7 @@ The default template settings are
\begin{lstlisting} \begin{lstlisting}
\name{John}{Doe} \name{John}{Doe}
\title{R\'{e}sum\'{e} title} \title{R\'{e}sum\'{e} title}
\born{4 July 1776}
\address{street and number}{postcode city}{country} \address{street and number}{postcode city}{country}
\phone[mobile]{+1~(234)~567~890} \phone[mobile]{+1~(234)~567~890}
\phone[fixed]{+2~(345)~678~901} \phone[fixed]{+2~(345)~678~901}
@ -376,6 +377,9 @@ The default template settings are
\social[researchgate]{jdoe} \social[researchgate]{jdoe}
\social[researcherid]{jdoe} \social[researcherid]{jdoe}
\social[telegram]{jdoe} \social[telegram]{jdoe}
\social[whatsapp]{12345678901}
\social[signal]{12345678901}
\social[matrix]{@johndoe:matrix.org}
\social[googlescholar]{googlescholarid} \social[googlescholar]{googlescholarid}
\extrainfo{additional information} \extrainfo{additional information}
@ -693,7 +697,7 @@ versions of the symbols used. \emph{The above command is what should be used if
replace an icon/symbol leaving the size consistent with the default icons}. replace an icon/symbol leaving the size consistent with the default icons}.
The tilde ensures proper spacing after the symbols and is recommended as well. The tilde ensures proper spacing after the symbols and is recommended as well.
Currently \moderncv supports the following commands as \code{<\\symbolcommand>}: Currently \moderncv\ supports the following commands as \code{<\\symbolcommand>}:
\begin{itemize} \begin{itemize}
\item \lstinline!\addresssymbol! \item \lstinline!\addresssymbol!
\item \lstinline!\mobilephonesymbol! \item \lstinline!\mobilephonesymbol!
@ -707,13 +711,17 @@ Currently \moderncv supports the following commands as \code{<\\symbolcommand>}:
\item \lstinline!\githubsocialsymbol! \item \lstinline!\githubsocialsymbol!
\item \lstinline!\gitlabsocialsymbol! \item \lstinline!\gitlabsocialsymbol!
\item \lstinline!\stackoverflowsocialsymbol! \item \lstinline!\stackoverflowsocialsymbol!
\item \lstinline!\bitbucketsocialsymbol! \item \lstinline!\googlescholarsocialsymbol!
\item \lstinline!\skypesocialsymbol! \item \lstinline!\telegramsocialsymbol!
\item \lstinline!\whatsappsocialsymbol!
\item \lstinline!\signalsocialsymbol!
\item \lstinline!\matrixsocialsymbol!
\item \lstinline!\orcidsocialsymbol! \item \lstinline!\orcidsocialsymbol!
\item \lstinline!\researchgatesocialsymbol! \item \lstinline!\researchgatesocialsymbol!
\item \lstinline!\researcheridsocialsymbol! \item \lstinline!\researcheridsocialsymbol!
\item \lstinline!\telegramsocialsymbol! \item \lstinline!\bitbucketsocialsymbol!
\item \lstinline!\googlescholarsocialsymbol! \item \lstinline!\skypesocialsymbol!
\item \lstinline!\bornsymbol!
\end{itemize} \end{itemize}
The possible options for \Code{<\\symbol>} depend on the package that is used. The possible options for \Code{<\\symbol>} depend on the package that is used.
By default the \Code{marvosym} package is loaded if \Code{pdflatex} is used and the packages By default the \Code{marvosym} package is loaded if \Code{pdflatex} is used and the packages

View file

@ -85,7 +85,9 @@
\ifthenelse{\equal{\@addresscity}{}}{}{\addtofoot[~--~]{\@addresscity}}% if \addresstreet is defined, \addresscity and \addresscountry will always be defined but could be empty \ifthenelse{\equal{\@addresscity}{}}{}{\addtofoot[~--~]{\@addresscity}}% if \addresstreet is defined, \addresscity and \addresscountry will always be defined but could be empty
\ifthenelse{\equal{\@addresscountry}{}}{}{\addtofoot[~--~]{\@addresscountry}}% \ifthenelse{\equal{\@addresscountry}{}}{}{\addtofoot[~--~]{\@addresscountry}}%
\flushfoot\@firstfootelementtrue\\}% \flushfoot\@firstfootelementtrue\\}%
\ifthenelse{\isundefined{\@born}}{}{\addtofoot{\bornsymbol\@born}\flushfoot\@firstfootelementtrue\\}% % variant of the footer in which the date of birth is in its separate line
% \ifthenelse{\isundefined{\@born}}{}{\addtofoot{\bornsymbol\@born}\flushfoot\@firstfootelementtrue\\}%
\ifthenelse{\isundefined{\@born}}{}{\addtofoot{\bornsymbol\@born}}%
\collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number \collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
\addtofoot{\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}% \addtofoot{\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}%
\ifthenelse{\isundefined{\@email}}{}{\addtofoot{\emailsymbol\emaillink{\@email}}}% \ifthenelse{\isundefined{\@email}}{}{\addtofoot{\emailsymbol\emaillink{\@email}}}%