mirror of https://github.com/eyhc1/rendercv.git
enhance external links in classic theme
This commit is contained in:
parent
8a1ec8b3bd
commit
a6859fb06c
|
@ -28,6 +28,7 @@
|
||||||
\usepackage{bookmark} % for bookmarks
|
\usepackage{bookmark} % for bookmarks
|
||||||
\usepackage{lastpage} % for getting the total number of pages
|
\usepackage{lastpage} % for getting the total number of pages
|
||||||
\usepackage[default, type1]{sourcesanspro} % for using source sans pro font
|
\usepackage[default, type1]{sourcesanspro} % for using source sans pro font
|
||||||
|
\usepackage{ifthen}
|
||||||
|
|
||||||
% Some settings:
|
% Some settings:
|
||||||
\pagestyle{empty} % no header or footer
|
\pagestyle{empty} % no header or footer
|
||||||
|
@ -116,7 +117,7 @@
|
||||||
% save the original href command in a new command:
|
% save the original href command in a new command:
|
||||||
\let\hrefWithoutArrow\href
|
\let\hrefWithoutArrow\href
|
||||||
% new command for external links:
|
% new command for external links:
|
||||||
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{#2 \raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{}{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||||
|
|
||||||
\let\originalTabularx\tabularx
|
\let\originalTabularx\tabularx
|
||||||
\let\originalEndTabularx\endtabularx
|
\let\originalEndTabularx\endtabularx
|
||||||
|
|
Loading…
Reference in New Issue