mirror of https://github.com/eyhc1/rendercv.git
add Skills section
This commit is contained in:
parent
5a470a7ddf
commit
5a5b6e687f
|
@ -2,6 +2,7 @@
|
|||
((* from "components/education_entry.tex.j2" import education_entry with context *))
|
||||
((* from "components/experience_entry.tex.j2" import experience_entry with context *))
|
||||
((* from "components/normal_entry.tex.j2" import normal_entry with context *))
|
||||
((* from "components/one_line_entry.tex.j2" import one_line_entry with context *))
|
||||
((* from "components/header.tex.j2" import header with context *))
|
||||
|
||||
\documentclass[10pt, a4paper]{memoir}
|
||||
|
@ -134,8 +135,7 @@
|
|||
name=academic_project.name,
|
||||
highlights=academic_project.highlight_strings,
|
||||
date_and_location_strings=academic_project.date_and_location_strings,
|
||||
url=academic_project.url
|
||||
urlText=""
|
||||
url=academic_project.markdown_url,
|
||||
)|indent(4)>>
|
||||
((* if not loop.last *))
|
||||
\vspace*{<<design.vertical_margin_between_entries>>}
|
||||
|
@ -148,7 +148,37 @@
|
|||
<<normal_entry(
|
||||
name=certificate.name,
|
||||
highlights=certificate.highlight_strings,
|
||||
date_and_location_strings=certificate.date_and_location_strings
|
||||
date_and_location_strings=certificate.date_and_location_strings,
|
||||
url = certificate.url,
|
||||
text_url = "Course certificate"
|
||||
)|indent(4)>>
|
||||
((* if not loop.last *))
|
||||
\vspace*{<<design.vertical_margin_between_entries>>}
|
||||
|
||||
((* endif *))
|
||||
((* endfor *))
|
||||
|
||||
\section{Skills}
|
||||
((* for skill in cv.skills *))
|
||||
<<one_line_entry(
|
||||
name=skill.name,
|
||||
details=skill.details,
|
||||
url = skill.url,
|
||||
text_url = skill.url
|
||||
)|indent(4)>>
|
||||
((* if not loop.last *))
|
||||
\vspace*{<<design.vertical_margin_between_entries>>}
|
||||
|
||||
((* endif *))
|
||||
((* endfor *))
|
||||
|
||||
\section{Skills}
|
||||
((* for skill in cv.skills *))
|
||||
<<one_line_entry(
|
||||
name=skill.name,
|
||||
details=skill.details,
|
||||
url = skill.url,
|
||||
text_url = skill.url
|
||||
)|indent(4)>>
|
||||
((* if not loop.last *))
|
||||
\vspace*{<<design.vertical_margin_between_entries>>}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
((* 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 *))
|
||||
|
||||
((* macro normal_entry(name, highlights, date_and_location_strings, url, urlText)*))
|
||||
((* macro normal_entry(name, highlights, date_and_location_strings, url, text_url=none)*))
|
||||
((# \begin{tabularx}{⟨width⟩}[⟨pos⟩]{⟨preamble⟩} #))
|
||||
((# width: \textwidth #))
|
||||
((# preamble: first column, second column #))
|
||||
|
@ -9,8 +9,12 @@
|
|||
((# second column: R{<<design.date_and_location_width>>}; constant width ragged right column #))
|
||||
\begin{tabularx}{\textwidth}{X R{<<design.date_and_location_width>>}}
|
||||
((* if url is not none *))
|
||||
((* set markdownUrl = "["+urlText+"]("+ str(url) +")" *))
|
||||
\textbf{<<name>>}, <<markdownUrl|markdown_to_latex>>
|
||||
((* if text_url is not none *))
|
||||
((* set markdown_url = "["+text_url+"]("+ str(url) +")" *))
|
||||
\textbf{<<name>>}, <<markdown_url|markdown_to_latex>>
|
||||
((* elif url|is_markdown *))
|
||||
\textbf{<<name>>}, <<url|markdown_to_latex>>
|
||||
((* endif *))
|
||||
((* else *))
|
||||
\textbf{<<name>>}
|
||||
((* endif *))
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
((* macro one_line_entry(name, details, url, text_url=none)*))
|
||||
((# \begin{tabularx}{⟨width⟩}[⟨pos⟩]{⟨preamble⟩} #))
|
||||
((# width: \textwidth #))
|
||||
((# preamble: first column, second column #))
|
||||
((# first column:: X; variable width, ragged left column #))
|
||||
((# second column: R{<<design.date_and_location_width>>}; constant width ragged right column #))
|
||||
\setlength{\leftskip}{0.2cm}
|
||||
\textbf{<<name>>:} <<details>>
|
||||
|
||||
\vspace{\YMarginBetweenEntries}
|
||||
\setlength{\leftskip}{0cm}
|
||||
((* endmacro *))
|
|
@ -1,7 +0,0 @@
|
|||
((* macro one_line_information(name, details)*))
|
||||
\setlength{\leftskip}{0.2cm}
|
||||
\textbf{<<name>>:} <<details>>
|
||||
|
||||
\vspace{<<design.vertical_margin_between_entries>>}
|
||||
\setlength{\leftskip}{0cm}
|
||||
((* endmacro *))
|
Loading…
Reference in New Issue