cv.tex.in 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. \documentclass[a4paper]{scrartcl}
  2. \usepackage[margin=3cm]{geometry}
  3. \usepackage[ngerman]{babel}
  4. \usepackage{fontspec}
  5. \usepackage{graphicx}
  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. \uppercase{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 )))\hspace{1ex}•\hspace{1ex}((( resume.basics.location.postalCode )))
  85. ((( resume.basics.location.city )))}}}
  86. \vspace{.4em}
  87. {\footnotesize\textlight{%
  88. ((( resume.basics.phone )))\hspace{1ex}•\hspace{1ex}\href{mailto:((( resume.basics.email )))}{\MakeUppercase{((( resume.basics.email )))}}}}
  89. \end{center}
  90. \vspace{1em}
  91. \begin{cvsection}{Berufserfahrung}
  92. ((* for work in resume.work *))
  93. \cvperiod{((( work.startDate|simpledate )))--((( work.endDate|simpledate )))}{((( work.company)))}
  94. \vspace{0.4em}
  95. \noindent\emph{((( work.position )))}
  96. ((* if work.highlights *))
  97. \vspace{-0.6em}
  98. \begin{itemize}[leftmargin=1.8em, rightmargin=8em]
  99. \raggedright
  100. ((* for highlight in work.highlights *))
  101. \item ((( highlight )))
  102. ((* endfor *))
  103. \end{itemize}
  104. ((* endif *))
  105. \vspace{0.6em}
  106. ((* endfor *))
  107. \end{cvsection}
  108. \begin{cvsection}{Ausbildung}
  109. ((* for stage in resume.education *))
  110. \cvperiod{((( stage.startDate|simpledate )))--((( stage.endDate|simpledate)))}{((( stage.studyType ))) ((( stage.area ))) -- ((( stage.institution )))}
  111. ((* if stage.highlights *))
  112. \vspace{-1.8em}
  113. \begin{itemize}[leftmargin=1.8em, rightmargin=8em]
  114. \raggedright
  115. ((* for highlight in stage.highlights *))
  116. \item ((( highlight )))
  117. ((* endfor *))
  118. \end{itemize}
  119. ((* endif *))
  120. ((* endfor *))
  121. \end{cvsection}
  122. \begin{cvsection}{Kenntnisse}
  123. \begin{description}[leftmargin=6.5em, style=nextline]
  124. ((* for skill in resume.skills *))
  125. \item[((( skill.name )))] ((( skill.keywords|join(', ') )))
  126. ((* endfor *))
  127. \end{description}
  128. \end{cvsection}
  129. \vspace{1em}
  130. \begin{cvsection}{Sprachen}
  131. \begin{description}[leftmargin=6.5em, style=nextline]
  132. ((* for lang in resume.languages *))
  133. \item[((( lang.language )))] ((( lang.fluency )))
  134. ((* if lang.cert *))
  135. ((( lang.cert )))
  136. ((* endif *))
  137. ((* endfor *))
  138. \end{description}
  139. \end{cvsection}
  140. % \begin{cvsection}{Persönliche Interessen}
  141. % ((* for interest in resume.interests *))
  142. % ((( interest.name )))\vspace{.75em}
  143. % ((* endfor *))
  144. % \end{cvsection}
  145. \vspace{1em}
  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}