improve the classic theme

This commit is contained in:
Sina Atalay 2023-11-17 22:41:15 +01:00 committed by Jeffrey Goldberg
parent 3b336d23a3
commit e807ca4268
2 changed files with 3 additions and 5 deletions

View File

@ -42,7 +42,7 @@
\makeatletter \makeatletter
\let\ps@customFooterStyle\ps@plain % Copy the plain style to customFooterStyle \let\ps@customFooterStyle\ps@plain % Copy the plain style to customFooterStyle
\patchcmd{\ps@customFooterStyle}{\thepage}{ \patchcmd{\ps@customFooterStyle}{\thepage}{
\color{gray}\textit{<<cv.name>> | Page \thepage{} of \pageref*{LastPage}} \color{gray}\textit{\small <<cv.name>> | Page \thepage{} of \pageref*{LastPage}}
}{}{} % replace number by desired string }{}{} % replace number by desired string
\makeatother \makeatother
\pagestyle{customFooterStyle} \pagestyle{customFooterStyle}
@ -122,7 +122,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}{#2\, \raisebox{.1ex}{\footnotesize \faExternalLink*}}} \renewcommand{\href}[2]{\hrefWithoutArrow{#1}{#2 \raisebox{.15ex}{\footnotesize \faExternalLink*}}}
\begin{document} \begin{document}
((* if theme_options.show_last_updated_date *)) ((* if theme_options.show_last_updated_date *))

View File

@ -81,12 +81,10 @@
\begin{tabularx}{\textwidth-<<theme_options.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm}{K{<<theme_options.margins.entry_area.left_and_right>>} R{<<theme_options.date_and_location_width>>}} \begin{tabularx}{\textwidth-<<theme_options.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm}{K{<<theme_options.margins.entry_area.left_and_right>>} R{<<theme_options.date_and_location_width>>}}
\textbf{<<title>>} \textbf{<<title>>}
\vspace{<<theme_options.margins.entry_area.vertical_between|divide_length_by(2)>>} \vspace{<<theme_options.margins.highlights_area.vertical_between_bullet_points>>}
<<authors|abbreviate_names|join(", ")|make_it_bold(cv.name|abbreviate_name)|make_it_italic(cv.name|abbreviate_name)>> <<authors|abbreviate_names|join(", ")|make_it_bold(cv.name|abbreviate_name)|make_it_italic(cv.name|abbreviate_name)>>
\vspace{<<theme_options.margins.entry_area.vertical_between|divide_length_by(2)>>}
\vspace{<<theme_options.margins.highlights_area.vertical_between_bullet_points>>} \vspace{<<theme_options.margins.highlights_area.vertical_between_bullet_points>>}
\href{<<doi_url>>}{<<doi>>} (<<journal>>) \href{<<doi_url>>}{<<doi>>} (<<journal>>)