diff --git a/rendercv/templates/classic/classic.tex.j2 b/rendercv/templates/classic/classic.tex.j2 index 25fddda..28e16a0 100644 --- a/rendercv/templates/classic/classic.tex.j2 +++ b/rendercv/templates/classic/classic.tex.j2 @@ -135,6 +135,7 @@ ((* endif *)) <> + ((* if cv.summary is not none *)) \section{Summary} { diff --git a/schema.json b/schema.json index 03e8ab7..300638d 100644 --- a/schema.json +++ b/schema.json @@ -42,6 +42,27 @@ "type": "object", "additionalProperties": false }, + "ClassicThemeHeaderMargins": { + "properties": { + "vertical_between_name_and_connections": { + "default": "0.2 cm", + "description": "The vertical margin between the name of the person and the connections.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Vertical Margin Between the Name and Connections", + "type": "string" + }, + "bottom": { + "default": "0.2 cm", + "description": "The bottom margin of the header, i.e., the vertical margin between the connections and the first section title.", + "pattern": "\\d+\\.?\\d* *(cm|in|pt|mm|ex|em)", + "title": "Bottom Margin", + "type": "string" + } + }, + "title": "ClassicThemeHeaderMargins", + "type": "object", + "additionalProperties": false + }, "ClassicThemeHighlightsAreaMargins": { "properties": { "top": { @@ -1608,7 +1629,6 @@ "font_size": "10pt", "options": { "date_and_location_width": "4.1 cm", - "header_font_size": "30 pt", "margins": { "entry_area": { "left_and_right": "0.2 cm", diff --git a/tests/reference_files/John_Doe_CV_tex_reference.tex b/tests/reference_files/John_Doe_CV_tex_reference.tex index 732b85c..65a4451 100644 --- a/tests/reference_files/John_Doe_CV_tex_reference.tex +++ b/tests/reference_files/John_Doe_CV_tex_reference.tex @@ -109,7 +109,7 @@ \LenToUnit{\paperwidth-1.35 cm-0.2 cm+0.05cm}, \LenToUnit{\paperheight-0.675 cm} ){\vtop{{\null}\makebox[0pt][c]{ - \small\color{gray}\textit{Last updated on November 20, 2023}\hspace{\widthof{Last updated on November 20, 2023}} + \small\color{gray}\textit{Last updated on November 22, 2023}\hspace{\widthof{Last updated on November 22, 2023}} }}}% }% }% @@ -126,6 +126,8 @@ \Huge \textbf{John Doe} + \vspace{0.2 cm} + \normalsize \mbox{{\small\faMapMarker*}\hspace{0.13cm}TX, USA} \hspace{0.5cm} @@ -140,6 +142,9 @@ \mbox{\hrefWithoutArrow{https://www.linkedin.com/in/johndoe}{{\small\faLinkedinIn}\hspace{0.13cm}johndoe}} \end{header} + \vspace{0.2 cm} + + \section{Summary} { \raggedright