diff 2__Other/cv/cv-commands.tex @ 7:1d37e9d849e8

jsps
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Mon, 15 Apr 2013 12:38:12 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/2__Other/cv/cv-commands.tex	Mon Apr 15 12:38:12 2013 +0200
     1.3 @@ -0,0 +1,71 @@
     1.4 +% Set of commands used by cv.tex
     1.5 +
     1.6 +\usepackage[dvipsnames,usenames]{color}
     1.7 +\usepackage{simplemargins}
     1.8 +\usepackage{graphicx}
     1.9 +\setleftmargin{2.0cm}
    1.10 +\setrightmargin{2.0cm}
    1.11 +\settopmargin{2.5cm}
    1.12 +\setbottommargin{0cm}
    1.13 +%\renewcommand\familydefault{\sfdefault}
    1.14 +
    1.15 +
    1.16 +% starting commands
    1.17 +\newfont{\myfonta}{cmr10 at 9pt}
    1.18 +\newfont{\myfontb}{cmr10 at 10pt}
    1.19 +\newfont{\myfontc}{cmr10 at 15pt}
    1.20 +\newfont{\myfontd}{cmr10 at 12pt}
    1.21 +
    1.22 +\newcommand{\largeskip}[0]{\vspace{2.5mm}\\}
    1.23 +\newcommand{\shortskip}[0]{\vspace{0.4mm}\\}
    1.24 +
    1.25 +% small caps
    1.26 +\newcommand{\smcp}[1]{\sc{\myfonta{#1}}}
    1.27 +\renewcommand{\textsc}[1]{\smcp{#1}}
    1.28 +
    1.29 +\newcommand{\header}[3]{
    1.30 +\hspace{0cm}
    1.31 +\begin{tabular}{p{8cm}p{9cm}}
    1.32 +{\raggedright {\headline {#1}}
    1.33 +\\\vspace*{2mm}
    1.34 +\headline{#2}} 
    1.35 +& 
    1.36 +\raggedleft{#3}
    1.37 +\end{tabular}}
    1.38 +
    1.39 +
    1.40 +\newcommand{\blocktitle}[1]{
    1.41 +\parbox{\textwidth}{
    1.42 +	\vspace{2mm}
    1.43 +	\noindent
    1.44 +	\textcolor{MidnightBlue}{
    1.45 +{\myfontd {#1}
    1.46 +	\vspace*{1mm}
    1.47 +	\hrule}
    1.48 +	\vspace*{3mm}
    1.49 +	\noindent
    1.50 +} } }
    1.51 +
    1.52 +\newcommand{\headline}[1]{{\myfontc{#1}}}
    1.53 +\newcommand{\setmainfont}[0]{\myfontb}
    1.54 +
    1.55 +%%%%%%
    1.56 +
    1.57 +\newenvironment{resumeblock}[1]{\blocktitle{#1}\begin{tabular}{p{4cm}p{13cm}}}{\end{tabular}}
    1.58 +\newcommand{\resumeitem}[2]{\noindent\raggedright{\textsc{#1}} & #2}
    1.59 +
    1.60 +%%%%%%
    1.61 +
    1.62 +\newcommand{\interest}[2]{
    1.63 +\includegraphics[height=12pt]{#1}
    1.64 +~\raisebox{1mm}{#2}}
    1.65 +
    1.66 +%%%%%%
    1.67 +
    1.68 +\newenvironment{interestsblock}[1]
    1.69 +{\blocktitle{#1}\begin{tabular}{p{10cm}p{10cm}}}
    1.70 +{\end{tabular}}
    1.71 +
    1.72 +\setlength{\parindent}{0mm}
    1.73 +\pagestyle{empty}
    1.74 +