add header margin options

This commit is contained in:
Sina Atalay 2023-11-22 19:18:50 +01:00 committed by Jeffrey Goldberg
parent 34b29eff5c
commit 4b5e675f14
3 changed files with 28 additions and 2 deletions

View File

@ -135,6 +135,7 @@
((* endif *))
<<header(name=cv.name, connections=cv.connections)|indent(4)>>
((* if cv.summary is not none *))
\section{Summary}
{

View File

@ -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",

View File

@ -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