martin21
16-11-2010, 13:36
Ich versuche eine Lebenslauf mit moderncv (classic) zu erstellen. Leider kann ich die Breite der Adresse nicht anpassen. Was mache ich falsch?
Vielen Dank!
Anbei ein Minimalbeispiel:
\documentclass[11pt,a4paper]{moderncv}
\moderncvtheme[blue]{classic}
%% funktiniert nicht!!! %%%%%%%%%%%%%%%%%%
\AtBeginDocument{\setlength{\maketitlenamewidth}{6 cm}}
\AtBeginDocument{\recomputelengths}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% character encoding
%\usepackage[utf8]{inputenc} % replace by the encoding you are using
\usepackage[ngerman, english]{babel} %neue deutsche Rechtschreibung
% adjust the page margins
\usepackage[scale=0.8]{geometry}
\setlength{\hintscolumnwidth}{2.15cm} % if you want to change the width of the column with the dates
% personal data
\firstname{\Huge{Max}}
\familyname{\Huge{Mussermann}}
\title{Lebenslauf} % optional, remove the line if not wanted
\address{Burggasse 41/16}{1020 Wien} % optional, remove the line if not wanted
\phone{+43 664 1542} % optional, remove the line if not wanted
\email{max.mustermann@hallo.ac.at} % optional, remove the line if not wanted
\photo[5cm]{photo.eps} % '64pt' is the height the picture must be resized to
\makeatletter
\renewcommand*{\bibliographyitemlabel}{\@biblabel{ \arabic{enumiv}}}
\makeatother
%--------------------------------------------------------------------
\begin{document}
\renewcommand*{\addressfont}{\normalsize}
\selectlanguage{ngerman}
\vspace*{-1.1cm}
\maketitle
\vspace{-0.8cm}
\section{Angaben zur Person}
\cvline{geboren}{\textbf{4. Jänner 1983}, Dorf xy}
\cvline{Nationalität}{\textbf{irgendwo}}
\end{document}
Vielen Dank!
Anbei ein Minimalbeispiel:
\documentclass[11pt,a4paper]{moderncv}
\moderncvtheme[blue]{classic}
%% funktiniert nicht!!! %%%%%%%%%%%%%%%%%%
\AtBeginDocument{\setlength{\maketitlenamewidth}{6 cm}}
\AtBeginDocument{\recomputelengths}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% character encoding
%\usepackage[utf8]{inputenc} % replace by the encoding you are using
\usepackage[ngerman, english]{babel} %neue deutsche Rechtschreibung
% adjust the page margins
\usepackage[scale=0.8]{geometry}
\setlength{\hintscolumnwidth}{2.15cm} % if you want to change the width of the column with the dates
% personal data
\firstname{\Huge{Max}}
\familyname{\Huge{Mussermann}}
\title{Lebenslauf} % optional, remove the line if not wanted
\address{Burggasse 41/16}{1020 Wien} % optional, remove the line if not wanted
\phone{+43 664 1542} % optional, remove the line if not wanted
\email{max.mustermann@hallo.ac.at} % optional, remove the line if not wanted
\photo[5cm]{photo.eps} % '64pt' is the height the picture must be resized to
\makeatletter
\renewcommand*{\bibliographyitemlabel}{\@biblabel{ \arabic{enumiv}}}
\makeatother
%--------------------------------------------------------------------
\begin{document}
\renewcommand*{\addressfont}{\normalsize}
\selectlanguage{ngerman}
\vspace*{-1.1cm}
\maketitle
\vspace{-0.8cm}
\section{Angaben zur Person}
\cvline{geboren}{\textbf{4. Jänner 1983}, Dorf xy}
\cvline{Nationalität}{\textbf{irgendwo}}
\end{document}