mirror of https://github.com/eyhc1/rendercv.git
engineeringresumes: remove icons from the header
This commit is contained in:
parent
1464b503e4
commit
49a2dc3e64
|
@ -1,48 +1,28 @@
|
||||||
|
\makeatletter
|
||||||
|
\newcommand{\test}{%
|
||||||
|
\@ifnextchar\par{A}{B}%
|
||||||
|
}
|
||||||
|
\makeatother
|
||||||
|
|
||||||
((* if design.show_last_updated_date *))
|
((* if design.show_last_updated_date *))
|
||||||
\placelastupdatedtext
|
\placelastupdatedtext
|
||||||
((* endif *))
|
((* endif *))
|
||||||
((* if cv.name is not none *))
|
((* if cv.name is not none *))
|
||||||
\begin{header}
|
\begin{header}
|
||||||
\fontsize{<<design.header_font_size>>}{<<design.header_font_size>>}
|
\fontsize{<<design.header_font_size>>}{<<design.header_font_size>>}\selectfont <<cv.name>>
|
||||||
\textbf{<<cv.name>>}
|
|
||||||
|
|
||||||
\vspace{<<design.margins.header.vertical_between_name_and_connections>>}
|
\vspace{<<design.margins.header.vertical_between_name_and_connections>>}
|
||||||
|
|
||||||
\normalsize
|
\normalsize
|
||||||
((* if cv.phone *))
|
((* for connection in cv.connections *))
|
||||||
\mbox{\href{<<cv.phone|replace("-","")>>}{\color{black}{\footnotesize\faPhone*}\hspace*{0.13cm}<<cv.phone|replace("tel:", "")|replace("-"," ")>>}}
|
\mbox{\href{<<connection["url"]>>}{<<connection["clean_url"]>>}}
|
||||||
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
\hspace*{<<design.margins.header.horizontal_between_connections|divide_length_by(2)>>}
|
||||||
((* endif *))
|
((* if not loop.last *))
|
||||||
((* if cv.email *))
|
$|$
|
||||||
\mbox{\href{mailto:<<cv.email>>}{\color{black}{\small\faEnvelope[regular]}\hspace*{0.13cm}<<cv.email|escape_latex_characters>>}}
|
|
||||||
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
|
||||||
((* endif *))
|
|
||||||
((* if cv.location *))
|
|
||||||
\mbox{\color{black}{\small\faMapMarker*}\hspace*{0.13cm}<<cv.location>>}
|
|
||||||
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
|
||||||
((* endif *))
|
|
||||||
((* if cv.website *))
|
|
||||||
\mbox{\href{<<cv.website>>}{\color{black}{\small\faLink}\hspace*{0.13cm}<<cv.website|replace("https://","")|reverse|replace("/", "", 1)|reverse>>}}
|
|
||||||
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
|
||||||
((* endif *))
|
|
||||||
((*
|
|
||||||
set icon_dictionary = {
|
|
||||||
"LinkedIn": "\\faLinkedinIn",
|
|
||||||
"GitHub": "\\faGithub",
|
|
||||||
"Instagram": "\\faInstagram",
|
|
||||||
"Mastodon": "\\faMastodon",
|
|
||||||
"Orcid": "\\faOrcid",
|
|
||||||
}
|
|
||||||
*))
|
|
||||||
((* if cv.social_networks *))
|
|
||||||
((* for network in cv.social_networks *))
|
|
||||||
((* if network.network in icon_dictionary *))
|
|
||||||
\mbox{\href{<<network.url>>}{\color{black}{\small<<icon_dictionary[network.network]>>}\hspace*{0.13cm}<<network.username>>}}
|
|
||||||
\hspace*{<<design.margins.header.horizontal_between_connections>>}
|
|
||||||
((* endif *))
|
((* endif *))
|
||||||
|
\hspace*{<<design.margins.header.horizontal_between_connections|divide_length_by(2)>>}
|
||||||
((* endfor *))
|
((* endfor *))
|
||||||
((* endif *))
|
|
||||||
\end{header}
|
\end{header}
|
||||||
|
|
||||||
\vspace{<<design.margins.header.bottom>>}
|
\vspace{<<design.margins.header.bottom>> - <<design.margins.section_title.top>>}
|
||||||
((* endif *))
|
((* endif *))
|
|
@ -41,6 +41,13 @@
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
% Some settings:
|
% Some settings:
|
||||||
|
((* if design.text_alignment == "justified-with-no-hyphenation" *))
|
||||||
|
\usepackage[none]{hyphenat}
|
||||||
|
\sloppy
|
||||||
|
((* elif design.text_alignment == "left-aligned" *))
|
||||||
|
\raggedright
|
||||||
|
((* endif *))
|
||||||
|
|
||||||
\pagestyle{empty} % no header or footer
|
\pagestyle{empty} % no header or footer
|
||||||
\setcounter{secnumdepth}{0} % no section numbering
|
\setcounter{secnumdepth}{0} % no section numbering
|
||||||
\setlength{\parindent}{0pt} % no indentation
|
\setlength{\parindent}{0pt} % no indentation
|
||||||
|
@ -132,13 +139,16 @@
|
||||||
\par\kern\topsep
|
\par\kern\topsep
|
||||||
} % new environment for the header
|
} % new environment for the header
|
||||||
|
|
||||||
|
((* set last_updated_date_style_placeholders = {
|
||||||
|
"TODAY": today,
|
||||||
|
} *))
|
||||||
\newcommand{\placelastupdatedtext}{% \placetextbox{<horizontal pos>}{<vertical pos>}{<stuff>}
|
\newcommand{\placelastupdatedtext}{% \placetextbox{<horizontal pos>}{<vertical pos>}{<stuff>}
|
||||||
\AddToShipoutPictureFG*{% Add <stuff> to current page foreground
|
\AddToShipoutPictureFG*{% Add <stuff> to current page foreground
|
||||||
\put(
|
\put(
|
||||||
\LenToUnit{\paperwidth-<<design.margins.page.right>>-<<design.margins.entry_area.left_and_right>>+0.05cm},
|
\LenToUnit{\paperwidth-<<design.margins.page.right>>-<<design.margins.entry_area.left_and_right>>+0.05cm},
|
||||||
\LenToUnit{\paperheight-<<design.margins.page.top|divide_length_by(2)>>}
|
\LenToUnit{\paperheight-<<design.margins.page.top|divide_length_by(2)>>}
|
||||||
){\vtop{{\null}\makebox[0pt][c]{
|
){\vtop{{\null}\makebox[0pt][c]{
|
||||||
\small\color{gray}\textit{Last updated in <<today>>}\hspace{\widthof{Last updated in <<today>>}}
|
\small\color{gray}\textit{<<design.last_updated_date_style|replace_placeholders_with_actual_values(last_updated_date_style_placeholders)>>}\hspace{\widthof{<<design.last_updated_date_style|replace_placeholders_with_actual_values(last_updated_date_style_placeholders)>>}}
|
||||||
}}}%
|
}}}%
|
||||||
}%
|
}%
|
||||||
}%
|
}%
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
((* endif *))
|
((* endif *))
|
||||||
|
|
||||||
\begin{onecolentry}
|
\begin{onecolentry}
|
||||||
|
\begin{minipage}{\linewidth}
|
||||||
\textbf{<<entry.title>>} \hfill <<entry.date_string>>
|
\textbf{<<entry.title>>} \hfill <<entry.date_string>>
|
||||||
|
|
||||||
\vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>}
|
\vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>}
|
||||||
|
@ -20,5 +21,5 @@
|
||||||
<<entry.journal>>
|
<<entry.journal>>
|
||||||
((*- endif -*))
|
((*- endif -*))
|
||||||
((*- if entry.doi and entry.journal *)))((* endif -*))
|
((*- if entry.doi and entry.journal *)))((* endif -*))
|
||||||
|
\end{minipage}
|
||||||
\end{onecolentry}
|
\end{onecolentry}
|
||||||
|
|
Loading…
Reference in New Issue