mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2025-12-26 07:34:56 +08:00
Added \x command
Supposed to replace twitter
This commit is contained in:
parent
685aa60f02
commit
c7112fa423
4 changed files with 13 additions and 0 deletions
|
|
@ -314,6 +314,10 @@
|
|||
% Usage: \twitter{<twitter handle>}
|
||||
\newcommand*{\twitter}[1]{\def\@twitter{#1}}
|
||||
|
||||
% Defines writer's x (formerly twitter) (optional)
|
||||
% Usage: \x{<x account>}
|
||||
\newcommand*{\x}[1]{\def\@x{#1}}
|
||||
|
||||
% Defines writer's Mastodon (optional)
|
||||
% Usage: \mastodon{<instance>}{<mastodon-nick>}
|
||||
\newcommand*{\mastodon}[2]{\def\@mastodoninstance{#1}\def\@mastodonname{#2}}
|
||||
|
|
@ -549,6 +553,12 @@
|
|||
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
|
||||
\href{https://twitter.com/\@twitter}{\faTwitter\acvHeaderIconSep\@twitter}%
|
||||
}%
|
||||
\ifthenelse{\isundefined{\@x}}%
|
||||
{}%
|
||||
{%
|
||||
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
|
||||
\href{https://x.com/\@x}{\faXTwitter\acvHeaderIconSep\@x}%
|
||||
}%
|
||||
\ifthenelse{\isundefined{\@mastodonname}}%
|
||||
{}%
|
||||
{%
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@
|
|||
% \gitlab{gitlab-id}
|
||||
% \stackoverflow{SO-id}{SO-name}
|
||||
% \twitter{@twit}
|
||||
% \x{x-id}
|
||||
% \skype{skype-id}
|
||||
% \reddit{reddit-id}
|
||||
% \medium{madium-id}
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@
|
|||
% \gitlab{gitlab-id}
|
||||
% \stackoverflow{SO-id}{SO-name}
|
||||
% \twitter{@twit}
|
||||
% \x{x-id}
|
||||
% \skype{skype-id}
|
||||
% \reddit{reddit-id}
|
||||
% \medium{medium-id}
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@
|
|||
% \gitlab{gitlab-id}
|
||||
% \stackoverflow{SO-id}{SO-name}
|
||||
% \twitter{@twit}
|
||||
% \x{x-id}
|
||||
% \skype{skype-id}
|
||||
% \reddit{reddit-id}
|
||||
% \medium{madium-id}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue