diff --git a/CHANGELOG b/CHANGELOG index a10c6b0..b2def6e 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 and Threema social (#217) - Fix spacing between first and last name again (#220) - Make header details flush against sides for casual, classic, and contemporary styles (#229) diff --git a/manual/moderncv_userguide.pdf b/manual/moderncv_userguide.pdf index 0468a22..2b3284f 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..ab7ba7f 100644 --- a/manual/moderncv_userguide.tex +++ b/manual/moderncv_userguide.tex @@ -351,11 +351,13 @@ 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} \item \code{steam} \item \code{telegram} + \item \code{threema} \item \code{tiktok} \item \code{twitch} \item \code{twitter} diff --git a/moderncv.cls b/moderncv.cls index 20cedc8..23bff53 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -290,6 +290,8 @@ % - "battlenet" % - "arxiv" % - "inspire" +% - "simplex" +% - "threema" \collectionnew{socials} \NewDocumentCommand{\social}{O{}O{}m}{% \ifthenelse{\equal{#2}{}}% @@ -323,7 +325,9 @@ \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}}} {}% + \ifthenelse{\equal{#1}{threema}} {\collectionadd[threema]{socials} {\protect\httpslink[#3]{threema.id/#3}}} {}% } {\collectionadd[#1]{socials}{\protect\httpslink[#3]{#2}}}}% @@ -391,6 +395,8 @@ \newcommand*{\battlenetsocialsymbol} {} \newcommand*{\arxivsocialsymbol} {} \newcommand*{\inspiresocialsymbol} {} +\newcommand*{\simplexsocialsymbol} {} +\newcommand*{\threemasocialsymbol} {} % other %------ diff --git a/moderncviconsletters.sty b/moderncviconsletters.sty index 2dc6386..85ae5ae 100644 --- a/moderncviconsletters.sty +++ b/moderncviconsletters.sty @@ -58,6 +58,8 @@ \renewcommand*{\battlenetsocialsymbol} {\textbf{bn}~} \renewcommand*{\arxivsocialsymbol} {\textbf{arx}~} \renewcommand*{\inspiresocialsymbol} {\textbf{ins}~} +\renewcommand*{\simplexsocialsymbol} {\textbf{splx}~} +\renewcommand*{\simplexsocialsymbol} {\textbf{thr}~} \renewcommand*{\listitemsymbol} {\labelitemi~} diff --git a/moderncviconstikz.sty b/moderncviconstikz.sty index e1a0248..1510354 100644 --- a/moderncviconstikz.sty +++ b/moderncviconstikz.sty @@ -459,6 +459,53 @@ ~} }{}\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 + +\ifdefempty{\threemasocialsymbol} { + \renewcommand*{\threemasocialsymbol} { + \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)}] + \protect\path[fill=default-socialicon-color, scale=0.015] + % speech bubble + (137,25) ellipse (400 and 350) + % lock shackle + (244.5,-51) arc [start angle=0, end angle=-180, radius=107] + (199.5,-51) arc [start angle=0, end angle=-180, radius=62] + (199.5,-51) rectangle +(45,52) + (30.5,-51) rectangle +(45,52) + % lock body + (0, 0) rectangle +(274, 196); + % triangle + \protect\path[fill=default-socialicon-color, scale=0.015] + (-200,213) -- +(-41,168) -- +(157,120) -- cycle; + % three dots + \protect\path[fill=default-socialicon-color, scale=0.015] + (-94,553) circle (68) + (144,553) circle (68) + (390,553) circle (68); + \protect\end{scope} + \protect\end{tikzpicture}} + ~} +}{}\par + \endinput %% end of file `moderncviconstikz.sty'. diff --git a/template.tex b/template.tex index 5971baa..f08609c 100644 --- a/template.tex +++ b/template.tex @@ -103,8 +103,10 @@ \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 +\social[threema]{0000000} % optional, remove / comment the line if not wanted \extrainfo{additional information} % optional, remove / comment the line if not wanted