PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : moderncv: Header und Foto modifizieren



basshoshi
08-09-2010, 13:36
moin,

ich verfasse gerade mit moderncv (classic) einen Lebenslauf und habe ein kleines Problem:

Ich möchte das Foto oben rechts in 96pt statt in 64pt einfügen. Das klappt soweit auch, allerdings verschieben sich die übrigen Headerinformationen (sind also "bottom" und nicht "top" ausgerichtet). Krieg ich das irgendwie unkompliziert behoben, d.h. das sowohl Name, als auch Kontaktdaten und das Foto "oben" ausgerichtet sind?

Ich habe schon in verschiedensten Foren gesucht, dazu aber nur wenig gefunden... vielleicht könnt ihr mir ja helfen... :o

Vielen Dank schon mal!!!

Gruß
Miriam

Xenara
08-09-2010, 14:01
Bist du sicher, dass du das wirklich willst?
Ich denke, das ist durchaus Absicht, dass alles unten zueinander ausgerichtet ist, denn sonst würde ja der Name ganz oben hängen und hätte keinen Bezug mehr zum Text.

(das hier ist der Einfachheit halber ein Auszug aus den Beispieldateien zu moderncv)


%% start of file `template_en.tex'.
%% Copyright 2006-1008 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.


\documentclass[11pt,a4paper]{moderncv}

% moderncv themes
%\moderncvtheme[blue]{casual} % optional argument are 'blue' (default), 'orange', 'red', 'green', 'grey' and 'roman' (for roman fonts, instead of sans serif fonts)
\moderncvtheme[green]{classic} % idem

% character encoding
\usepackage[utf8]{inputenc} % replace by the encoding you are using

% adjust the page margins
\usepackage[scale=0.8]{geometry}
%\setlength{\hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates
%\AtBeginDocument{\setlength{\maketitlenamewidth}{ 6cm}} % only for the classic theme, if you want to change the width of your name placeholder (to leave more space for your address details
\AtBeginDocument{\recomputelengths} % required when changes are made to page layout lengths

% personal data
\firstname{John}
\familyname{Doe}
%\title{Resumé title (optional)} % optional, remove the line if not wanted
\address{street and number}{postcode city} % optional, remove the line if not wanted
\mobile{mobile (optional)} % optional, remove the line if not wanted
\phone{phone (optional)} % optional, remove the line if not wanted
\fax{fax (optional)} % optional, remove the line if not wanted
\email{email (optional)} % optional, remove the line if not wanted
\extrainfo{additional information (optional)} % optional, remove the line if not wanted
\photo[96pt]{picture} % '64pt' is the height the picture must be resized to and 'picture' is the name of the picture file; optional, remove the line if not wanted
\quote{Some quote (optional)} % optional, remove the line if not wanted

%\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page


%----------------------------------------------------------------------------------
% content
%----------------------------------------------------------------------------------
\begin{document}
\maketitle

\section{Education}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{D escription} % arguments 3 to 6 are optional
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{D escription} % arguments 3 to 6 are optional

\end{document}