mirror of https://github.com/eyhc1/rendercv.git
finalize classic theme
This commit is contained in:
parent
4a9db5272a
commit
873f66c661
|
@ -11,13 +11,13 @@
|
|||
((# preamble: first column, second column, third 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 #))
|
||||
((# 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}{
|
||||
\textwidth-<<design.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm
|
||||
}{
|
||||
L{0.85cm}
|
||||
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>>}
|
||||
&
|
||||
|
|
|
@ -10,12 +10,12 @@
|
|||
((# width: \textwidth #))
|
||||
((# preamble: first column, second 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>>}
|
||||
R{<<design.margins.entry_area.date_and_location_width>>}
|
||||
}
|
||||
\textbf{<<entry.company>>}, <<entry.position>>
|
||||
|
||||
|
|
|
@ -16,19 +16,19 @@
|
|||
\normalsize
|
||||
((* if cv.phone *))
|
||||
\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 *))
|
||||
((* if 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 *))
|
||||
((* if cv.location *))
|
||||
\mbox{{\small\faMapMarker*}\hspace{0.13cm}<<cv.location>>}
|
||||
\hspace{<<design.space_between_connection_objects>>}
|
||||
\hspace{<<design.margins.header.horizontal_between_connections>>}
|
||||
((* endif *))
|
||||
((* if cv.website *))
|
||||
\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 *))
|
||||
((*
|
||||
set icon_dictionary = {
|
||||
|
@ -42,7 +42,7 @@
|
|||
((* for network in cv.social_networks *))
|
||||
((* if network.network in icon_dictionary *))
|
||||
\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 *))
|
||||
((* endfor *))
|
||||
((* endif *))
|
||||
|
|
|
@ -35,12 +35,12 @@
|
|||
((# width: \textwidth #))
|
||||
((# preamble: first column, second 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>>}
|
||||
R{<<design.margins.entry_area.date_and_location_width>>}
|
||||
}
|
||||
\textbf{<<entry.name>>}
|
||||
|
||||
|
|
|
@ -123,5 +123,9 @@
|
|||
|
||||
\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
|
||||
\pdfgentounicode=1
|
|
@ -5,8 +5,8 @@
|
|||
((# width: \textwidth #))
|
||||
((# preamble: first column, second 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 #))
|
||||
\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>>}}
|
||||
((# 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.margins.entry_area.date_and_location_width>>}}
|
||||
\textbf{<<entry.title>>}
|
||||
|
||||
\vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>}
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
((* if not is_first_entry *))
|
||||
\vspace{<<design.margins.entry_area.vertical_between>>}
|
||||
((* endif *))
|
||||
{
|
||||
\begin{changemargin}{<<design.margins.entry_area.left_and_right>>}{<<design.margins.entry_area.left_and_right>>}
|
||||
((* if design.text_alignment == "left-aligned" *))
|
||||
\raggedright
|
||||
((* endif *))
|
||||
\setlength{\leftskip}{<<design.margins.entry_area.left_and_right>>}
|
||||
\setlength{\rightskip}{<<design.margins.entry_area.left_and_right>>}
|
||||
|
||||
<<entry>>
|
||||
((* if design.text_alignment == "left-aligned" *))
|
||||
\par
|
||||
((* endif *))
|
||||
\end{changemargin}
|
||||
|
||||
|
||||
|
||||
\setlength{\leftskip}{0cm}
|
||||
\setlength{\rightskip}{0cm}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue