I would like to change like the moderncv
casual
theme:
- There is too much space below the picture, or above "Persönliches"... The picture should be directly on the right of the first block.
- I would like to have "Lebenslauf" on the left or in the middle of the line... but not on the right...
I tried a bit to change the header but it was not completly successful. And I also think there is lot in my header, which is not really needed.
Can someone give me a hint?
Thank you
\documentclass[a4paper,11pt]{moderncv}
\usepackage[scale=0.75,tmargin=2.0cm,right=2.8cm,left=2.5cm,bmargin=2.7cm]{geometry}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{paralist}
\usepackage{lmodern}
\moderncvtheme[red]{casual}
\nopagenumbers{}
\usepackage[scale=0.75]{geometry}
\renewcommand*{\titlefont}{\LARGE\mdseries\upshape}
\makeatletter
\renewcommand*{\makecvtitle}{
\recomputecvlengths
\makecvfooter%
\newbox{\makecvtitlepicturebox}
\savebox{\makecvtitlepicturebox}{
\ifthenelse{\isundefined{\@photo}}
{}
{%
\setlength\fboxrule{\@photoframewidth}%
\ifdim\@photoframewidth=0pt%
\setlength{\fboxsep}{0pt}\fi%
{\color{color1}\framebox{\includegraphics[width=\@photowidth]{\@photo}}}}}
\hfill%\usebox{\makecvtitlepicturebox}%
\@initializelength{\makecvtitlepicturewidth}
\settowidth{\makecvtitlepicturewidth}{\usebox{\makecvtitlepicturebox}}%
\parbox[b]{\textwidth-\makecvtitlepicturewidth}{
\raggedleft\namefont{\color{color2!50}\textsf{\@firstname}} {
\color{color2}\textsf{\@familyname}}}\\ [-.35em]
{\color{color2!50}\rule{\textwidth}{.25ex}}%
\ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\null\titlestyle{\@title}}
\hfill\smash{\raisebox{\dimexpr-\ht\makecvtitlepicturebox+\baselineskip \relax}{
\usebox{\makecvtitlepicturebox}}}\\[0.5em]
\ifthenelse{\isundefined{\@quote}}%
{}
{{\null\hfill\begin{minipage} {\quotewidth}\centering \quotestyle{\@quote}\end{minipage}\hfill\null\\[2.5em]}}
\par}%
\makeatother
\setlength{\hintscolumnwidth}{3.5cm}
\name{}{Lebenslauf}
\photo[110pt][0.0pt]{picture.jpg}
\title{~}
\begin{document}
\maketitle
\section{Persönliches}
\cvitem{Name}{-------------}
\cvitem{Adresse}{--------------------------}
\cvitem{Handy}{0176 / 0000 0000}
\cvitem{E-Mail}{[email protected]}
\cvitem{Geburtsdatum}{40. Dezember 1900}
\cvitem{Geburtsort}{Berlin}
\cvitem{Nationalität}{Deutsch}
\section{Promotion}
\end{document}