mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
introduce simplex social icon - at least as tikz icon
This commit is contained in:
parent
14deb59ddb
commit
af37c01a81
7 changed files with 29 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -351,6 +351,7 @@ The following values are supported for \code{<platform>}:
|
|||
\item \code{researcherid}
|
||||
\item \code{researchgate}
|
||||
\item \code{signal}
|
||||
\item \code{simplex}
|
||||
\item \code{skype}
|
||||
\item \code{soundcloud}
|
||||
\item \code{stackoverflow}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
%------
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@
|
|||
\renewcommand*{\battlenetsocialsymbol} {\textbf{bn}~}
|
||||
\renewcommand*{\arxivsocialsymbol} {\textbf{arx}~}
|
||||
\renewcommand*{\inspiresocialsymbol} {\textbf{ins}~}
|
||||
\renewcommand*{\simplexsocialsymbol} {\textbf{splx}~}
|
||||
|
||||
\renewcommand*{\listitemsymbol} {\labelitemi~}
|
||||
|
||||
|
|
|
|||
|
|
@ -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'.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue