mirror of https://github.com/eyhc1/rendercv.git
classic: implement `disable_external_link_icons` option
This commit is contained in:
parent
ad943601b6
commit
8c93f24f42
|
@ -28,12 +28,14 @@
|
|||
\usepackage{calc} % for calculating lengths
|
||||
\usepackage{bookmark} % for bookmarks
|
||||
\usepackage{lastpage} % for getting the total number of pages
|
||||
\usepackage[default, type1]{sourcesanspro} % for using source sans 3 font
|
||||
\usepackage{changepage} % for one column entries (adjustwidth environment)
|
||||
\usepackage{paracol} % for two and three column entries
|
||||
\usepackage{ifthen} % for conditional statements
|
||||
\usepackage{needspace} % for avoiding page brake right after the section title
|
||||
|
||||
% Theme specific:
|
||||
\usepackage[default, type1]{sourcesanspro} % for using source sans 3 font
|
||||
|
||||
% Ensure that generate pdf is machine readable/ATS parsable:
|
||||
\ifpdf
|
||||
\input{glyphtounicode}
|
||||
|
@ -95,6 +97,7 @@
|
|||
<<design.margins.section_title.bottom>>
|
||||
} % section title spacing
|
||||
|
||||
% \renewcommand\labelitemi{$\vcenter{\hbox{\small$\bullet$}}$} % custom bullet points
|
||||
\newenvironment{highlights}{
|
||||
\begin{itemize}[
|
||||
topsep=<<design.margins.highlights_area.top>>,
|
||||
|
@ -132,7 +135,7 @@
|
|||
\newenvironment{threecolentry}[3][]{
|
||||
\onecolentry
|
||||
\def\thirdColumn{#3}
|
||||
\setcolumnwidth{1cm, \fill, <<design.margins.entry_area.date_and_location_width>>}
|
||||
\setcolumnwidth{<<design.margins.entry_area.education_degree_width>>, \fill, <<design.margins.entry_area.date_and_location_width>>}
|
||||
\begin{paracol}{3}
|
||||
\raggedright #2 \switchcolumn
|
||||
}{
|
||||
|
@ -163,5 +166,8 @@
|
|||
|
||||
% save the original href command in a new command:
|
||||
\let\hrefWithoutArrow\href
|
||||
% new command for external links:
|
||||
|
||||
% new command for external links:
|
||||
((* if not design.disable_external_link_icons *))
|
||||
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||
((* endif *))
|
Loading…
Reference in New Issue