diff --git a/CHANGELOG b/CHANGELOG index 6531a79..2d2ada9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,6 +4,7 @@ version next - Fix spacing between first and last name (#204) - Include social icons in cover letter for styles classic, fancy and banking (#170) - Update Oldstyle to use symbols instead of marvosym (#209) +- Added simplex social (#) version 2.4.1 (18 Jul 2024) - Fix commons/colors.tex not found in package (#194) diff --git a/manual/moderncv_userguide.pdf b/manual/moderncv_userguide.pdf index 0468a22..e3f5062 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 feb6f31..b193f0c 100644 --- a/manual/moderncv_userguide.tex +++ b/manual/moderncv_userguide.tex @@ -351,6 +351,7 @@ The following values are supported for \code{}: \item \code{researcherid} \item \code{researchgate} \item \code{signal} + \item \code{simplex} \item \code{skype} \item \code{soundcloud} \item \code{stackoverflow} diff --git a/moderncv.cls b/moderncv.cls index 20cedc8..744fa02 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -290,6 +290,7 @@ % - "battlenet" % - "arxiv" % - "inspire" +% - "simplex" \collectionnew{socials} \NewDocumentCommand{\social}{O{}O{}m}{% \ifthenelse{\equal{#2}{}}% @@ -323,7 +324,8 @@ \ifthenelse{\equal{#1}{playstation}} {\collectionadd[playstation]{socials} {#3}} {}% \ifthenelse{\equal{#1}{battlenet}} {\collectionadd[battlenet]{socials} {#3}} {}% \ifthenelse{\equal{#1}{arxiv}} {\collectionadd[arxiv]{socials} {\protect\httpslink[#3]{arxiv.org/a/#3}}} {}% - \ifthenelse{\equal{#1}{inspire}} {\collectionadd[inspire]{socials} {\protect\httpslink[#3]{inspirehep.net/authoris/#3}}} {}% + \ifthenelse{\equal{#1}{inspire}} {\collectionadd[inspire]{socials} {\protect\httpslink[#3]{inspirehep.net/authoris/#3}}} {}% + \ifthenelse{\equal{#1}{simplex}} {\collectionadd[simplex]{socials} {\protect\httpslink[#3]{simplex.chat/#3}}} {}% } {\collectionadd[#1]{socials}{\protect\httpslink[#3]{#2}}}}% @@ -391,6 +393,7 @@ \newcommand*{\battlenetsocialsymbol} {} \newcommand*{\arxivsocialsymbol} {} \newcommand*{\inspiresocialsymbol} {} +\newcommand*{\simplexsocialsymbol} {} % other %------ diff --git a/moderncviconsletters.sty b/moderncviconsletters.sty index 2dc6386..5cda3e1 100644 --- a/moderncviconsletters.sty +++ b/moderncviconsletters.sty @@ -58,6 +58,7 @@ \renewcommand*{\battlenetsocialsymbol} {\textbf{bn}~} \renewcommand*{\arxivsocialsymbol} {\textbf{arx}~} \renewcommand*{\inspiresocialsymbol} {\textbf{ins}~} +\renewcommand*{\simplexsocialsymbol} {\textbf{splx}~} \renewcommand*{\listitemsymbol} {\labelitemi~} diff --git a/moderncviconstikz.sty b/moderncviconstikz.sty index e1a0248..4d4f707 100644 --- a/moderncviconstikz.sty +++ b/moderncviconstikz.sty @@ -459,6 +459,25 @@ ~} }{}\par +\ifdefempty{\simplexsocialsymbol} { + \renewcommand*{\simplexsocialsymbol} { + \protect\raisebox{-0.12em}{ + \protect\begin{tikzpicture}[y=0.8pt, x=0.8pt, yscale=-1.0, xscale=1.0, inner sep=0pt, outer sep=0pt] + \protect\begin{scope}[shift={(507,387)}, rotate=45] + \protect\path[fill=default-socialicon-color!80, scale=0.065] + (0,0) rectangle +(100,20) + (40,-60) rectangle +(20,120); + + \protect\path[fill=default-socialicon-color, scale=0.065] + (0,-60) rectangle +(160,20) + (40,-100) rectangle +(20,60) + (100,-100) rectangle +(20,160) + (100,0) rectangle +(60,20); + \protect\end{scope} + \protect\end{tikzpicture}} + ~} +}{}\par + \endinput %% end of file `moderncviconstikz.sty'. diff --git a/template.tex b/template.tex index 5971baa..6c923a3 100644 --- a/template.tex +++ b/template.tex @@ -103,8 +103,9 @@ \social[xbox]{jdoe} % optional, remove / comment the line if not wanted \social[playstation]{jdoe} % optional, remove / comment the line if not wanted \social[battlenet]{jdoe\#0000} % optional, remove / comment the line if not wanted -\social[arxiv]{doe\_j\_1} % optional, remove / comment the line if not wanted -\social[inspire]{0000000} % optional, remove / comment the line if not wanted +\social[arxiv]{doe\_j\_1} % optional, remove / comment the line if not wanted +\social[inspire]{0000000} % optional, remove / comment the line if not wanted +\social[simplex]{0000000} % optional, remove / comment the line if not wanted \extrainfo{additional information} % optional, remove / comment the line if not wanted