mirror of https://github.com/eyhc1/rendercv.git
engineeringresumes: finalize
This commit is contained in:
parent
43f938d1bb
commit
bddcb5971a
|
@ -2,14 +2,8 @@
|
||||||
\vspace{<<design.margins.entry_area.vertical_between>>}
|
\vspace{<<design.margins.entry_area.vertical_between>>}
|
||||||
((* endif *))
|
((* endif *))
|
||||||
|
|
||||||
((* if entry.date_string == "" *))
|
|
||||||
\begin{onecolentry}
|
\begin{onecolentry}
|
||||||
((* else *))
|
\textbf{<<entry.institution>>}, ((* if entry.degree *))<<entry.degree>> in ((* endif *))<<entry.area>>((* if entry.location *)) -- <<entry.location>>((* endif *)) \hfill <<entry.date_string>>
|
||||||
\begin{twocolentry}{
|
|
||||||
<<entry.date_string>>
|
|
||||||
}
|
|
||||||
((* endif *))
|
|
||||||
\textbf{<<entry.institution>>}, ((* if entry.degree *))<<entry.degree>> in ((* endif *))<<entry.area>>((* if entry.location *)) -- <<entry.location>>((* endif *))
|
|
||||||
((* for item in entry.highlights *))
|
((* for item in entry.highlights *))
|
||||||
((* if loop.first *))
|
((* if loop.first *))
|
||||||
\begin{highlights}
|
\begin{highlights}
|
||||||
|
@ -19,8 +13,4 @@
|
||||||
\end{highlights}
|
\end{highlights}
|
||||||
((* endif *))
|
((* endif *))
|
||||||
((* endfor *))
|
((* endfor *))
|
||||||
((* if entry.date_string == "" *))
|
|
||||||
\end{onecolentry}
|
\end{onecolentry}
|
||||||
((* else *))
|
|
||||||
\end{twocolentry}
|
|
||||||
((* endif *))
|
|
|
@ -2,14 +2,8 @@
|
||||||
\vspace{<<design.margins.entry_area.vertical_between>>}
|
\vspace{<<design.margins.entry_area.vertical_between>>}
|
||||||
((* endif *))
|
((* endif *))
|
||||||
|
|
||||||
((* if entry.date_string == "" *))
|
|
||||||
\begin{onecolentry}
|
\begin{onecolentry}
|
||||||
((* else *))
|
\textbf{<<entry.position>>}, <<entry.company>>((* if entry.location *)) -- <<entry.location>>((* endif *)) \hfill <<entry.date_string>>
|
||||||
\begin{twocolentry}{
|
|
||||||
<<entry.date_string>>
|
|
||||||
}
|
|
||||||
((* endif *))
|
|
||||||
\textbf{<<entry.position>>}, <<entry.company>>((* if entry.location *)) -- <<entry.location>>((* endif *))
|
|
||||||
((* for item in entry.highlights *))
|
((* for item in entry.highlights *))
|
||||||
((* if loop.first *))
|
((* if loop.first *))
|
||||||
\begin{highlights}
|
\begin{highlights}
|
||||||
|
@ -19,8 +13,4 @@
|
||||||
\end{highlights}
|
\end{highlights}
|
||||||
((* endif *))
|
((* endif *))
|
||||||
((* endfor *))
|
((* endfor *))
|
||||||
((* if entry.date_string == "" *))
|
|
||||||
\end{onecolentry}
|
\end{onecolentry}
|
||||||
((* else *))
|
|
||||||
\end{twocolentry}
|
|
||||||
((* endif *))
|
|
|
@ -10,11 +10,11 @@
|
||||||
|
|
||||||
\normalsize
|
\normalsize
|
||||||
((* if cv.phone *))
|
((* if cv.phone *))
|
||||||
\mbox{\hrefWithoutArrow{<<cv.phone|replace("-","")>>}{\color{black}{\footnotesize\faPhone*}\hspace*{0.13cm}<<cv.phone|replace("tel:", "")|replace("-"," ")>>}}
|
\mbox{\href{<<cv.phone|replace("-","")>>}{\color{black}{\footnotesize\faPhone*}\hspace*{0.13cm}<<cv.phone|replace("tel:", "")|replace("-"," ")>>}}
|
||||||
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
||||||
((* endif *))
|
((* endif *))
|
||||||
((* if cv.email *))
|
((* if cv.email *))
|
||||||
\mbox{\hrefWithoutArrow{mailto:<<cv.email>>}{\color{black}{\small\faEnvelope[regular]}\hspace*{0.13cm}<<cv.email|escape_latex_characters>>}}
|
\mbox{\href{mailto:<<cv.email>>}{\color{black}{\small\faEnvelope[regular]}\hspace*{0.13cm}<<cv.email|escape_latex_characters>>}}
|
||||||
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
||||||
((* endif *))
|
((* endif *))
|
||||||
((* if cv.location *))
|
((* if cv.location *))
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
||||||
((* endif *))
|
((* endif *))
|
||||||
((* if cv.website *))
|
((* if cv.website *))
|
||||||
\mbox{\hrefWithoutArrow{<<cv.website>>}{\color{black}{\small\faLink}\hspace*{0.13cm}<<cv.website|replace("https://","")|reverse|replace("/", "", 1)|reverse>>}}
|
\mbox{\href{<<cv.website>>}{\color{black}{\small\faLink}\hspace*{0.13cm}<<cv.website|replace("https://","")|reverse|replace("/", "", 1)|reverse>>}}
|
||||||
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
||||||
((* endif *))
|
((* endif *))
|
||||||
((*
|
((*
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
((* if cv.social_networks *))
|
((* if cv.social_networks *))
|
||||||
((* 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>>}{\color{black}{\small<<icon_dictionary[network.network]>>}\hspace*{0.13cm}<<network.username>>}}
|
\mbox{\href{<<network.url>>}{\color{black}{\small<<icon_dictionary[network.network]>>}\hspace*{0.13cm}<<network.username>>}}
|
||||||
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
||||||
((* endif *))
|
((* endif *))
|
||||||
((* endfor *))
|
((* endfor *))
|
||||||
|
|
|
@ -2,14 +2,8 @@
|
||||||
\vspace{<<design.margins.entry_area.vertical_between>>}
|
\vspace{<<design.margins.entry_area.vertical_between>>}
|
||||||
((* endif *))
|
((* endif *))
|
||||||
|
|
||||||
((* if entry.date_string == "" *))
|
|
||||||
\begin{onecolentry}
|
\begin{onecolentry}
|
||||||
((* else *))
|
\textbf{<<entry.name>>}((* if entry.location *)) -- <<entry.location>>((* endif *)) \hfill <<entry.date_string>>
|
||||||
\begin{twocolentry}{
|
|
||||||
<<entry.date_string>>
|
|
||||||
}
|
|
||||||
((* endif *))
|
|
||||||
\textbf{<<entry.name>>}((* if entry.location *)) -- <<entry.location>>((* endif *))
|
|
||||||
((* for item in entry.highlights *))
|
((* for item in entry.highlights *))
|
||||||
((* if loop.first *))
|
((* if loop.first *))
|
||||||
\begin{highlights}
|
\begin{highlights}
|
||||||
|
@ -19,8 +13,4 @@
|
||||||
\end{highlights}
|
\end{highlights}
|
||||||
((* endif *))
|
((* endif *))
|
||||||
((* endfor *))
|
((* endfor *))
|
||||||
((* if entry.date_string == "" *))
|
|
||||||
\end{onecolentry}
|
\end{onecolentry}
|
||||||
((* else *))
|
|
||||||
\end{twocolentry}
|
|
||||||
((* endif *))
|
|
|
@ -68,7 +68,7 @@
|
||||||
|
|
||||||
\titlespacing{\section}{
|
\titlespacing{\section}{
|
||||||
% left space:
|
% left space:
|
||||||
0pt
|
-1pt
|
||||||
}{
|
}{
|
||||||
% top space:
|
% top space:
|
||||||
<<design.margins.section_title.top>>
|
<<design.margins.section_title.top>>
|
||||||
|
@ -88,6 +88,8 @@
|
||||||
]
|
]
|
||||||
}{
|
}{
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
|
\vspace{-0.20cm}
|
||||||
} % new environment for highlights
|
} % new environment for highlights
|
||||||
|
|
||||||
|
|
||||||
|
@ -104,7 +106,7 @@
|
||||||
\newenvironment{twocolentry}[2][]{
|
\newenvironment{twocolentry}[2][]{
|
||||||
\onecolentry
|
\onecolentry
|
||||||
\def\secondColumn{#2}
|
\def\secondColumn{#2}
|
||||||
\setcolumnwidth{\fill, 4.2cm}
|
\setcolumnwidth{\fill, <<design.margins.entry_area.date_and_location_width>>}
|
||||||
\begin{paracol}{2}
|
\begin{paracol}{2}
|
||||||
}{
|
}{
|
||||||
\switchcolumn \raggedleft \secondColumn
|
\switchcolumn \raggedleft \secondColumn
|
||||||
|
@ -115,7 +117,7 @@
|
||||||
\newenvironment{threecolentry}[3][]{
|
\newenvironment{threecolentry}[3][]{
|
||||||
\onecolentry
|
\onecolentry
|
||||||
\def\thirdColumn{#3}
|
\def\thirdColumn{#3}
|
||||||
\setcolumnwidth{1cm, \fill, 4.2cm}
|
\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
|
||||||
}{
|
}{
|
||||||
|
@ -141,7 +143,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}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
% \renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
|
@ -2,10 +2,8 @@
|
||||||
\vspace{<<design.margins.entry_area.vertical_between>>}
|
\vspace{<<design.margins.entry_area.vertical_between>>}
|
||||||
((* endif *))
|
((* endif *))
|
||||||
|
|
||||||
\begin{twocolentry}{
|
\begin{onecolentry}
|
||||||
<<entry.date_string>>
|
\textbf{<<entry.title>>} \hfill <<entry.date_string>>
|
||||||
}
|
|
||||||
\textbf{<<entry.title>>}
|
|
||||||
|
|
||||||
\vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>}
|
\vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>}
|
||||||
|
|
||||||
|
@ -23,4 +21,4 @@
|
||||||
((*- endif -*))
|
((*- endif -*))
|
||||||
((*- if entry.doi and entry.journal *)))((* endif -*))
|
((*- if entry.doi and entry.journal *)))((* endif -*))
|
||||||
|
|
||||||
\end{twocolentry}
|
\end{onecolentry}
|
||||||
|
|
|
@ -84,6 +84,39 @@ class EngineeringresumesThemeOptions(ThemeOptions):
|
||||||
" 25 pt."
|
" 25 pt."
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
color: pydantic_color.Color = pydantic.Field(
|
||||||
|
default="rgb(0,0,0)",
|
||||||
|
validate_default=True,
|
||||||
|
title="Primary Color",
|
||||||
|
description=(
|
||||||
|
"The primary color of the theme. \nThe color can be specified either with"
|
||||||
|
" their [name](https://www.w3.org/TR/SVG11/types.html#ColorKeywords),"
|
||||||
|
" hexadecimal value, RGB value, or HSL value. The default value is"
|
||||||
|
" rgb(0,0,0)."
|
||||||
|
),
|
||||||
|
examples=["Black", "7fffd4", "rgb(0,79,144)", "hsl(270, 60%, 70%)"],
|
||||||
|
)
|
||||||
|
disable_page_numbering: bool = pydantic.Field(
|
||||||
|
default=True,
|
||||||
|
title="Disable Page Numbering",
|
||||||
|
description=(
|
||||||
|
"If this option is set to true, then the page numbering will be disabled."
|
||||||
|
" The default value is true."
|
||||||
|
),
|
||||||
|
)
|
||||||
|
show_last_updated_date: bool = pydantic.Field(
|
||||||
|
default=False,
|
||||||
|
title="Show Last Updated Date",
|
||||||
|
description=(
|
||||||
|
"If this option is set to true, then the last updated date will be shown"
|
||||||
|
" in the header. The default value is false."
|
||||||
|
),
|
||||||
|
)
|
||||||
|
text_alignment: Literal["left-aligned", "justified", "justified-with-no-hyphenation"] = pydantic.Field(
|
||||||
|
default="left-aligned",
|
||||||
|
title="Text Alignment",
|
||||||
|
description="The alignment of the text. The default value is left-aligned.",
|
||||||
|
)
|
||||||
margins: MarginsForEngineeringresumes = pydantic.Field(
|
margins: MarginsForEngineeringresumes = pydantic.Field(
|
||||||
default=MarginsForEngineeringresumes(),
|
default=MarginsForEngineeringresumes(),
|
||||||
title="Margins",
|
title="Margins",
|
||||||
|
|
Loading…
Reference in New Issue