mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
introduce simplex/threema social icon - at least as tikz icon (#222)
* introduce simplex social icon - at least as tikz icon * complete CHANGELOG entry * introduce threema social icon - at least as tikz icon * addendum: new compiled user guide --------- Co-authored-by: Mark E Fuller <mark.e.fuller@gmx.de>
This commit is contained in:
parent
baa0c5920d
commit
51a3e9c3d7
7 changed files with 63 additions and 3 deletions
|
|
@ -4,6 +4,7 @@ version next
|
||||||
- Fix spacing between first and last name (#204)
|
- Fix spacing between first and last name (#204)
|
||||||
- Include social icons in cover letter for styles classic, fancy and banking (#170)
|
- Include social icons in cover letter for styles classic, fancy and banking (#170)
|
||||||
- Update Oldstyle to use symbols instead of marvosym (#209)
|
- Update Oldstyle to use symbols instead of marvosym (#209)
|
||||||
|
- Added SimpleX and Threema social (#217)
|
||||||
- Fix spacing between first and last name again (#220)
|
- Fix spacing between first and last name again (#220)
|
||||||
- Make header details flush against sides for casual, classic, and contemporary
|
- Make header details flush against sides for casual, classic, and contemporary
|
||||||
styles (#229)
|
styles (#229)
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -351,11 +351,13 @@ The following values are supported for \code{<platform>}:
|
||||||
\item \code{researcherid}
|
\item \code{researcherid}
|
||||||
\item \code{researchgate}
|
\item \code{researchgate}
|
||||||
\item \code{signal}
|
\item \code{signal}
|
||||||
|
\item \code{simplex}
|
||||||
\item \code{skype}
|
\item \code{skype}
|
||||||
\item \code{soundcloud}
|
\item \code{soundcloud}
|
||||||
\item \code{stackoverflow}
|
\item \code{stackoverflow}
|
||||||
\item \code{steam}
|
\item \code{steam}
|
||||||
\item \code{telegram}
|
\item \code{telegram}
|
||||||
|
\item \code{threema}
|
||||||
\item \code{tiktok}
|
\item \code{tiktok}
|
||||||
\item \code{twitch}
|
\item \code{twitch}
|
||||||
\item \code{twitter}
|
\item \code{twitter}
|
||||||
|
|
|
||||||
|
|
@ -290,6 +290,8 @@
|
||||||
% - "battlenet"
|
% - "battlenet"
|
||||||
% - "arxiv"
|
% - "arxiv"
|
||||||
% - "inspire"
|
% - "inspire"
|
||||||
|
% - "simplex"
|
||||||
|
% - "threema"
|
||||||
\collectionnew{socials}
|
\collectionnew{socials}
|
||||||
\NewDocumentCommand{\social}{O{}O{}m}{%
|
\NewDocumentCommand{\social}{O{}O{}m}{%
|
||||||
\ifthenelse{\equal{#2}{}}%
|
\ifthenelse{\equal{#2}{}}%
|
||||||
|
|
@ -324,6 +326,8 @@
|
||||||
\ifthenelse{\equal{#1}{battlenet}} {\collectionadd[battlenet]{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}{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}}}}%
|
{\collectionadd[#1]{socials}{\protect\httpslink[#3]{#2}}}}%
|
||||||
|
|
||||||
|
|
@ -391,6 +395,8 @@
|
||||||
\newcommand*{\battlenetsocialsymbol} {}
|
\newcommand*{\battlenetsocialsymbol} {}
|
||||||
\newcommand*{\arxivsocialsymbol} {}
|
\newcommand*{\arxivsocialsymbol} {}
|
||||||
\newcommand*{\inspiresocialsymbol} {}
|
\newcommand*{\inspiresocialsymbol} {}
|
||||||
|
\newcommand*{\simplexsocialsymbol} {}
|
||||||
|
\newcommand*{\threemasocialsymbol} {}
|
||||||
|
|
||||||
% other
|
% other
|
||||||
%------
|
%------
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,8 @@
|
||||||
\renewcommand*{\battlenetsocialsymbol} {\textbf{bn}~}
|
\renewcommand*{\battlenetsocialsymbol} {\textbf{bn}~}
|
||||||
\renewcommand*{\arxivsocialsymbol} {\textbf{arx}~}
|
\renewcommand*{\arxivsocialsymbol} {\textbf{arx}~}
|
||||||
\renewcommand*{\inspiresocialsymbol} {\textbf{ins}~}
|
\renewcommand*{\inspiresocialsymbol} {\textbf{ins}~}
|
||||||
|
\renewcommand*{\simplexsocialsymbol} {\textbf{splx}~}
|
||||||
|
\renewcommand*{\simplexsocialsymbol} {\textbf{thr}~}
|
||||||
|
|
||||||
\renewcommand*{\listitemsymbol} {\labelitemi~}
|
\renewcommand*{\listitemsymbol} {\labelitemi~}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -459,6 +459,53 @@
|
||||||
~}
|
~}
|
||||||
}{}\par
|
}{}\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
|
\endinput
|
||||||
|
|
||||||
%% end of file `moderncviconstikz.sty'.
|
%% end of file `moderncviconstikz.sty'.
|
||||||
|
|
|
||||||
|
|
@ -105,6 +105,8 @@
|
||||||
\social[battlenet]{jdoe\#0000} % 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[arxiv]{doe\_j\_1} % optional, remove / comment the line if not wanted
|
||||||
\social[inspire]{0000000} % 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
|
\extrainfo{additional information} % optional, remove / comment the line if not wanted
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue