[Tex/LaTex] Two \social icons for one account name in moderncv header

fontawesomemoderncv

I use the default template of moderncv (can be used as MWE) classic style with awesome moderncvicons compiled in LuaLaTeX. I have the same account name for Twitter and Github, and I would like to have both icons in the same line preceding my account name in the header info. Here is the part of the template:

\social[linkedin]{john22.doe}
\social[twitter]{jdoe}
\social[github]{jdoe}

How can I do this? Thanks for your replies.

Best Answer

The \social macro is meant to contain only one nick per social site, since it also inserts a link to the social website in question.

To get both on one line you could use the \extrainfo field that allows you to insert some arbitrary information in the headers:

\extrainfo{\githubsocialsymbol~\twittersocialsymbol~jdoe}