finalize classic theme

This commit is contained in:
Sina Atalay 2024-02-16 18:02:59 +01:00
parent 4a9db5272a
commit 873f66c661
7 changed files with 24 additions and 20 deletions

View File

@ -11,13 +11,13 @@
((# preamble: first column, second column, third column #)) ((# preamble: first column, second column, third column #))
((# first column: p{0.55cm}; constant width, ragged left column #)) ((# first column: p{0.55cm}; constant width, ragged left column #))
((# second column: K{<<design.margins.entry_area.left_and_right>>}; variable width, justified column #)) ((# second column: K{<<design.margins.entry_area.left_and_right>>}; variable width, justified column #))
((# third column: R{<<design.date_and_location_width>>}; constant widthm ragged right column #)) ((# third column: R{<<design.margins.entry_area.date_and_location_width>>}; constant widthm ragged right column #))
\begin{tabularx}{ \begin{tabularx}{
\textwidth-<<design.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm \textwidth-<<design.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm
}{ }{
L{0.85cm} L{0.85cm}
K{<<design.margins.entry_area.left_and_right>>} K{<<design.margins.entry_area.left_and_right>>}
R{<<design.date_and_location_width>>} R{<<design.margins.entry_area.date_and_location_width>>}
} }
\textbf{<<entry.degree>>} \textbf{<<entry.degree>>}
& &

View File

@ -10,12 +10,12 @@
((# width: \textwidth #)) ((# width: \textwidth #))
((# preamble: first column, second column #)) ((# preamble: first column, second column #))
((# first column:: K{<<design.margins.entry_area.left_and_right>>}; variable width, justified column #)) ((# first column:: K{<<design.margins.entry_area.left_and_right>>}; variable width, justified column #))
((# second column: R{<<design.date_and_location_width>>}; constant width ragged right column #)) ((# second column: R{<<design.margins.entry_area.date_and_location_width>>}; constant width ragged right column #))
\begin{tabularx}{ \begin{tabularx}{
\textwidth-<<design.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm \textwidth-<<design.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm
}{ }{
K{<<design.margins.entry_area.left_and_right>>} K{<<design.margins.entry_area.left_and_right>>}
R{<<design.date_and_location_width>>} R{<<design.margins.entry_area.date_and_location_width>>}
} }
\textbf{<<entry.company>>}, <<entry.position>> \textbf{<<entry.company>>}, <<entry.position>>

View File

@ -16,19 +16,19 @@
\normalsize \normalsize
((* if cv.phone *)) ((* if cv.phone *))
\mbox{\hrefWithoutArrow{<<cv.phone|replace("-","")>>}{{\footnotesize\faPhone*}\hspace{0.13cm}<<cv.phone|replace("tel:", "")|replace("-"," ")>>}} \mbox{\hrefWithoutArrow{<<cv.phone|replace("-","")>>}{{\footnotesize\faPhone*}\hspace{0.13cm}<<cv.phone|replace("tel:", "")|replace("-"," ")>>}}
\hspace{<<design.space_between_connection_objects>>} \hspace{<<design.margins.header.horizontal_between_connections>>}
((* endif *)) ((* endif *))
((* if cv.email *)) ((* if cv.email *))
\mbox{\hrefWithoutArrow{mailto:<<cv.email>>}{{\small\faEnvelope[regular]}\hspace{0.13cm}<<cv.email>>}} \mbox{\hrefWithoutArrow{mailto:<<cv.email>>}{{\small\faEnvelope[regular]}\hspace{0.13cm}<<cv.email>>}}
\hspace{<<design.space_between_connection_objects>>} \hspace{<<design.margins.header.horizontal_between_connections>>}
((* endif *)) ((* endif *))
((* if cv.location *)) ((* if cv.location *))
\mbox{{\small\faMapMarker*}\hspace{0.13cm}<<cv.location>>} \mbox{{\small\faMapMarker*}\hspace{0.13cm}<<cv.location>>}
\hspace{<<design.space_between_connection_objects>>} \hspace{<<design.margins.header.horizontal_between_connections>>}
((* endif *)) ((* endif *))
((* if cv.website *)) ((* if cv.website *))
\mbox{\hrefWithoutArrow{<<cv.website>>}{{\small\faLink}\hspace{0.13cm}<<cv.website|replace("https://","")|reverse|replace("/", "", 1)|reverse>>}} \mbox{\hrefWithoutArrow{<<cv.website>>}{{\small\faLink}\hspace{0.13cm}<<cv.website|replace("https://","")|reverse|replace("/", "", 1)|reverse>>}}
\hspace{<<design.space_between_connection_objects>>} \hspace{<<design.margins.header.horizontal_between_connections>>}
((* endif *)) ((* endif *))
((* ((*
set icon_dictionary = { set icon_dictionary = {
@ -42,7 +42,7 @@
((* for network in cv.social_networks *)) ((* for network in cv.social_networks *))
((* if network.network in icon_dictionary *)) ((* if network.network in icon_dictionary *))
\mbox{\hrefWithoutArrow{<<network.url>>}{{\small<<icon_dictionary[network.network]>>}\hspace{0.13cm}<<network.username>>}} \mbox{\hrefWithoutArrow{<<network.url>>}{{\small<<icon_dictionary[network.network]>>}\hspace{0.13cm}<<network.username>>}}
\hspace{<<design.space_between_connection_objects>>} \hspace{<<design.margins.header.horizontal_between_connections>>}
((* endif *)) ((* endif *))
((* endfor *)) ((* endfor *))
((* endif *)) ((* endif *))

View File

@ -35,12 +35,12 @@
((# width: \textwidth #)) ((# width: \textwidth #))
((# preamble: first column, second column #)) ((# preamble: first column, second column #))
((# first column:: K{<<design.margins.entry_area.left_and_right>>}; variable width, justified column #)) ((# first column:: K{<<design.margins.entry_area.left_and_right>>}; variable width, justified column #))
((# second column: R{<<design.date_and_location_width>>}; constant width ragged right column #)) ((# second column: R{<<design.margins.entry_area.date_and_location_width>>}; constant width ragged right column #))
\begin{tabularx}{ \begin{tabularx}{
\textwidth-<<design.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm \textwidth-<<design.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm
}{ }{
K{<<design.margins.entry_area.left_and_right>>} K{<<design.margins.entry_area.left_and_right>>}
R{<<design.date_and_location_width>>} R{<<design.margins.entry_area.date_and_location_width>>}
} }
\textbf{<<entry.name>>} \textbf{<<entry.name>>}

View File

@ -123,5 +123,9 @@
\renewenvironment{tabularx}{\bgroup\centering\originalTabularx}{\originalEndTabularx\par\egroup} \renewenvironment{tabularx}{\bgroup\centering\originalTabularx}{\originalEndTabularx\par\egroup}
% For TextEntrys (see https://tex.stackexchange.com/a/600/287984):
\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1\topsep=0pt\itemsep=0pt\parsep=0pt\parskip=0pt\labelwidth=0pt\itemindent=0pt\labelsep=0pt}\item[]}
\let\endchangemargin=\endlist
% Ensure that generate pdf is machine readable/ATS parsable % Ensure that generate pdf is machine readable/ATS parsable
\pdfgentounicode=1 \pdfgentounicode=1

View File

@ -5,8 +5,8 @@
((# width: \textwidth #)) ((# width: \textwidth #))
((# preamble: first column, second column #)) ((# preamble: first column, second column #))
((# first column:: K{<<design.margins.entry_area.left_and_right>>}; variable width, justified column #)) ((# first column:: K{<<design.margins.entry_area.left_and_right>>}; variable width, justified column #))
((# second column: R{<<design.date_and_location_width>>}; constant width ragged right column #)) ((# second column: R{<<design.margins.entry_area.date_and_location_width>>}; constant width ragged right column #))
\begin{tabularx}{\textwidth-<<design.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm}{K{<<design.margins.entry_area.left_and_right>>} R{<<design.date_and_location_width>>}} \begin{tabularx}{\textwidth-<<design.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm}{K{<<design.margins.entry_area.left_and_right>>} R{<<design.margins.entry_area.date_and_location_width>>}}
\textbf{<<entry.title>>} \textbf{<<entry.title>>}
\vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>} \vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>}

View File

@ -1,15 +1,15 @@
((* if not is_first_entry *)) ((* if not is_first_entry *))
\vspace{<<design.margins.entry_area.vertical_between>>} \vspace{<<design.margins.entry_area.vertical_between>>}
((* endif *)) ((* endif *))
{ \begin{changemargin}{<<design.margins.entry_area.left_and_right>>}{<<design.margins.entry_area.left_and_right>>}
((* if design.text_alignment == "left-aligned" *)) ((* if design.text_alignment == "left-aligned" *))
\raggedright \raggedright
((* endif *)) ((* endif *))
\setlength{\leftskip}{<<design.margins.entry_area.left_and_right>>}
\setlength{\rightskip}{<<design.margins.entry_area.left_and_right>>}
<<entry>> <<entry>>
((* if design.text_alignment == "left-aligned" *))
\par
((* endif *))
\end{changemargin}
\setlength{\leftskip}{0cm}
\setlength{\rightskip}{0cm}
}