mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Merge branch 'master' into stackoverflow-social-command
This commit is contained in:
commit
af2c2a7954
13 changed files with 446 additions and 30 deletions
13
moderncv.cls
13
moderncv.cls
|
|
@ -129,8 +129,8 @@
|
|||
bookmarksdepth= 2,% to show sections and subsections
|
||||
pdfauthor = {\@firstname{}~\@lastname{}},
|
||||
pdftitle = {\@firstname{}~\@lastname{}\notblank{\@title}{ -- \@title}{}},
|
||||
pdfsubject = {Resum\'{e} of \@firstname{}~\@lastname{}},
|
||||
pdfkeywords = {\@firstname{}~\@lastname{}, curriculum vit\ae{}, resum\'{e}}}}
|
||||
pdfsubject = {R\'{e}sum\'{e} of \@firstname{}~\@lastname{}},
|
||||
pdfkeywords = {\@firstname{}~\@lastname{}, curriculum vit\ae{}, r\'{e}sum\'{e}}}}
|
||||
|
||||
% graphics
|
||||
\RequirePackage{graphicx}
|
||||
|
|
@ -191,7 +191,7 @@
|
|||
% compatibility package with older versions of moderncv
|
||||
\RequirePackageWithOptions{moderncvcompatibility}
|
||||
|
||||
\RequirePackage{l3regex}
|
||||
\RequirePackage{expl3}
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
% class definition
|
||||
|
|
@ -265,8 +265,8 @@
|
|||
\collectionnew{socials}
|
||||
\NewDocumentCommand{\social}{O{}O{}m}{%
|
||||
\ifthenelse{\equal{#2}{}}%
|
||||
{%
|
||||
\ifthenelse{\equal{#1}{linkedin}}{\collectionadd[linkedin]{socials}{\protect\httpslink[#3]{www.linkedin.com/in/#3}}} {}%
|
||||
{%
|
||||
\ifthenelse{\equal{#1}{linkedin}}{\collectionadd[linkedin]{socials}{\protect\httpslink[#3]{www.linkedin.com/in/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{xing}} {\collectionadd[xing]{socials} {\protect\httpslink[#3]{www.xing.com/profile/#3}}}{}%
|
||||
\ifthenelse{\equal{#1}{twitter}} {\collectionadd[twitter]{socials} {\protect\httpslink[#3]{www.twitter.com/#3}}} {}%
|
||||
\ifthenelse{\equal{#1}{github}} {\collectionadd[github]{socials} {\protect\httpslink[#3]{www.github.com/#3}}} {}%
|
||||
|
|
@ -513,13 +513,14 @@
|
|||
{\href{http://#2}{#2}}%
|
||||
{\href{http://#2}{#1}}}
|
||||
|
||||
|
||||
% makes an https hyperlink
|
||||
% usage: \httpslink[optional text]{link}
|
||||
\newcommand*{\httpslink}[2][]{%
|
||||
\ifthenelse{\equal{#1}{}}%
|
||||
{\href{https://#2}{#2}}%
|
||||
{\href{https://#2}{#1}}}
|
||||
|
||||
|
||||
% makes an email hyperlink
|
||||
% usage: \emaillink[optional text]{link}
|
||||
\newcommand*{\emaillink}[2][]{%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue