cv.tex.in 5.4 KB

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