Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.22 KB | None | 0 0
  1. %%% ------------------------------------------------------------
  2. documentclass[paper=a4,fontsize=11pt]{scrartcl} % KOMA-article class
  3. usepackage{amsmath,amsfonts,amsthm} % Math packages
  4. usepackage[pdftex]{graphicx} % Enable pdflatex
  5. usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
  6. usepackage{geometry}
  7. textheight=700px % Saving trees ;-)
  8. usepackage{url} % Clickable URL's
  9. usepackage{wrapfig} % Wrap text along figures
  10.  
  11. frenchspacing % Better looking spacings after periods
  12. pagestyle{empty} % No pagenumbers/headers/footers
  13. usepackage{sectsty} % Custom sectioning (see below)
  14.  
  15. sectionfont{% % Change font of section command
  16. usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
  17. sectionrule{0pt}{0pt}{-5pt}{3pt}
  18. }
  19.  
  20. %%% Macros
  21. %%% ------------------------------------------------------------
  22. newlength{spacebox}
  23. settowidth{spacebox}{8888888888} % Box to align text
  24. newcommand{sepspace}{vspace*{1em}} % Vertical space macro
  25.  
  26. newcommand{MyName}[1]{
  27. Huge usefont{OT1}{phv}{b}{n} hfill #1 % Name
  28. par normalsize normalfont}
  29.  
  30. newcommand{MySlogan}[1]{
  31. large usefont{OT1}{phv}{m}{n}hfill textit{#1} % Slogan (optional)
  32. par normalsize normalfont}
  33.  
  34. newcommand{NewPart}[1]{section*{uppercase{#1}}}
  35.  
  36. newcommand{PersonalEntry}[2]{
  37. noindenthangindent=2emhangafter=0 % Indentation
  38. parbox{spacebox}{ % Box to align text
  39. textit{#1}} % Entry name (birth, address, etc.)
  40. hspace{1.5em} #2 par} % Entry value
  41.  
  42. newcommand{SkillsEntry}[2]{ % Same as PersonalEntry
  43. noindenthangindent=2emhangafter=0 % Indentation
  44. parbox{spacebox}{ % Box to align text
  45. textit{#1}} % Entry name (birth, address, etc.)
  46. hspace{1.5em} #2 par} % Entry value
  47.  
  48. newcommand{EducationEntry}[4]{
  49. noindent textbf{#1} hfill % Study
  50. colorbox{Black}{%
  51. parbox{6em}{%
  52. hfillcolor{White}#2}} par % Duration
  53. noindent textit{#3} par % School
  54. noindenthangindent=2emhangafter=0 small #4 % Description
  55. normalsize par}
  56.  
  57. newcommand{WorkEntry}[4]{ % Same as EducationEntry
  58. noindent textbf{#1} hfill % Jobname
  59. colorbox{Black}{color{White}#2} par % Duration
  60. noindent textit{#3} par % Company
  61. noindenthangindent=2emhangafter=0 small #4 % Description
  62. normalsize par}
  63.  
  64.  
  65.  
  66. %%% ------------------------------------------------------------
  67. %%% BEGIN DOCUMENT
  68. %%% ------------------------------------------------------------
  69. begin{document}
  70. begin{wrapfigure}{l}{0.5textwidth}
  71. vspace*{-2em}
  72. includegraphics[width=0.15textwidth]{photo}
  73. end{wrapfigure}
  74.  
  75. MyName{Your Name}
  76. MySlogan{Curriculum Vitae}
  77.  
  78. sepspace
  79.  
  80. %%% Personal details
  81. %%% ------------------------------------------------------------
  82. NewPart{Personal details}{}
  83.  
  84. PersonalEntry{Birth}{January 1, 1980}
  85. PersonalEntry{Address}{111 First St, New York}
  86. PersonalEntry{Phone}{(123) 000-0000}
  87. PersonalEntry{Mail}{url{me@home.com}}
  88.  
  89. %%% Education
  90. %%% ------------------------------------------------------------
  91. NewPart{Education}{}
  92.  
  93. EducationEntry{MSc. Name of Education}{2010-2012}{Name of
  94. University}{Descriptive text goes here. In order to maintain a stylish look, try to fill this description with a few lines of text. Do the same for the other entries in the education section.}
  95. sepspace
  96.  
  97. EducationEntry{BSc. Name of Education}{2007-2010}{Name of University}{Descriptive text goes here. In order to maintain a stylish look, try to fill this description with a few lines of text. Do the same for the other entries in the education section.}
  98.  
  99. %%% Work experience
  100. %%% ------------------------------------------------------------
  101. NewPart{Work experience}{}
  102.  
  103. EducationEntry{Job name}{2011-present}{Company Name inc., Full-time}{Job description goes here. To maintain a stylish look, try to fill this description with a few lines of text. Do the same for the other entries in this section.}
  104. sepspace
  105.  
  106. EducationEntry{Job name}{2010-2011}{Company Name inc., Part-time}{Job description goes here. To maintain a stylish look, try to fill this description with a few lines of text. Do the same for the other entries in this section.}
  107.  
  108. %%% Skills
  109. %%% ------------------------------------------------------------
  110. NewPart{Skills}{}
  111.  
  112. SkillsEntry{Languages}{Dutch (mother tongue)}
  113. SkillsEntry{}{English (fluent)}
  114. SkillsEntry{}{German (fluent)}
  115.  
  116. SkillsEntry{Software}{textsc{Matlab}, LaTeX, textsc{Ansys}, textsc{Comsol}}
  117.  
  118.  
  119. %%% References
  120. %%% ------------------------------------------------------------
  121. NewPart{References}{}
  122. Available upon request
  123. end{document}
  124.  
  125. newcommand{EducationEntry}[4]{
  126. noindent textbf{#1} hfill % Study
  127. colorbox{Black}{%
  128. parbox{6em}{%
  129. hfillcolor{White}#2}} par % Duration
  130. noindent textit{#3} par % School
  131. noindenthangindent=2emhangafter=0 small #4 % Description
  132. normalsize par}
  133.  
  134. parbox{6em}{raggedleft
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement