Advertisement
Guest User

Untitled

a guest
Jun 19th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.72 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. % personal data
  27. name{John}{Doe}
  28. title{Resumé title} % optional, remove / comment the line if not wanted
  29. 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
  30. 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"
  31. phone[fixed]{+2~(345)~678~901}
  32. phone[fax]{+3~(456)~789~012}
  33. email{john@doe.org} % optional, remove / comment the line if not wanted
  34. homepage{www.johndoe.com} % optional, remove / comment the line if not wanted
  35. social[linkedin]{john.doe} % optional, remove / comment the line if not wanted
  36. social[twitter]{jdoe} % optional, remove / comment the line if not wanted
  37. social[github]{jdoe} % optional, remove / comment the line if not wanted
  38. extrainfo{additional information} % optional, remove / comment the line if not wanted
  39. photo[64pt][0.4pt]{pepe-le-pew0} % 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
  40. quote{Some quote} % optional, remove / comment the line if not wanted
  41.  
  42. % bibliography adjustements (only useful if you make citations in your resume, or print a list of publications using BibTeX)
  43. % to show numerical labels in the bibliography (default is to show no labels)
  44. makeatletterrenewcommand*{bibliographyitemlabel}{@biblabel{arabic{enumiv}}}makeatother
  45. % to redefine the bibliography heading string ("Publications")
  46. %renewcommand{refname}{Articles}
  47.  
  48. % bibliography with mutiple entries
  49. %usepackage{multibib}
  50. %newcites{book,misc}{{Books},{Others}}
  51. makeatletter
  52. renewcommand*{makecvfoot}{%
  53. recomputecvfootlengths{}%
  54. fancypagestyle{plain}{%
  55. fancyfoot[c]{%
  56. parbox[b]{footwidth}{%
  57. centering%
  58. color{color2}addressfont%
  59. vspace{baselineskip}% forces a white line to ensure space between main text and footer (as footer height can't be known in advance)
  60. collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
  61. addtofoot{csnamecollectionloopkey phonesymbolendcsnamecollectionloopitem}}%
  62. flushfoot@firstfootelementtrue\
  63. ifthenelse{isundefined{@email}}{}{addtofoot{emailsymbolemaillink{@email}}}%
  64. ifthenelse{isundefined{@homepage}}{}{addtofoot{homepagesymbolhttplink{@homepage}}}%
  65. collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link
  66. addtofoot{csnamecollectionloopkey socialsymbolendcsnamecollectionloopitem}}%
  67. ifthenelse{isundefined{@extrainfo}}{}{addtofoot{@extrainfo}}%
  68. flushfoot\
  69. ifthenelse{isundefined{@addressstreet}}{}{addtofoot[]{addresssymbol@addressstreet}%
  70. ifthenelse{equal{@addresscity}{}}{}{addtofoot[~--~]{@addresscity}}% if addresstreet is defined, addresscity and addresscountry will always be defined but could be empty
  71. ifthenelse{equal{@addresscountry}{}}{}{addtofoot[~--~]{@addresscountry}}%
  72. }%
  73. 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
  74. }}}%
  75. pagestyle{plain}}
  76. makeatother
  77. %----------------------------------------------------------------------------------
  78. % content
  79. %----------------------------------------------------------------------------------
  80. begin{document}
  81. %begin{CJK*}{UTF8}{gbsn} % to typeset your resume in Chinese using CJK
  82. %----- resume ---------------------------------------------------------
  83. makecvtitle
  84.  
  85. section{Education}
  86. cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description} % arguments 3 to 6 can be left empty
  87. cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description}
  88.  
  89. section{Master thesis}
  90. cvitem{title}{emph{Title}}
  91. cvitem{supervisors}{Supervisors}
  92. cvitem{description}{Short thesis abstract}
  93.  
  94. section{Experience}
  95. subsection{Vocational}
  96. cventry{year--year}{Job title}{Employer}{City}{}{General description no longer than 1--2 lines.newline{}%
  97. Detailed achievements:%
  98. begin{itemize}%
  99. item Achievement 1;
  100. item Achievement 2, with sub-achievements:
  101. begin{itemize}%
  102. item Sub-achievement (a);
  103. item Sub-achievement (b), with sub-sub-achievements (don't do this!);
  104. begin{itemize}
  105. item Sub-sub-achievement i;
  106. item Sub-sub-achievement ii;
  107. item Sub-sub-achievement iii;
  108. end{itemize}
  109. item Sub-achievement (c);
  110. end{itemize}
  111. item Achievement 3.
  112. end{itemize}}
  113. cventry{year--year}{Job title}{Employer}{City}{}{Description line 1newline{}Description line 2}
  114. subsection{Miscellaneous}
  115. cventry{year--year}{Job title}{Employer}{City}{}{Description}
  116.  
  117. section{Languages}
  118. cvitemwithcomment{Language 1}{Skill level}{Comment}
  119. cvitemwithcomment{Language 2}{Skill level}{Comment}
  120. cvitemwithcomment{Language 3}{Skill level}{Comment}
  121.  
  122. section{Computer skills}
  123. cvdoubleitem{category 1}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ}
  124. cvdoubleitem{category 2}{XXX, YYY, ZZZ}{category 5}{XXX, YYY, ZZZ}
  125. cvdoubleitem{category 3}{XXX, YYY, ZZZ}{category 6}{XXX, YYY, ZZZ}
  126.  
  127. section{Interests}
  128. cvitem{hobby 1}{Description}
  129. cvitem{hobby 2}{Description}
  130. cvitem{hobby 3}{Description}
  131.  
  132. section{Extra 1}
  133. cvlistitem{Item 1}
  134. cvlistitem{Item 2}
  135. cvlistitem{Item 3. This item is particularly long and therefore normally spans over several lines. Did you notice the indentation when the line wraps?}
  136.  
  137. section{Extra 2}
  138. cvlistdoubleitem{Item 1}{Item 4}
  139. cvlistdoubleitem{Item 2}{Item 5cite{book1}}
  140. cvlistdoubleitem{Item 3}{Item 6. Like item 3 in the single column list before, this item is particularly long to wrap over several lines.}
  141.  
  142. section{References}
  143. begin{cvcolumns}
  144. cvcolumn{Category 1}{begin{itemize}item Person 1item Person 2item Person 3end{itemize}}
  145. cvcolumn{Category 2}{Amongst others:begin{itemize}item Person 1, anditem Person 2end{itemize}(more upon request)}
  146. cvcolumn[0.5]{All the rest & some more}{textit{That} person, and textbf{those} also (all available upon request).}
  147. end{cvcolumns}
  148.  
  149. % Publications from a BibTeX file without multibib
  150. % for numerical labels: renewcommand{bibliographyitemlabel}{@biblabel{arabic{enumiv}}}% CONSIDER MERGING WITH PREAMBLE PART
  151. % to redefine the heading string ("Publications"): renewcommand{refname}{Articles}
  152. nocite{*}
  153. bibliographystyle{plain}
  154. bibliography{publications} % 'publications' is the name of a BibTeX file
  155.  
  156. % Publications from a BibTeX file using the multibib package
  157. %section{Publications}
  158. %nocitebook{book1,book2}
  159. %bibliographystylebook{plain}
  160. %bibliographybook{publications} % 'publications' is the name of a BibTeX file
  161. %nocitemisc{misc1,misc2,misc3}
  162. %bibliographystylemisc{plain}
  163. %bibliographymisc{publications} % 'publications' is the name of a BibTeX file
  164.  
  165. clearpage
  166. %----- letter ---------------------------------------------------------
  167. % recipient data
  168. recipient{Company Recruitment team}{Company, Inc.\123 somestreet\some city}
  169. date{January 01, 1984}
  170. opening{Dear Sir or Madam,}
  171. closing{Yours faithfully,}
  172. enclosure[Attached]{curriculum vitae{}} % use an optional argument to use a string other than "Enclosure", or redefine enclname
  173. makelettertitle
  174.  
  175. 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.
  176.  
  177. 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.
  178.  
  179. 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.
  180.  
  181. Albert Einstein discovered that $e=mc²$ in 1905.
  182.  
  183. [ e=lim_{n to ∞} left(1+frac{1}{n}right)^n ]
  184.  
  185. makeletterclosing
  186.  
  187. %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
  188. end{document}
  189.  
  190.  
  191. %% end of file `template.tex'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement