summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/koma-moderncvclassic/cvbasic.tex
blob: 8137c62b46be55277ab0cdd30e7b9b7315c3e5d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
%% start of file `cvbasic.tex'; shows exemplarily the use of koma-moderncvclassic
%% (c) Copyright 2010--2012 Salome Södergran (salome.soedergran@gmx.ch)
%% 
\ProvidesFile{cvbasic_v05.tex}[v0.5 2012/01/04]
%%
\RequirePackage{filecontents}
\begin{filecontents}{cvbasic.bib}
@ARTICLE{2006,
  title = {journalarticle},
  journal = {journal},
  year = {2006},
  volume = {6},
  pages = {19--75}
}
@BOOK{2000,
  title = {Some Book},
  address = {Around the Corner},
  year = {2000}
}
\end{filecontents} 
% ===========================
\documentclass[%
fontsize=11pt,%
a4paper,%
pagesize,%
headinclude,footinclude,%
headings=normal,%
]{scrartcl}
%\usepackage[left=2cm,right=2cm,top=3cm,bottom=5cm]{geometry} % page layout
\usepackage{scrpage2}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[german=quotes]{csquotes} 

\tolerance=200 % white space
\clubpenalty = 1000 % orphans
\widowpenalty = 1000 % widows

% ===========================
%    VARIABLES
% ===========================
%    must be defined, BEFORE koma-moderncvclassic is loaded!

% address; not needed variables should be commented out
\renewcommand*{\title}{Lebenslauf}% für PDF
\newcommand*{\firstname}{Minna}
\newcommand*{\familyname}{von Barnhelm}
\newcommand*{\acadtitle}{Dr.~h.\,c.~mult.}
\newcommand*{\addressstreet}{Way of no return 77}
\newcommand*{\addresscity}{9999 Hinterdemmond}
\newcommand*{\address}[2]{\addressstreet{#1}\addresscity{#2}}
%\newcommand*{\mobile}{}
\newcommand*{\phone}{001 23456789}
%\newcommand*{\faxnr}{}
\newcommand*{\email}{minna@barnhelm.edu}
%\newcommand*{\extrainfo}{}
%\renewcommand*{\quote}{}

% ===========================
%    LENGTHS
% ===========================
%    must be defined, BEFORE koma-moderncvclassic is loaded!

% left column width (default value: 2,79cm)
% uncomment the \newlength-command, and uncomment and adjust one of the \set...-commands to change the default value
% \newlength\myhintscolumnwidth
% \settowidth\myhintscolumnwidth{Left column takes this text's width}
% \setlength\myhintscolumnwidth{.3\textwidth}
% \setlength\myhintscolumnwidth{5cm}


% ===========================
%    KOMA-MODERNCVCLASSIC
% ===========================

\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

% picture
%\photo[noframe]{3cm}{picture.jpg}
% 'frame' gives a frame around the picture (=default), 'noframe' does not;
% '3cm' is the width the picture must be resized to;
% 'picture.jpg' is the name of the picture file


% ===========================
%    ADAPTIONS
% ===========================
%\renewcommand*{\familydefault}{\sfdefault}% default font sans-serif
%\renewcommand*{\addressfont}{\normalsize\sffamily\mdseries\slshape}% sans-serif font for address, too
%\renewcommand{\firstnamefont}{\fontsize{24}{26}\sffamily\mdseries\upshape} % name in smaller font
\newcommand*{\totalpagemark}{\usekomafont{pagenumber}\thepage/\pageref{lastpage}}% for page and pagetotal
 
% ===========================
%    HEAD- AND FOOTLINES
% ===========================
\pagestyle{scrheadings}
\clearscrheadfoot
\ifoot{CV~\firstname~\familyname}
\ofoot{\totalpagemark}
%\ihead{}
%\ohead{}

% ===========================
%    BIBLIOGRAPHY
% ===========================

\usepackage[backend=biber,% or bibtex8
style=authortitle,% 
sorting=ydnt,% sorted by year, descending
]{biblatex}
\bibliography{cvbasic.bib}
\defbibheading{bibliography}[Publications]{\section{#1}}

% ==================================================================
%       DOCUMENT
% ==================================================================

\begin{document}

\maketitle

\section{Personal Information}
\cvline{margintext}{linetext}
\cvline{margintext}{linetext}
\cvline{margintext}{linetext}

\section{Education}
\subsection{Schools}
\cventry{years}{degree/jobtitle}{institution/employer}{localization}{optional: grade/...}{optional: comment/job description}
\cventry{years}{degree/jobtitle}{institution/employer}{localization}{optional: grade/...}{optional: comment/job description}
\subsection{University}
\cventry{years}{degree/jobtitle}{institution/employer}{localization}{optional: grade/...}{optional: comment/job description}
\cventry{years}{degree/jobtitle}{institution/employer}{localization}{optional: grade/...}{optional: comment/job description}
\subsection{Job Training}
\cventry{years}{degree/jobtitle}{institution/employer}{localization}{optional: grade/...}{optional: comment/job description}
\cventry{years}{degree/jobtitle}{institution/employer}{localization}{optional: grade/...}{optional: comment/job description}

\section{Languages}
\cvlanguage{name}{level}{comment}
\cvlanguage{name}{level}{comment}
\cvlanguage{name}{level}{comment}

\section{Computer Knowledges}
\cvcomputer{category}{programs}{category}{programs}
\cvcomputer{category}{programs}{category}{programs}

\newpage

\nocite{*}
\printbibliography

\label{lastpage}% needed for computing pagetotal
\end{document}