mirror of https://github.com/eyhc1/rendercv.git
allow data models without name
This commit is contained in:
parent
c7fb8ff287
commit
ddaad438af
|
@ -2,7 +2,7 @@
|
|||
((* if design.show_last_updated_date *))
|
||||
\placelastupdatedtext
|
||||
((* endif *))
|
||||
|
||||
((* if cv.name is not none *))
|
||||
\begin{header}
|
||||
\fontsize{<<design.header_font_size>>}{<<design.header_font_size>>}
|
||||
((* if orcid_url *))
|
||||
|
@ -48,4 +48,5 @@
|
|||
((* endif *))
|
||||
\end{header}
|
||||
|
||||
\vspace{<<design.margins.header.bottom>>}
|
||||
\vspace{<<design.margins.header.bottom>>}
|
||||
((* endif *))
|
|
@ -35,9 +35,9 @@
|
|||
\setcounter{secnumdepth}{0} % no section numbering
|
||||
\setlength{\parindent}{0pt} % no indentation
|
||||
\setlength{\topskip}{0pt} % no top skip
|
||||
((* if disable_page_numbering *))
|
||||
((* if design.disable_page_numbering *))
|
||||
\pagenumbering{gobble} % no page numbering
|
||||
((* endif *))
|
||||
((* else *))
|
||||
((* set page_numbering_style_placeholders = {
|
||||
"NAME": cv.name,
|
||||
"PAGE_NUMBER": "\\thepage{}",
|
||||
|
@ -50,6 +50,7 @@
|
|||
}{}{} % replace number by desired string
|
||||
\makeatother
|
||||
\pagestyle{customFooterStyle}
|
||||
((* endif *))
|
||||
|
||||
\titleformat{\section}{
|
||||
% make the font size of the section title large and color it with the primary color
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
((* if cv.name is not none *))
|
||||
\maketitle
|
||||
((* endif *))
|
||||
|
||||
|
||||
% save the original href command in a new command:
|
||||
\let\hrefWithoutArrow\href
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
\placelastupdatedtext
|
||||
((* endif *))
|
||||
|
||||
((* if cv.name is not none *))
|
||||
{
|
||||
\centering
|
||||
\textbf{\fontsize{<<design.header_font_size>>}{<<design.header_font_size>>}\selectfont
|
||||
|
@ -54,6 +55,7 @@
|
|||
}
|
||||
|
||||
\vspace{<<design.margins.header.bottom>>}
|
||||
((* endif *))
|
||||
|
||||
% save the original href command in a new command:
|
||||
\let\hrefWithoutArrow\href
|
||||
|
|
|
@ -35,9 +35,7 @@
|
|||
|
||||
\pagestyle{fancy}
|
||||
\fancyhf{} % clear all header and footer fields
|
||||
((* if disable_page_numbering *))
|
||||
\pagenumbering{} % no page numbering
|
||||
((* else *))
|
||||
((* if not design.disable_page_numbering *))
|
||||
((* set page_numbering_style_placeholders = {
|
||||
"NAME": cv.name,
|
||||
"PAGE_NUMBER": "\\thepage{}",
|
||||
|
|
Loading…
Reference in New Issue