cv.tex.in 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. \documentclass[a4paper]{scrartcl}
  2. \usepackage[margin=3cm]{geometry}
  3. \usepackage[ngerman]{babel}
  4. \usepackage{fontspec}
  5. \usepackage{fontawesome}
  6. \usepackage{lastpage}
  7. \usepackage{scrpage2}
  8. \usepackage{enumitem}
  9. \usepackage[
  10. hidelinks=true
  11. ]{hyperref}
  12. ((* if resume.publications *))
  13. \usepackage[
  14. maxbibnames=99,
  15. firstinits=true,
  16. ]{biblatex}
  17. \usepackage{filecontents}
  18. \begin{filecontents}{pubs.bib}
  19. ((* for publication in resume.publications|sort(attribute='year', reverse=True) *))
  20. @((( publication.type ))){tmp((( loop.index ))),
  21. title = {((( publication.title)))},
  22. author = {((( publication.authors|join(' and ') )))},
  23. year = {((( publication.year )))},
  24. month = {((( publication.month )))},
  25. pages = {((( publication.pages )))},
  26. ((* if publication.journal *))
  27. journal = {((( publication.journal )))},
  28. volume = {((( publication.volume )))},
  29. number = {((( publication.number )))},
  30. ((* else *))
  31. booktitle = {((( publication.booktitle )))},
  32. ((* endif *))
  33. doi = {((( publication.doi )))},
  34. }
  35. ((* endfor *))
  36. \end{filecontents}
  37. \bibliography{pubs}
  38. ((* endif *))
  39. % --- Fonts
  40. \setmainfont[Mapping=tex-text]{Linux Libertine O}
  41. \newfontfamily\light[Mapping=tex-text, LetterSpace=12.0]{Archivo Narrow}
  42. \setlist[description]{%
  43. font={\normalfont\light\footnotesize},
  44. topsep=0em,
  45. itemsep=0.2em
  46. }
  47. \setlist[itemize]{%
  48. topsep=0.8em,
  49. itemsep=0.15em,
  50. }
  51. ((* if resume.publications *))
  52. \defbibheading{customheading}{\noindent\light\large
  53. VERÖFFENTLICHUNGEN\vspace{1em}}
  54. ((* endif *))
  55. % --- Commands
  56. \newcommand*{\textlight}[1]{{\light #1}}
  57. \newcommand*{\cvperiod}[2]{%
  58. \noindent
  59. \begin{minipage}[t]{0.7\textwidth}
  60. \raggedright #2
  61. \end{minipage}
  62. \hfill
  63. \begin{minipage}[t]{0.3\textwidth}
  64. \raggedleft #1
  65. \end{minipage}
  66. }
  67. % --- Environments
  68. \newenvironment*{cvsection}[1]{%
  69. \noindent\rule{\textwidth}{0.4pt}
  70. \begin{flushleft}
  71. \vspace{-0.45em}
  72. \addfontfeature{LetterSpace=6.0}\footnotesize\light{\MakeUppercase{#1}}
  73. \end{flushleft}
  74. }
  75. {}
  76. % \cfoot{\normalfont\footnotesize\textlight{\thepage\ von \pageref{LastPage}}}
  77. \cfoot{\normalfont\footnotesize\textlight{\thepage}}
  78. \pagestyle{empty}
  79. \begin{document}
  80. \begin{center}
  81. \light{\addfontfeature{LetterSpace=18.0}{\Large\MakeUppercase{((( resume.basics.title)))~((( resume.basics.name )))}}}
  82. \vspace{1em}
  83. {\footnotesize\textlight{\MakeUppercase{%
  84. ((( resume.basics.location.address ))),
  85. ((( resume.basics.location.postalCode )))
  86. ((( resume.basics.location.city )))}}}
  87. \vspace{.4em}
  88. {\footnotesize\textlight{%
  89. \faMobile\hspace{.25em} ((( resume.basics.phone )))\hspace{1em}
  90. \faEnvelopeO\hspace{.25em} \href{mailto:((( resume.basics.email )))}{\MakeUppercase{((( resume.basics.email )))}}}}
  91. \end{center}
  92. \vspace{1em}
  93. \begin{cvsection}{Berufserfahrung}
  94. ((* for work in resume.work *))
  95. \cvperiod{((( work.startDate|simpledate )))--((( work.endDate|simpledate )))}{((( work.company)))}
  96. \vspace{0.4em}
  97. \noindent\emph{((( work.position )))}
  98. ((* if work.highlights *))
  99. \vspace{-0.6em}
  100. \begin{itemize}[leftmargin=1.8em, rightmargin=8em]
  101. \raggedright
  102. ((* for highlight in work.highlights *))
  103. \item ((( highlight )))
  104. ((* endfor *))
  105. \end{itemize}
  106. ((* endif *))
  107. \vspace{0.6em}
  108. ((* endfor *))
  109. \end{cvsection}
  110. \begin{cvsection}{Ausbildung}
  111. ((* for stage in resume.education *))
  112. \cvperiod{((( stage.startDate|simpledate )))--((( stage.endDate|simpledate)))}{((( stage.studyType ))) ((( stage.area ))) -- ((( stage.institution )))}
  113. ((* if stage.highlights *))
  114. \vspace{-1.8em}
  115. \begin{itemize}[leftmargin=1.8em, rightmargin=8em]
  116. \raggedright
  117. ((* for highlight in stage.highlights *))
  118. \item ((( highlight )))
  119. ((* endfor *))
  120. \end{itemize}
  121. ((* endif *))
  122. ((* endfor *))
  123. \end{cvsection}
  124. \noindent
  125. \begin{minipage}[t]{0.49\textwidth}
  126. \begin{cvsection}{Sprachen}
  127. \begin{description}[leftmargin=6.5em, style=nextline]
  128. ((* for lang in resume.languages *))
  129. \item[((( lang.language )))] ((( lang.fluency )))
  130. ((* if lang.cert *))
  131. ((( lang.cert )))
  132. ((* endif *))
  133. ((* endfor *))
  134. \end{description}
  135. \end{cvsection}
  136. \end{minipage}
  137. \hfill
  138. \begin{minipage}[t]{0.49\textwidth}
  139. \begin{cvsection}{Kenntnisse}
  140. \begin{description}[leftmargin=4.5em, style=nextline]
  141. ((* for skill in resume.skills *))
  142. \item[((( skill.name )))] ((( skill.keywords|join(', ') )))
  143. ((* endfor *))
  144. \end{description}
  145. \end{cvsection}
  146. \end{minipage}
  147. \vspace{2em}
  148. % \pagebreak
  149. % \begin{cvsection}{Netz}
  150. % \begin{description}[leftmargin=4.2em, style=nextline]
  151. % \item[Webseite] \href{((( resume.basics.website )))}{((( resume.basics.shortWebsite )))}
  152. % ((* for profile in resume.basics.profiles *))
  153. % \item[((( profile.network )))] \href{((( profile.url )))}{((( profile.shortUrl )))}
  154. % ((* endfor *))
  155. % \end{description}
  156. % \end{cvsection}
  157. \vfill
  158. \begin{flushleft}
  159. ((* if resume.basics.signature *))
  160. \includegraphics[width=2.0cm]{((( resume.basics.signature )))}
  161. ((* endif *))
  162. ((( resume.basics.location.city ))), \today
  163. \end{flushleft}
  164. ((* if resume.publications *))
  165. \pagebreak
  166. \nocite{*}
  167. \begingroup
  168. \newrefcontext[sorting=ydnt]
  169. \printbibliography[heading=customheading]
  170. \endgroup
  171. ((* endif *))
  172. \pagebreak
  173. \end{document}