Advertisement
Guest User

Untitled

a guest
Apr 4th, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.06 KB | None | 0 0
  1. %% start of file `template.tex'.
  2. %% Copyright 2006-2015 Xavier Danaux (xdanaux@gmail.com).
  3. %
  4. % This work may be distributed and/or modified under the
  5. % conditions of the LaTeX Project Public License version 1.3c,
  6. % available at http://www.latex-project.org/lppl/.
  7.  
  8.  
  9. documentclass[11pt,a4paper,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman')
  10.  
  11. % moderncv themes
  12. moderncvstyle{casual} % style options are 'casual' (default), 'classic', 'banking', 'oldstyle' and 'fancy'
  13. moderncvcolor{blue} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red'
  14. %renewcommand{familydefault}{sfdefault} % to set the default font; use 'sfdefault' for the default sans serif font, 'rmdefault' for the default roman one, or any tex font name
  15. %nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page
  16.  
  17. % character encoding
  18. %usepackage[utf8]{inputenc} % if you are not using xelatex ou lualatex, replace by the encoding you are using
  19. %usepackage{CJKutf8} % if you need to use CJK to typeset your resume in Chinese, Japanese or Korean
  20.  
  21. % adjust the page margins
  22. usepackage[scale=0.75]{geometry}
  23. %setlength{hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates
  24. %setlength{makecvtitlenamewidth}{10cm} % for the 'classic' style, if you want to force the width allocated to your name and avoid line breaks. be careful though, the length is normally calculated to avoid any overlap with your personal info; use this at your own typographical risks...
  25.  
  26.  
  27.  
  28. %----------------------------------------------------------------------------------------
  29. % CODE FOR A SECOND ADDRESS IN THE INFO BLOCK
  30. %----------------------------------------------------------------------------------------
  31.  
  32. makeatletter
  33. newcommand*{addresstwo}[3]{def@addressstreettwo{#1}def@addresscitytwo{#2}def@addresscountrytwo{#3}}
  34. renewcommand*{makecvfoot}{%
  35. recomputecvfootlengths{}%
  36. fancypagestyle{plain}{%
  37. fancyfoot[c]{%
  38. parbox[b]{footwidth}{%
  39. centering%
  40. color{color2}addressfont%
  41. vspace{baselineskip}% forces a white line to ensure space between main text and footer (as footer height can't be known in advance)
  42. ifthenelse{isundefined{@addressstreet}}{}{addtofoot[]{addresssymbol@addressstreet}%
  43. ifthenelse{equal{@addresscity}{}}{}{addtofoot[~--~]{@addresscity}}% if addresstreet is defined, addresscity and addresscountry will always be defined but could be empty
  44. ifthenelse{equal{@addresscountry}{}}{}{addtofoot[~--~]{@addresscountry}}%
  45. ifthenelse{isundefined{@addressstreettwo}}{}{addtofoot[]{addresssymbol@addressstreettwo}%
  46. ifthenelse{equal{@addresscitytwo}{}}{}{addtofoot[~--~]{@addresscitytwo}}%
  47. ifthenelse{equal{@addresscountrytwo}{}}{}{addtofoot[~--~]{@addresscountrytwo}}%
  48. flushfoot@firstfootelementtrue\}%
  49. collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
  50. addtofoot{csnamecollectionloopkey phonesymbolendcsnamecollectionloopitem}}%
  51. ifthenelse{isundefined{@email}}{}{addtofoot{emailsymbolemaillink{@email}}}%
  52. ifthenelse{isundefined{@homepage}}{}{addtofoot{homepagesymbolhttplink{@homepage}}}%
  53. collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link
  54. addtofoot{csnamecollectionloopkey socialsymbolendcsnamecollectionloopitem}}%
  55. ifthenelse{isundefined{@extrainfo}}{}{addtofoot{@extrainfo}}%
  56. ifthenelse{lengthtest{footboxwidth=0pt}}{}{flushfoot}% the lengthtest is required to avoid flushing an empty footer, which could cause a blank line due to the \ after the address, if no other personal info is used
  57. }}}%
  58. pagestyle{plain}}
  59. makeatother
  60.  
  61.  
  62.  
  63.  
  64. % personal data
  65. name{John}{Doe}
  66. title{Resumé title} % optional, remove / comment the line if not wanted
  67. address{street and number}{postcode city}{country}% optional, remove / comment the line if not wanted; the "postcode city" and "country" arguments can be omitted or provided empty
  68. addresstwo{street and number two}{postcode city two}{country two}% optional, remove / comment the line if not wanted; the "postcode city" and "country" arguments can be omitted or provided empty
  69.  
  70. phone[mobile]{+1~(234)~567~890} % optional, remove / comment the line if not wanted; the optional "type" of the phone can be "mobile" (default), "fixed" or "fax"
  71. phone[fixed]{+2~(345)~678~901}
  72. phone[fax]{+3~(456)~789~012}
  73. email{john@doe.org} % optional, remove / comment the line if not wanted
  74. homepage{www.johndoe.com} % optional, remove / comment the line if not wanted
  75. social[linkedin]{john.doe} % optional, remove / comment the line if not wanted
  76. social[twitter]{jdoe} % optional, remove / comment the line if not wanted
  77. social[github]{jdoe} % optional, remove / comment the line if not wanted
  78. extrainfo{additional information} % optional, remove / comment the line if not wanted
  79. %photo[64pt][0.4pt]{picture} % optional, remove / comment the line if not wanted; '64pt' is the height the picture must be resized to, 0.4pt is the thickness of the frame around it (put it to 0pt for no frame) and 'picture' is the name of the picture file
  80. quote{Some quote} % optional, remove / comment the line if not wanted
  81.  
  82. % bibliography adjustements (only useful if you make citations in your resume, or print a list of publications using BibTeX)
  83. % to show numerical labels in the bibliography (default is to show no labels)
  84. makeatletterrenewcommand*{bibliographyitemlabel}{@biblabel{arabic{enumiv}}}makeatother
  85. % to redefine the bibliography heading string ("Publications")
  86. %renewcommand{refname}{Articles}
  87.  
  88. % bibliography with mutiple entries
  89. %usepackage{multibib}
  90. %newcites{book,misc}{{Books},{Others}}
  91. %----------------------------------------------------------------------------------
  92. % content
  93. %----------------------------------------------------------------------------------
  94. begin{document}
  95. %begin{CJK*}{UTF8}{gbsn} % to typeset your resume in Chinese using CJK
  96. %----- resume ---------------------------------------------------------
  97. makecvtitle
  98.  
  99. section{Education}
  100. cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description} % arguments 3 to 6 can be left empty
  101. cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description}
  102.  
  103. section{Master thesis}
  104. cvitem{title}{emph{Title}}
  105. cvitem{supervisors}{Supervisors}
  106. cvitem{description}{Short thesis abstract}
  107.  
  108. section{Experience}
  109. subsection{Vocational}
  110. cventry{year--year}{Job title}{Employer}{City}{}{General description no longer than 1--2 lines.newline{}%
  111. Detailed achievements:%
  112. begin{itemize}%
  113. item Achievement 1;
  114. item Achievement 2, with sub-achievements:
  115. begin{itemize}%
  116. item Sub-achievement (a);
  117. item Sub-achievement (b), with sub-sub-achievements (don't do this!);
  118. begin{itemize}
  119. item Sub-sub-achievement i;
  120. item Sub-sub-achievement ii;
  121. item Sub-sub-achievement iii;
  122. end{itemize}
  123. item Sub-achievement (c);
  124. end{itemize}
  125. item Achievement 3.
  126. end{itemize}}
  127. cventry{year--year}{Job title}{Employer}{City}{}{Description line 1newline{}Description line 2}
  128. subsection{Miscellaneous}
  129. cventry{year--year}{Job title}{Employer}{City}{}{Description}
  130.  
  131. section{Languages}
  132. cvitemwithcomment{Language 1}{Skill level}{Comment}
  133. cvitemwithcomment{Language 2}{Skill level}{Comment}
  134. cvitemwithcomment{Language 3}{Skill level}{Comment}
  135.  
  136. section{Computer skills}
  137. cvdoubleitem{category 1}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ}
  138. cvdoubleitem{category 2}{XXX, YYY, ZZZ}{category 5}{XXX, YYY, ZZZ}
  139. cvdoubleitem{category 3}{XXX, YYY, ZZZ}{category 6}{XXX, YYY, ZZZ}
  140.  
  141. section{Interests}
  142. cvitem{hobby 1}{Description}
  143. cvitem{hobby 2}{Description}
  144. cvitem{hobby 3}{Description}
  145.  
  146. section{Extra 1}
  147. cvlistitem{Item 1}
  148. cvlistitem{Item 2}
  149. cvlistitem{Item 3. This item is particularly long and therefore normally spans over several lines. Did you notice the indentation when the line wraps?}
  150.  
  151. section{Extra 2}
  152. cvlistdoubleitem{Item 1}{Item 4}
  153. cvlistdoubleitem{Item 2}{Item 5cite{book1}}
  154. cvlistdoubleitem{Item 3}{Item 6. Like item 3 in the single column list before, this item is particularly long to wrap over several lines.}
  155.  
  156. section{References}
  157. begin{cvcolumns}
  158. cvcolumn{Category 1}{begin{itemize}item Person 1item Person 2item Person 3end{itemize}}
  159. cvcolumn{Category 2}{Amongst others:begin{itemize}item Person 1, anditem Person 2end{itemize}(more upon request)}
  160. cvcolumn[0.5]{All the rest & some more}{textit{That} person, and textbf{those} also (all available upon request).}
  161. end{cvcolumns}
  162.  
  163. % Publications from a BibTeX file without multibib
  164. % for numerical labels: renewcommand{bibliographyitemlabel}{@biblabel{arabic{enumiv}}}% CONSIDER MERGING WITH PREAMBLE PART
  165. % to redefine the heading string ("Publications"): renewcommand{refname}{Articles}
  166. nocite{*}
  167. bibliographystyle{plain}
  168. bibliography{publications} % 'publications' is the name of a BibTeX file
  169.  
  170. % Publications from a BibTeX file using the multibib package
  171. %section{Publications}
  172. %nocitebook{book1,book2}
  173. %bibliographystylebook{plain}
  174. %bibliographybook{publications} % 'publications' is the name of a BibTeX file
  175. %nocitemisc{misc1,misc2,misc3}
  176. %bibliographystylemisc{plain}
  177. %bibliographymisc{publications} % 'publications' is the name of a BibTeX file
  178.  
  179. clearpage
  180. %----- letter ---------------------------------------------------------
  181. % recipient data
  182. recipient{Company Recruitment team}{Company, Inc.\123 somestreet\some city}
  183. date{January 01, 1984}
  184. opening{Dear Sir or Madam,}
  185. closing{Yours faithfully,}
  186. enclosure[Attached]{curriculum vitae{}} % use an optional argument to use a string other than "Enclosure", or redefine enclname
  187. makelettertitle
  188.  
  189. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ullamcorper neque sit amet lectus facilisis sed luctus nisl iaculis. Vivamus at neque arcu, sed tempor quam. Curabitur pharetra tincidunt tincidunt. Morbi volutpat feugiat mauris, quis tempor neque vehicula volutpat. Duis tristique justo vel massa fermentum accumsan. Mauris ante elit, feugiat vestibulum tempor eget, eleifend ac ipsum. Donec scelerisque lobortis ipsum eu vestibulum. Pellentesque vel massa at felis accumsan rhoncus.
  190.  
  191. Suspendisse commodo, massa eu congue tincidunt, elit mauris pellentesque orci, cursus tempor odio nisl euismod augue. Aliquam adipiscing nibh ut odio sodales et pulvinar tortor laoreet. Mauris a accumsan ligula. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse vulputate sem vehicula ipsum varius nec tempus dui dapibus. Phasellus et est urna, ut auctor erat. Sed tincidunt odio id odio aliquam mattis. Donec sapien nulla, feugiat eget adipiscing sit amet, lacinia ut dolor. Phasellus tincidunt, leo a fringilla consectetur, felis diam aliquam urna, vitae aliquet lectus orci nec velit. Vivamus dapibus varius blandit.
  192.  
  193. Duis sit amet magna ante, at sodales diam. Aenean consectetur porta risus et sagittis. Ut interdum, enim varius pellentesque tincidunt, magna libero sodales tortor, ut fermentum nunc metus a ante. Vivamus odio leo, tincidunt eu luctus ut, sollicitudin sit amet metus. Nunc sed orci lectus. Ut sodales magna sed velit volutpat sit amet pulvinar diam venenatis.
  194.  
  195. Albert Einstein discovered that $e=mc^2$ in 1905.
  196.  
  197. [ e=lim_{n to infty} left(1+frac{1}{n}right)^n ]
  198.  
  199. makeletterclosing
  200.  
  201. %clearpageend{CJK*} % if you are typesetting your resume in Chinese using CJK; the clearpage is required for fancyhdr to work correctly with CJK, though it kills the page numbering by making lastpage undefined
  202. end{document}
  203.  
  204.  
  205. %% end of file `template.tex'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement