Debian Codegraph @

texmf-dist/doc/latex/koma-moderncvclassic/cvbasic.tex

raw
1 %% start of file `cvbasic.tex'; shows exemplarily the use of koma-moderncvclassic
2 %% (c) Copyright 2010--2012 Salome Södergran ([email protected])
3 %%
4 \ProvidesFile{cvbasic_v05.tex}[v0.5 2012/01/04]
5 %%
6 \RequirePackage{filecontents}
7 \begin{filecontents}{cvbasic.bib}
8 @ARTICLE{2006,
9 title = {journalarticle},
10 journal = {journal},
11 year = {2006},
12 volume = {6},
13 pages = {19--75}
14 }
15 @BOOK{2000,
16 title = {Some Book},
17 address = {Around the Corner},
18 year = {2000}
19 }
20 \end{filecontents}
21 % ===========================
22 \documentclass[%
23 fontsize=11pt,%
24 a4paper,%
25 pagesize,%
26 headinclude,footinclude,%
27 headings=normal,%
28 ]{scrartcl}
29 %\usepackage[left=2cm,right=2cm,top=3cm,bottom=5cm]{geometry} % page layout
30 \usepackage{scrpage2}
31 \usepackage[utf8]{inputenc}
32 \usepackage[T1]{fontenc}
33 \usepackage[ngerman]{babel}
34 \usepackage[german=quotes]{csquotes}
35
36 \tolerance=200 % white space
37 \clubpenalty = 1000 % orphans
38 \widowpenalty = 1000 % widows
39
40 % ===========================
41 % VARIABLES
42 % ===========================
43 % must be defined, BEFORE koma-moderncvclassic is loaded!
44
45 % address; not needed variables should be commented out
46 \renewcommand*{\title}{Lebenslauf}% für PDF
47 \newcommand*{\firstname}{Minna}
48 \newcommand*{\familyname}{von Barnhelm}
49 \newcommand*{\acadtitle}{Dr.~h.\,c.~mult.}
50 \newcommand*{\addressstreet}{Way of no return 77}
51 \newcommand*{\addresscity}{9999 Hinterdemmond}
52 \newcommand*{\address}[2]{\addressstreet{#1}\addresscity{#2}}
53 %\newcommand*{\mobile}{}
54 \newcommand*{\phone}{001 23456789}
55 %\newcommand*{\faxnr}{}
56 \newcommand*{\email}{[email protected]}
57 %\newcommand*{\extrainfo}{}
58 %\renewcommand*{\quote}{}
59
60 % ===========================
61 % LENGTHS
62 % ===========================
63 % must be defined, BEFORE koma-moderncvclassic is loaded!
64
65 % left column width (default value: 2,79cm)
66 % uncomment the \newlength-command, and uncomment and adjust one of the \set...-commands to change the default value
67 % \newlength\myhintscolumnwidth
68 % \settowidth\myhintscolumnwidth{Left column takes this text's width}
69 % \setlength\myhintscolumnwidth{.3\textwidth}
70 % \setlength\myhintscolumnwidth{5cm}
71
72
73 % ===========================
74 % KOMA-MODERNCVCLASSIC
75 % ===========================
76
77 \usepackage[myblue]{koma-moderncvclassic} % color theme as option; default = myblue; other predefined colors that may be used: red, green, blue, cyan, magenta, yellow, black, white, darkgray, gray, lightgray
78
79 % picture
80 %\photo[noframe]{3cm}{picture.jpg}
81 % 'frame' gives a frame around the picture (=default), 'noframe' does not;
82 % '3cm' is the width the picture must be resized to;
83 % 'picture.jpg' is the name of the picture file
84
85
86 % ===========================
87 % ADAPTIONS
88 % ===========================
89 %\renewcommand*{\familydefault}{\sfdefault}% default font sans-serif
90 %\renewcommand*{\addressfont}{\normalsize\sffamily\mdseries\slshape}% sans-serif font for address, too
91 %\renewcommand{\firstnamefont}{\fontsize{24}{26}\sffamily\mdseries\upshape} % name in smaller font
92 \newcommand*{\totalpagemark}{\usekomafont{pagenumber}\thepage/\pageref{lastpage}}% for page and pagetotal
93
94 % ===========================
95 % HEAD- AND FOOTLINES
96 % ===========================
97 \pagestyle{scrheadings}
98 \clearscrheadfoot
99 \ifoot{CV~\firstname~\familyname}
100 \ofoot{\totalpagemark}
101 %\ihead{}
102 %\ohead{}
103
104 % ===========================
105 % BIBLIOGRAPHY
106 % ===========================
107
108 \usepackage[backend=biber,% or bibtex8
109 style=authortitle,%
110 sorting=ydnt,% sorted by year, descending
111 ]{biblatex}
112 \bibliography{cvbasic.bib}
113 \defbibheading{bibliography}[Publications]{\section{#1}}
114
115 % ==================================================================
116 % DOCUMENT
117 % ==================================================================
118
119 \begin{document}
120
121 \maketitle
122
123 \section{Personal Information}
124 \cvline{margintext}{linetext}
125 \cvline{margintext}{linetext}
126 \cvline{margintext}{linetext}
127
128 \section{Education}
129 \subsection{Schools}
130 \cventry{years}{degree/jobtitle}{institution/employer}{localization}{optional: grade/...}{optional: comment/job description}
131 \cventry{years}{degree/jobtitle}{institution/employer}{localization}{optional: grade/...}{optional: comment/job description}
132 \subsection{University}
133 \cventry{years}{degree/jobtitle}{institution/employer}{localization}{optional: grade/...}{optional: comment/job description}
134 \cventry{years}{degree/jobtitle}{institution/employer}{localization}{optional: grade/...}{optional: comment/job description}
135 \subsection{Job Training}
136 \cventry{years}{degree/jobtitle}{institution/employer}{localization}{optional: grade/...}{optional: comment/job description}
137 \cventry{years}{degree/jobtitle}{institution/employer}{localization}{optional: grade/...}{optional: comment/job description}
138
139 \section{Languages}
140 \cvlanguage{name}{level}{comment}
141 \cvlanguage{name}{level}{comment}
142 \cvlanguage{name}{level}{comment}
143
144 \section{Computer Knowledges}
145 \cvcomputer{category}{programs}{category}{programs}
146 \cvcomputer{category}{programs}{category}{programs}
147
148 \newpage
149
150 \nocite{*}
151 \printbibliography
152
153 \label{lastpage}% needed for computing pagetotal
154 \end{document}