mirror of https://github.com/eyhc1/rendercv.git
update template folder structure
This commit is contained in:
parent
ec530c9eb1
commit
58835d553a
|
@ -1,8 +1,8 @@
|
|||
((# IMPORT MACROS #))
|
||||
((* from "components/classic/section_contents.tex.j2" import section_contents with context *))
|
||||
((* from "components/classic/header.tex.j2" import header with context *))
|
||||
((* from "components/section_contents.tex.j2" import section_contents with context *))
|
||||
((* from "components/header.tex.j2" import header with context *))
|
||||
|
||||
\documentclass[<<design.font_size>>, a4paper]{article}
|
||||
\documentclass[<<design.font_size>>, <<design.page_size>>]{article}
|
||||
|
||||
% Packages:
|
||||
\usepackage[
|
||||
|
@ -117,10 +117,21 @@
|
|||
((* endif *))
|
||||
|
||||
<<header(name=cv.name, connections=cv.connections)|indent(4)>>
|
||||
((* if cv.summary is not none *))
|
||||
\section{Summary}
|
||||
\setlength{\leftskip}{<<theme_options.margins.entry_area.left>>}
|
||||
\setlength{\rightskip}{<<theme_options.margins.entry_area.right>>}
|
||||
|
||||
<<cv.summary>>
|
||||
|
||||
\setlength{\leftskip}{0cm}
|
||||
\setlength{\rightskip}{0cm}
|
||||
((* endif *))
|
||||
|
||||
((* for section in cv.sections *))
|
||||
\section{<<section.title>>}
|
||||
<<section_contents(entries=section.entries, entry_type=section.entry_type)|indent(4)>>
|
||||
<<section_contents(title=section.title, entries=section.entries, entry_type=section.entry_type, link_text=section.link_text)|indent(4)>>
|
||||
|
||||
((* endfor *))
|
||||
|
||||
\end{document}
|
|
@ -1,5 +1,5 @@
|
|||
((* from "components/classic/highlights.tex.j2" import highlights as print_higlights with context *))
|
||||
((* from "components/classic/date_and_location_strings.tex.j2" import date_and_location_strings as print_date_and_locations with context *))
|
||||
((* from "components/highlights.tex.j2" import highlights as print_higlights with context *))
|
||||
((* from "components/date_and_location_strings.tex.j2" import date_and_location_strings as print_date_and_locations with context *))
|
||||
|
||||
((* macro education(study_type, institution, area, highlights, date_and_location_strings)*))
|
||||
((# \begin{tabularx}{⟨width⟩}[⟨pos⟩]{⟨preamble⟩} #))
|
|
@ -1,4 +1,4 @@
|
|||
((* import "components/classic/header_connections.tex.j2" as print_connections *))
|
||||
((* import "components/header_connections.tex.j2" as print_connections *))
|
||||
((* macro header(name, connections) *))
|
||||
\begin{header}
|
||||
\Huge
|
|
@ -1,8 +1,12 @@
|
|||
((* import "components/classic/entry.tex.j2" as entry with context *))
|
||||
((* import "components/entry.tex.j2" as entry with context *))
|
||||
|
||||
((* macro section_contents(entries, entry_type, link_text=none)*))
|
||||
((* macro section_contents(title, entries, entry_type, link_text=none)*))
|
||||
((* for value in entries *))
|
||||
((* set date_and_location_strings = value.date_and_location_strings_without_timespan *))
|
||||
((* if title in theme_options.show_timespan_in *))
|
||||
((* set date_and_location_strings = value.date_and_location_strings_with_timespan *))
|
||||
((* else *))
|
||||
((* set date_and_location_strings = value.date_and_location_strings_without_timespan *))
|
||||
((* endif *))
|
||||
((* if entry_type == "EducationEntry" *))
|
||||
<<entry["education"](
|
||||
study_type=value.study_type,
|
||||
|
@ -12,9 +16,6 @@
|
|||
date_and_location_strings=date_and_location_strings
|
||||
)|indent(4)>>
|
||||
((* elif entry_type == "ExperienceEntry" *))
|
||||
((* if theme_options.show_timespan_in_experience_entries *))
|
||||
((* set date_and_location_strings = value.date_and_location_strings_with_timespan *))
|
||||
((* endif *))
|
||||
<<entry["experience"](
|
||||
company=value.company,
|
||||
position=value.position,
|
Loading…
Reference in New Issue