Discord social symbol

This commit is contained in:
Mark E. Fuller 2022-03-08 20:09:00 +02:00
commit effd19d821
No known key found for this signature in database
GPG key ID: D1CB9BCF4D87185F
3 changed files with 4 additions and 0 deletions

View file

@ -274,6 +274,7 @@
\ifthenelse{\equal{#1}{matrix}} {\collectionadd[matrix]{socials} {\httpslink[#3]{matrix.to/\#/#3}}} {}%
\ifthenelse{\equal{#1}{googlescholar}}{\collectionadd[googlescholar]{socials}{\protect\httpslink[#3]{scholar.google.com/citations?user=#3}}} {}%
\ifthenelse{\equal{#1}{codeberg}} {\collectionadd[codeberg]{socials} {\protect\httpslink[#3]{codeberg.org/#3}}} {}%
\ifthenelse{\equal{#1}{discord}} {\collectionadd[discord]{socials} {#3}} {}%
}
{\collectionadd[#1]{socials}{\protect\httpslink[#3]{#2}}}}%
@ -329,6 +330,7 @@
\newcommand*{\matrixsocialsymbol} {}
\newcommand*{\signalsocialsymbol} {}
\newcommand*{\codebergsocialsymbol} {}
\newcommand*{\discordsocialsymbol} {}
% other
%------

View file

@ -48,6 +48,7 @@
%\renewcommand*{\googlescholarsocialsymbol}{}
\renewcommand*{\telegramsocialsymbol} {{\small\faTelegram}~}
\renewcommand*{\whatsappsocialsymbol} {{\small\faWhatsapp}~}
\renewcommand*{\discordsocialsymbol} {{\small\faDiscord}~}
%\renewcommand*{\signalsocialsymbol} {}
%\renewcommand*{\matrixsocialsymbol} {}
\renewcommand*{\bornsymbol} {{\small\faAsterisk}~} % alternative: \faBabyCarriage

View file

@ -73,6 +73,7 @@
\social[whatsapp]{12345678901} % optional, remove / comment the line if not wanted
\social[signal]{12345678901} % optional, remove / comment the line if not wanted
\social[matrix]{@johndoe:matrix.org} % optional, remove / comment the line if not wanted
\social[discord]{jdoe\#0000} % optional, remove / comment the line if not wanted