Guest User

Untitled

a guest
Nov 26th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.94 KB | None | 0 0
  1. newcommand*{mycvdescriptiontabularwithitemize}[2]{begin{tabularx}{linewidth}{p{mycolwidthtobedescribed} p{1em} X} %
  2. begin{itemize}%
  3. item %
  4. #1%
  5. end{itemize}
  6. & & #2%
  7. end{tabularx}}%
  8.  
  9. newcommand*{mycvdescriptionwithitemize}[3][.25em]{%
  10. begin{tabular}{@{}p{hintscolumnwidth}@{hspace{separatorcolumnwidth}}p{maincolumnwidth}@{}}%
  11. raggedlefthintstyle{} &{mycvdescriptiontabularwithitemize{#2}{#3}}%
  12. end{tabular}%
  13. par}
  14.  
  15. %% start of file `template.tex'.
  16. %% Copyright 2006-2015 Xavier Danaux (xdanaux@gmail.com).
  17. %
  18. % This work may be distributed and/or modified under the
  19. % conditions of the LaTeX Project Public License version 1.3c,
  20. % available at http://www.latex-project.org/lppl/.
  21.  
  22.  
  23. 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')
  24.  
  25. % moderncv themes
  26. moderncvstyle{classic} % style options are 'casual' (default), 'classic', 'banking', 'oldstyle' and 'fancy'
  27. moderncvcolor{blue} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red'
  28. %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
  29. %nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37. % character encoding
  38. %usepackage[utf8]{inputenc} % if you are not using xelatex ou lualatex, replace by the encoding you are using
  39. %usepackage{CJKutf8} % if you need to use CJK to typeset your resume in Chinese, Japanese or Korean
  40.  
  41. % adjust the page margins
  42. usepackage[scale=0.75]{geometry}
  43.  
  44. usepackage{tabularx}
  45. %setlength{hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates
  46. %setlength{makecvheadnamewidth}{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...
  47.  
  48. % personal data
  49. name{John}{Doe}
  50. title{Resumé title} % optional, remove / comment the line if not wanted
  51. 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
  52. 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"
  53. phone[fixed]{+2~(345)~678~901}
  54. phone[fax]{+3~(456)~789~012}
  55. email{john@doe.org} % optional, remove / comment the line if not wanted
  56. homepage{www.johndoe.com} % optional, remove / comment the line if not wanted
  57. social[linkedin]{john.doe} % optional, remove / comment the line if not wanted
  58. social[xing]{john_doe} % optional, remove / comment the line if not wanted
  59. social[twitter]{jdoe} % optional, remove / comment the line if not wanted
  60. social[github]{jdoe} % optional, remove / comment the line if not wanted
  61. social[gitlab]{jdoe} % optional, remove / comment the line if not wanted
  62. social[skype]{jdoe} % optional, remove / comment the line if not wanted
  63. extrainfo{additional information} % optional, remove / comment the line if not wanted
  64. 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
  65. quote{Some quote} % optional, remove / comment the line if not wanted
  66.  
  67. % bibliography adjustements (only useful if you make citations in your resume, or print a list of publications using BibTeX)
  68. % to show numerical labels in the bibliography (default is to show no labels)
  69. %makeatletterrenewcommand*{bibliographyitemlabel}{@biblabel{arabic{enumiv}}}makeatother
  70. renewcommand*{bibliographyitemlabel}{[arabic{enumiv}]}
  71. % to redefine the bibliography heading string ("Publications")
  72. %renewcommand{refname}{Articles}
  73. newcommand{mycolwidthtobedescribed}{2.7cm}
  74.  
  75. newcommand*{mycvdescriptiontabularwithitemize}[2]{begin{tabularx}{linewidth}{p{mycolwidthtobedescribed} p{1em} X} %
  76. begin{itemize}%
  77. item %
  78. #1%
  79. end{itemize}
  80. & & #2%
  81. end{tabularx}}%
  82.  
  83. newcommand*{mycvdescriptionwithitemize}[3][.25em]{%
  84. begin{tabular}{@{}p{hintscolumnwidth}@{hspace{separatorcolumnwidth}}p{maincolumnwidth}@{}}%
  85. raggedlefthintstyle{} &{mycvdescriptiontabularwithitemize{#2}{#3}}%
  86. end{tabular}%
  87. par}
  88.  
  89. % bibliography with mutiple entries
  90. %usepackage{multibib}
  91. %newcites{book,misc}{{Books},{Others}}
  92. %----------------------------------------------------------------------------------
  93. % content
  94. %----------------------------------------------------------------------------------
  95. begin{document}
  96. %begin{CJK*}{UTF8}{gbsn} % to typeset your resume in Chinese using CJK
  97. %----- resume ---------------------------------------------------------
  98. makecvtitle
  99.  
  100. %moderncvstyle{fancy}
  101. section{Education}
  102. cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description} % arguments 3 to 6 can be
  103. subsection{Suff}
  104. mycvdescriptionwithitemize{one item}{item is a thing}
  105. mycvdescriptionwithitemize{another itme}{this item is interesting}
  106.  
  107.  
  108. end{document}
  109.  
  110.  
  111. %% end of file `template.tex'.
Add Comment
Please, Sign In to add comment