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{calc} % for calculating lengths
|
||||||
\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 3 font
|
|
||||||
\usepackage{changepage} % for one column entries (adjustwidth environment)
|
\usepackage{changepage} % for one column entries (adjustwidth environment)
|
||||||
\usepackage{paracol} % for two and three column entries
|
\usepackage{paracol} % for two and three column entries
|
||||||
\usepackage{ifthen} % for conditional statements
|
\usepackage{ifthen} % for conditional statements
|
||||||
\usepackage{needspace} % for avoiding page brake right after the section title
|
\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:
|
% Ensure that generate pdf is machine readable/ATS parsable:
|
||||||
\ifpdf
|
\ifpdf
|
||||||
\input{glyphtounicode}
|
\input{glyphtounicode}
|
||||||
|
@ -95,6 +97,7 @@
|
||||||
<<design.margins.section_title.bottom>>
|
<<design.margins.section_title.bottom>>
|
||||||
} % section title spacing
|
} % section title spacing
|
||||||
|
|
||||||
|
% \renewcommand\labelitemi{$\vcenter{\hbox{\small$\bullet$}}$} % custom bullet points
|
||||||
\newenvironment{highlights}{
|
\newenvironment{highlights}{
|
||||||
\begin{itemize}[
|
\begin{itemize}[
|
||||||
topsep=<<design.margins.highlights_area.top>>,
|
topsep=<<design.margins.highlights_area.top>>,
|
||||||
|
@ -132,7 +135,7 @@
|
||||||
\newenvironment{threecolentry}[3][]{
|
\newenvironment{threecolentry}[3][]{
|
||||||
\onecolentry
|
\onecolentry
|
||||||
\def\thirdColumn{#3}
|
\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}
|
\begin{paracol}{3}
|
||||||
\raggedright #2 \switchcolumn
|
\raggedright #2 \switchcolumn
|
||||||
}{
|
}{
|
||||||
|
@ -163,5 +166,8 @@
|
||||||
|
|
||||||
% 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:
|
||||||
|
((* if not design.disable_external_link_icons *))
|
||||||
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||||
|
((* endif *))
|
Loading…
Reference in New Issue