Debian Codegraph @

texmf-dist/doc/latex/moderncv/template.tex

raw
1 %% start of file `template.tex'.
2 %% Copyright 2006-2015 Xavier Danaux ([email protected]), 2020-2026 moderncv maintainers (github.com/moderncv).
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 \moderncvcolor{cerulean} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red'; for contemporary style use 'cerulean'
12 % moderncv themes
13 \moderncvstyle[]{contemporary} % style options are 'casual' (default), 'classic', 'banking', 'oldstyle', 'fancy' and 'contemporary'
14 % the 'contemporary' style optionally takes the `qr` (default) or `noqr` options
15 %\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
16 %\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page
17
18 % adjust the page margins
19 \usepackage[hmargin=0.5in,vmargin=10pt]{geometry} % the 'contemporary' style looks better with reduced margins; uncomment the line below for increased margin
20 %\usepackage[scale=0.75]{geometry}
21 %\setlength{\hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates
22 %\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...
23 %\setlength{\listitemsymbolspace}{10pt} % set custom spacing between list symbol and text item (influences \cvlistitem and \cvlistdoubleitem)
24
25 % the 'contemporary' style allows to append additional elements to the head background; uncomment and customize if needed
26 %\def\@moderncvheadBackground{
27 %}
28
29 % font loading
30 % for luatex and xetex, do not use inputenc and fontenc
31 % see https://tex.stackexchange.com/a/496643
32 \ifxetexorluatex
33 \usepackage{fontspec}
34 \usepackage{unicode-math}
35 \defaultfontfeatures{Ligatures=TeX}
36 \setmainfont{Latin Modern Roman}
37 \setsansfont{Latin Modern Sans}
38 \setmonofont{Latin Modern Mono}
39 \setmathfont{Latin Modern Math}
40
41 % you may also consider Fira Sans Light for a extra modern look
42 %\setsansfont[ItalicFont={Fira Sans Light Italic},%
43 % BoldFont={Fira Sans},%
44 % BoldItalicFont={Fira Sans Italic}]%
45 % {Fira Sans Light}%
46 \else
47 \usepackage[utf8]{inputenc}
48 \usepackage[T1]{fontenc}
49 \usepackage{lmodern}
50 \fi
51
52 % document language
53 \usepackage[english]{babel} % FIXME: using spanish breaks moderncv
54
55 % personal data
56 \name{John}{Doe}
57 \title{Résumé title} % optional, remove / comment the line if not wanted
58 \born{4 July 1776} % optional, remove / comment the line if not wanted
59 \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
60 \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"
61 \phone[fixed]{+2~(345)~678~901}
62 \phone[fax]{+3~(456)~789~012}
63 \email{[email protected]} % optional, remove / comment the line if not wanted
64 \homepage{www.johndoe.com} % optional, remove / comment the line if not wanted
65
66 % Social icons
67 \social[linkedin]{john.doe} % optional, remove / comment the line if not wanted
68 \social[xing]{john\_doe} % optional, remove / comment the line if not wanted
69
70 \social[github]{jdoe} % optional, remove / comment the line if not wanted
71 \social[gitlab]{jdoe} % optional, remove / comment the line if not wanted
72 \social[codeberg]{jdoe} % optional, remove / comment the line if not wanted
73 \social[bitbucket]{jdoe} % optional, remove / comment the line if not wanted
74 \social[stackoverflow]{0000000/johndoe} % optional, remove / comment the line if not wanted
75
76 \social[skype]{jdoe} % optional, remove / comment the line if not wanted
77 \social[orcid]{0000-0000-000-000} % optional, remove / comment the line if not wanted
78 \social[researchgate]{jdoe} % optional, remove / comment the line if not wanted
79 \social[researcherid]{jdoe} % optional, remove / comment the line if not wanted
80 \social[googlescholar]{googlescholarid} % optional, remove / comment the line if not wanted
81
82 \social[twitter]{ji\_doe} % optional, remove / comment the line if not wanted
83 \social[mastodon]{mastodon.social/web/@user} % optional, remove / comment the line if not wanted
84 \social[telegram]{jdoe} % optional, remove / comment the line if not wanted
85 \social[whatsapp]{12345678901} % optional, remove / comment the line if not wanted
86 \social[signal]{12345678901} % optional, remove / comment the line if not wanted
87 \social[matrix]{@johndoe:matrix.org} % optional, remove / comment the line if not wanted
88 \social[discord]{jdoe\#0000} % optional, remove / comment the line if not wanted
89
90 % YouTube links can take several forms, depending on how your account and channel are set up.
91 % See https://support.google.com/youtube/answer/6180214 for more information.
92 \social[youtube]{c/jdoeschannel} % optional, remove / comment the line if not wanted; Custom URL - can be shorted by removing 'c/'
93 \social[youtube]{channel/XXXXXX} % optional, remove / comment the line if not wanted; Channel URL (ID-based) - can not be shortened
94 \social[youtube]{user/jdoe} % optional, remove / comment the line if not wanted; Legacy username URL - if jdoe is not already claimed by a Custom URL, can be shortened by removing 'user/'
95
96 \social[twitch]{jdoe} % optional, remove / comment the line if not wanted
97 \social[tiktok]{jdoe} % optional, remove / comment the line if not wanted
98 \social[instagram]{jdoe} % optional, remove / comment the line if not wanted
99
100 \social[soundcloud]{jdoe} % optional, remove / comment the line if not wanted
101
102 \social[steam]{jdoe} % optional, remove / comment the line if not wanted
103 \social[xbox]{jdoe} % optional, remove / comment the line if not wanted
104 \social[playstation]{jdoe} % optional, remove / comment the line if not wanted
105 \social[battlenet]{jdoe\#0000} % optional, remove / comment the line if not wanted
106 \social[arxiv]{doe\_j\_1} % optional, remove / comment the line if not wanted
107 \social[inspire]{0000000} % optional, remove / comment the line if not wanted
108 \social[simplex]{0000000} % optional, remove / comment the line if not wanted
109 \social[threema]{0000000} % optional, remove / comment the line if not wanted
110
111
112 \extrainfo{additional information} % optional, remove / comment the line if not wanted
113 \photo[64pt][2pt]{picture} % optional, remove / comment the line if not wanted; '64pt' is the height the picture must be resized to, 2pt is the thickness of the frame around it (put it to 0pt for no frame) and 'picture' is the name of the picture file
114 \quote{Some quote} % optional, remove / comment the line if not wanted
115
116 % bibliography adjustments (only useful if you make citations in your resume, or print a list of publications using BibTeX)
117 % to show numerical labels in the bibliography (default is to show no labels)
118 %\makeatletter\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}\makeatother
119 \renewcommand*{\bibliographyitemlabel}{[\arabic{enumiv}]}
120 % to redefine the bibliography heading string ("Publications")
121 %\renewcommand{\refname}{Articles}
122
123 % bibliography with multiple entries
124 %\usepackage{multibib}
125 %\newcites{book,misc}{{Books},{Others}}
126 %----------------------------------------------------------------------------------
127 % content
128 %----------------------------------------------------------------------------------
129 \begin{document}
130 %\begin{CJK*}{UTF8}{gbsn} % to typeset your resume in Chinese using CJK
131 %----- resume ---------------------------------------------------------
132 \makecvtitle
133
134 \section{Education} % for 'contemporary' style use optional argument for displaying an icon, e.g. \section[\faGraduationCap]{Education}
135 \cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description} % arguments 3 to 6 can be left empty
136 \cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
137
138 \section{Master thesis}
139 \cvitem{title}{\emph{Title}}
140 \cvitem{supervisors}{Supervisors}
141 \cvitem{description}{Short thesis abstract}
142
143 \section{Experience}
144 \subsection{Vocational}
145 \cventry{year--year}{Job title}{Employer}{City}{}{General description no longer than 1--2 lines.\newline{}
146 Detailed achievements:
147 \begin{itemize}
148 \item Achievement 1
149 \item Achievement 2 (with sub-achievements)
150 \begin{itemize}
151 \item Sub-achievement (a);
152 \item Sub-achievement (b), with sub-sub-achievements (don't do this!);
153 \begin{itemize}
154 \item Sub-sub-achievement i;
155 \item Sub-sub-achievement ii;
156 \item Sub-sub-achievement iii;
157 \end{itemize}
158 \item Sub-achievement (c);
159 \end{itemize}
160 \item Achievement 3
161 \item Achievement 4
162 \end{itemize}}
163 \cventry{year--year}{Job title}{Employer}{City}{}{Description line 1\newline{}Description line 2\newline{}Description line 3}
164 \subsection{Miscellaneous}
165 \cventry{year--year}{Job title}{Employer}{City}{}{Description}
166
167 \section{Languages}
168 \cvitemwithcomment{Language 1}{Skill level}{Comment}
169 \cvitemwithcomment{Language 2}{Skill level}{Comment}
170 \cvitemwithcomment{Language 3}{Skill level}{Comment}
171 \cvitemwithcomment{Language 4}{Skill level}{Comment}
172
173 \section{Computer skills}
174 \cvdoubleitem{category 1}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ}
175 \cvdoubleitem{category 2}{XXX, YYY, ZZZ}{category 5}{XXX, YYY, ZZZ}
176 \cvdoubleitem{category 3}{XXX, YYY, ZZZ}{category 6}{XXX, YYY, ZZZ}
177 \cvtripleitem{category 4}{XYZ}{category 5}{XYZ}{category 6}{XYZ}
178
179 \section{Skill matrix}
180 \cvitem{Skill matrix}{Alternatively, provide a skill matrix to show off your skills}
181 %% Skill matrix as an alternative to rate one's skills, computer or other.
182
183 %% Adjusts width of skill matrix columns.
184 %% Usage \setcvskillcolumns[<width>][<factor>][<exp_width>]
185 %% <width>, <exp_width> should be lengths smaller than \textwidth, <factor> needs to be between 0 and 1.
186 %% Examples:
187 % \setcvskillcolumns[5em][][]% adjust first column. Same as \setcvskillcolumns[5em]
188 % \setcvskillcolumns[][0.45][]% adjust third (skill) column. Same as \setcvskillcolumns[][0.45]
189 % \setcvskillcolumns[][][\widthof{``Year''}]% adjust fourth (years) column.
190 % \setcvskillcolumns[][0.45][\widthof{``Year''}]%
191 % \setcvskillcolumns[\widthof{``Languag''}][0.48][]
192 % \setcvskillcolumns[\widthof{``Languag''}]%
193
194 %% Adjusts width of legend columns. Usage \setcvskilllegendcolumns[<width>][<factor>]
195 %% <factor> needs to be between 0 and 1. <width> should be a length smaller than \textwidth
196 %% Examples:
197 % \setcvskilllegendcolumns[][0.45]
198 % \setcvskilllegendcolumns[\widthof{``Legend''}][0.45]
199 % \setcvskilllegendcolumns[0ex][0.46]% this is useful for the banking style
200
201 %% Add a legend if you are using \cvskill{<1-5>} command or \cvskillentry
202 %% Usage \cvskilllegend[*][<post_padding>][<first_level>][<second_level>][<third_level>][<fourth_level>][<fifth_level>]{<name>}
203 % \cvskilllegend % insert default legend without lines
204 \cvskilllegend*[1em]{}% adjust post spacing
205 % \cvskilllegend*{Legend}% Alternatively add a description string
206 %% adjust the legend entries for other languages, here German
207 % \cvskilllegend[0.2em][Grundkenntnisse][Grundkenntnisse und eigene Erfahrung in Projekten][Umfangreiche Erfahrung in Projekten][Vertiefte Expertenkenntnisse][Experte\,/\,Spezialist]{Legende}
208
209 %% Alternative legend style with the first three skill levels in one column
210 %% Usage \cvskillplainlegend[*][<post_padding>][<first_level>][<second_level>][<third_level>][<fourth_level>][<fifth_level>]{<name>}
211 % \setcvskilllegendcolumns[][0.6]% works for classic, casual, banking
212 % \setcvskilllegendcolumns[][0.55]% works better for oldstyle and fancy
213 % \cvskillplainlegend{}
214 % \cvskillplainlegend[0.2em][Grundkenntnisse][Grundkenntnisse und eigene Erfahrung in Projekten][Umfangreiche Erfahrung in Projekten][Vertiefte Expertenkenntnisse][Experte/Guru]{Legende}
215
216 %% Add a head of the skill matrix table with descriptions.
217 %% Usage \cvskillhead[<post_padding>][<Level>][<Skill>][<Years>][<Comment>]%
218 \cvskillhead[-0.1em]% this inserts the standard legend in english and adjust padding
219 %% Adjust head of the skill matrix for other languages
220 % \cvskillhead[0.25em][Level][F\"ahigkeit][Jahre][Bemerkung]
221
222 %% \cvskillentry[*][<post_padding>]{<skill_cathegory>}{<0-5>}{<skill_name>}{<years_of_experience>}{<comment>}%
223 %% Example usages:
224 \cvskillentry*{Language:}{3}{Python}{2}{I'm so experienced in Python and have realised a million projects. At least.}
225 \cvskillentry{}{2}{Lilypond}{14}{So much sheet music! Man, I'm the best!}
226 \cvskillentry{}{3}{\LaTeX}{14}{Clearly I rock at \LaTeX}
227 \cvskillentry*{OS:}{3}{Linux}{2}{I only use Archlinux btw}% notice the use of the starred command and the optional
228 \cvskillentry*[1em]{Methods}{4}{SCRUM}{8}{SCRUM master for 5 years}
229 %% \cvskill{<0-5>} command
230 % \cvitem{\textbackslash{cvskill}:}{Skills can be visually expressed by the \textbackslash{cvskill} command, e.g. \cvskill{2}}
231
232 \section{Interests}
233 \cvitem{hobby 1}{Description}
234 \cvitem{hobby 2}{Description}
235 \cvitem{hobby 3}{Description}
236
237 \section{Extra 1}
238 \cvlistitem{Item 1}
239 \cvlistitem{Item 2}
240 \cvlistitem{Item 3. This item is particularly long and therefore normally spans over several lines. Did you notice the indentation when the line wraps?}
241
242 \section{Extra 2}
243 \cvlistdoubleitem{Item 1}{Item 4}
244 \cvlistdoubleitem{Item 2}{Item 5\cite{book2}}
245 \cvlistdoubleitem{Item 3}{Item 6. Like item 3 in the single column list before, this item is particularly long to wrap over several lines.}
246
247 \section{References}
248 \begin{cvcolumns}
249 \cvcolumn{Category 1}{\begin{itemize}\item Person 1\item Person 2\item Person 3\end{itemize}}
250 \cvcolumn{Category 2}{Amongst others:\begin{itemize}\item Person 1, and\item Person 2\end{itemize}(more upon request)}
251 \cvcolumn[0.5]{All the rest \& some more}{\textit{That} person, and \textbf{those} also (all available upon request).}
252 \end{cvcolumns}
253
254 % Publications from a BibTeX file without multibib
255 % for numerical labels: \renewcommand{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}% CONSIDER MERGING WITH PREAMBLE PART
256 % to redefine the heading string ("Publications"): \renewcommand{\refname}{Articles}
257 \nocite{*}
258 \bibliographystyle{plain}
259 \bibliography{publications} % 'publications' is the name of a BibTeX file
260
261 % Publications from a BibTeX file using the multibib package
262 %\section{Publications}
263 %\nocitebook{book1,book2}
264 %\bibliographystylebook{plain}
265 %\bibliographybook{publications} % 'publications' is the name of a BibTeX file
266 %\nocitemisc{misc1,misc2,misc3}
267 %\bibliographystylemisc{plain}
268 %\bibliographymisc{publications} % 'publications' is the name of a BibTeX file
269
270 \clearpage
271 %----- letter ---------------------------------------------------------
272 % recipient data
273 \recipient{Company Recruitment team}{Company, Inc.\\123 somestreet\\some city}
274 \date{January 01, 1984}
275 \subject{Job application}
276 \opening{Dear Sir or Madam,}
277 \closing{Yours faithfully,}
278 \signature{0.9}{signature.png} % optional, remove / comment the line if not wanted: first argument goes to \includegraphics > scale
279 \enclosure[Attached]{curriculum vit\ae{}} % use an optional argument to use a string other than "Enclosure", or redefine \enclname
280 \makelettertitle
281
282 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.
283
284 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 various 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 various blandit.
285
286 Duis sit amet magna ante, at sodales diam. Aenean consectetur porta risus et sagittis. Ut interdum, enim various 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.
287
288 Albert Einstein discovered that $e=mc^2$ in 1905.
289
290 \[ e=\lim_{n \to \infty} \left(1+\frac{1}{n}\right)^n \]
291
292 \makeletterclosing
293
294 %\clearpage\end{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
295 \end{document}
296
297
298 %% end of file `template.tex'.