Archiv verlassen und diese Seite im Standarddesign anzeigen : Lebenslauf mit moderncv- Photo auf der falschen Seite
Hallo zusammen,
also ich habe folgendes Problem, das ich mit moderncv meinen Lebenslauf fertig gestellt habe, jedoch stört mich massiv das dass Photo auf der linken, statt wie üblich auf der rechten Seite ist. Ich möchte also meinen Namen und das Photo spiegeln.
Nach etwas suchen bin ich auf folgenden Beitrag gestossen http://mrunix.de/forums/showthread.php?t=67022 der mir jedoch nicht weiterhilft, da ich ja nur spiegeln will und ich es nicht hinbekomme die moderncvthemecasual.sty entsprechend anzupassen.
Wäre echt super wenn jemand einen Tipp für mich hätte;)
mfg
Da ich kein Minimalbeispiel zum testen habe, vermute ich mal ins Blaue:
Vielleicht hilft Dir das weiter:
\usepackage[absolute]{textpos}
\setlength{\TPHorizModule}{1mm}
\setlength{\TPVertModule}{\TPHorizModule}
\textblockorigin{0mm}{0mm}
%...und später dann:
\begin{textblock}{50}(140,60) % hier bestimmst Du Größe und Position des Fotos
\framebox{\includegraphics{Foto}}
\end{textblock}
3Darky
Danke für deine schnelle Antwort, aber das ist nicht das was ich meine.
Hier erstmal der Lebenslauf:
%% start of file `template_en.tex'.
%% Copyright 2007 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}
\usepackage[ngerman]{babel}
% moderncv themes
\moderncvtheme[green]{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[latin1]{inputenc} % replace by the encoding you are using
\usepackage[T1]{fontenc} %Trennung nach Umlauten
% adjust the page margins
\usepackage[scale=0.8]{geometry}
\recomputelengths % required when changes are made to page layout lengths
% her wird die Schriftart zwangsweise auf helvet geändert
\usepackage[scaled=0.92]{helvet}
\renewcommand{\familydefault}{\sfdefault}
\renewcommand{\rmdefault}{\sfdefault}
% adjust the column width
\sethintscolumnlength{3cm} % date column
% personal data
\firstname{Max}
\familyname{Mustermann}
%\title{Resum?© title (optional)} % optional, remove the line if not wanted - don't know what this is doing
\address{Musterstr. 24}{XXXX Musterstadt} % optional, remove the line if not wanted
%\mobile{mobile (optional)} % optional, remove the line if not wanted
\phone{XXXX XXX XXX XXX} % optional, remove the line if not wanted
%\fax{fax (optional)} % optional, remove the line if not wanted
\email{max@mustermann.com} % optional, remove the line if not wanted
%\extrainfo{extrainfo} % optional, remove the line if not wanted
\photo[64pt]{Bilder/burns} % '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{Where the hell are you going? (optional)} % optional, remove the line if not wanted
%\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page
%----------------------------------------------------------------------------------
% content
%----------------------------------------------------------------------------------
\begin{document}
\renewcommand{\refname}{Publikationen} % umbenennen der literatur
\maketitle
% personal section (optinal)
\section{Persönliche Daten}
\cvline{Name}{Max Mustermann}
\cvline{Geburtsdatum}{XX.XX.1983}
\cvline{Geburtsort}{Musterstadt}
% education
\section{Ausbildung}
%\cventry{Jahr--Jahr}{Abschluss}{Institution}{Stadt}{\textit{mehr} }{Beschreibung}
\cventry{10/2005 -- 07/2010}{Studium der Betriebswirtschaftslehre}{Hochschule Musterstadt}{Musterstadt}{\newline \textbf{Vertiefungsrichtungen:}\newline Fach A und Fach B, Fach C und Fach D\newline \textbf{Thema der Bachelor-Thesis:}\newline "`Thema der Abschlussarbeit"',\newline Note X,X\newline \textbf{Ablschuss:}\newline Bachelor of Arts (B.A.), Note: X,X}{}
\cventry{10/2003 -- 06/2005}{Studium der Wirtschaftsinformatik}{Fachhochschule Musterstadt} {Musterstadt}{}{}
\cventry{08/1999 -- 06/2002}{Abitur}{Oberstufenzentrum Musterregion}{Musterstadt}{}{}
%\cventry{Jahr--Jahr}{Abschluss}{Institution}{Stadt}{\textit{mehr} }{Beschreibung}
%\section{Masterarbeit}
%\cvline{Titel}{\emph{Titel}}
%\cvline{Betreuung}{Betreuer}
%\cvline{Beschreibung}{\small Abstrakt}
\section{Praktika}
%\subsection{Vocational} % subsections
%\cventry{07/2005 -- 09/2005}{Kreativmusikschhule}{Auftrageber}{Groß Laasch}{}{Beschreibung}
\cventry{11/2009 -- 02/2010}{Muster GbR}{Musterdorf}{}{}{Verwaltung, Organisation, Service}
\cventry{11/2004 -- 02/2005}{Musterunternehmen GmbH}{Musterstadt}{}{}{Service, Technik, Verwaltung}
%\cventry{07/2004 -- 08/2004}{Betriebsorganisation \& Software Peter Kampehl}{Wittenberge}{}{}{Service, Technik}
\section{Zivildienst}
\cvline{09/2002 -- 06/2003}{DRK Kreisverband Musterregion e. V., Fahrdienst}
%\subsection{Verschiedenes} % subsections
%\cventry{Jahr--Jahr}{Job}{Auftrageber}{Stadt}{}{Beschreibung line 1\newline{} Beschreibung line 2}
\section{sonstiges}
\cventry{10/2007 -- 06/2008}{Studentische Hilfskraft, Prof. Dr. Heinz Musterer} {} {}{}{fachverantwortlicher Dozent für die Fächer Finanzierung \& Finanzmanagement}
%\cventry{07/2005 -- 06/2007}{Nebentätigkeit, Kreativ-Musikschule GbR}{Groß Laasch}{}{}{Bereich Verwaltung, Organisation \& Service}
%\cvlistitem{Punkt 2}
%\cvlistitem[+]{Punkt 3} % optional other symbol
\section{Sprachen}
\cvlanguage{Deutsch}{Muttersprache}{}
\cvlanguage{Englisch}{Fortgeschritten}{}
\hfill % Restlicher Platz der Seite wird frei
%\section{Computerkenntnisse}
%\cvline{MS Office}{ständig in Anwendung}
%\cvline{SAP}{erste Erfahrungen}
%\cvline{DATEV}{erste Erfahrungen}
%\subsection{oder}
% oder
%\section{Computerkenntnisse}
%\cvcomputer{Kategorie 1}{XXX, YYY, ZZZ}{Kategorie 4}{XXX, YYY, ZZZ}
%\cvcomputer{Kategorie 2}{XXX, YYY, ZZZ}{Kategorie 5}{XXX, YYY, ZZZ}
%\cvcomputer{Kategorie 3}{XXX, YYY, ZZZ}{Kategorie 6}{XXX, YYY, ZZZ}
%\section{Interessen}
%\cvline{Hobby 1}{\small Beschreibung}
%\cvline{Hobby 2}{\small Beschreibung}
%\cvline{Hobby 3}{\small Beschreibung}
%\closesection{} % needed to renewcommands
%\renewcommand{\listitemsymbol}{-} % change the symbol for lists
%\section{Extra 2}
%\cvlistdoubleitem[\Neutral]{Punkt 1}{Punkt 4}
%\cvlistdoubleitem[\Neutral]{Punkt 2}{Punkt 5}
%\cvlistdoubleitem[\Neutral]{Punkt 3}{}
% more links styles
%\weblink[weblink]{link}
%\httplink[httplink]{link} %sets automatic http://
%\emaillink[mail@mail.com]{link}
% Publications from a BibTeX file
%\nocite{}
%\bibliographystyle{plain}
%\bibliography{pubs} % 'publications' is the name of a BibTeX file
\begin{flushleft}
\vspace{2cm}\hspace{-0.0cm}Musterstadt, den \today
\end{flushleft}
%\vspace{1cm} \hspace{-3.5cm}
%%\includegraphics[scale=0.75]{}\\
%John Doe
\end{document}
So, und ganz oben ist ja links das Photo des Bewerbers und dann rechts der Name. Ich möchte gern das es genau umgekehrt ist: Links der Name und rechts das Photo.
Hier noch meine moderncvthemecasual.sty (ist die Standart Version):
%% start of file `moderncvthemecasual.sty'.
%% Copyright 2006-2010 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/.
%-------------------------------------------------------------------------------
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{moderncvthemecasual}[2010/05/24 v0.8 modern curriculum vitae style: casual]
%-------------------------------------------------------------------------------
% required packages
%-------------------------------------------------------------------------------
%-------------------------------------------------------------------------------
% package options
%-------------------------------------------------------------------------------
% color options
% blue (default option)
\DeclareOption{blue}{}
% orange
\newif\if@colororange\@colororangefalse
\DeclareOption{orange}{\@colororangetrue}
% green
\newif\if@colorgreen\@colorgreenfalse
\DeclareOption{green}{\@colorgreentrue}
% red
\newif\if@colorred\@colorredfalse
\DeclareOption{red}{\@colorredtrue}
% grey
\newif\if@colorgrey\@colorgreyfalse
\DeclareOption{grey}{\@colorgreytrue}
% roman option
\newif\if@roman\@romanfalse
\DeclareOption{roman}{\@romantrue}
% unused options
\DeclareOption*{
\PackageWarning{moderncvthemecasual}{Unknown option ‘\CurrentOption’}}
% execute default options
\ExecuteOptions{color}
% process given options
\ProcessOptions\relax
%-------------------------------------------------------------------------------
% style definition
%-------------------------------------------------------------------------------
% symbols used
% colors
\definecolor{firstnamecolor}{rgb}{0.65,0.65,0.65}
\definecolor{familynamecolor}{rgb}{0.45,0.45,0.45}
\definecolor{quotecolor}{rgb}{0.35,0.35,0.35}
\definecolor{addresscolor}{rgb}{0.35,0.35,0.35}
% default blue color
\definecolor{sectionrectanglecolor}{rgb}{0.25,0.50 ,0.75}
\definecolor{sectiontitlecolor}{rgb}{0.20,0.40,0.6 5}
\definecolor{subsectioncolor}{rgb}{0.20,0.40,0.65}
\definecolor{footersymbolcolor}{rgb}{0.25,0.50,0.7 5}
\if@colororange
\definecolor{sectionrectanglecolor}{rgb}{1.00,0.65 ,0.20}
\definecolor{sectiontitlecolor}{rgb}{0.95,0.55,0.1 5}
\definecolor{subsectioncolor}{rgb}{0.95,0.55,0.15}
\definecolor{footersymbolcolor}{rgb}{0.95,0.55,0.1 5}\fi
\if@colorgreen
\definecolor{sectionrectanglecolor}{rgb}{0.55,0.85 ,0.35}
\definecolor{sectiontitlecolor}{rgb}{0.30,0.65,0.1 5}
\definecolor{subsectioncolor}{rgb}{0.30,0.65,0.15}
\definecolor{footersymbolcolor}{rgb}{0.30,0.65,0.1 5}\fi
\if@colorred
\definecolor{sectionrectanglecolor}{rgb}{1.00,0.30 ,0.30}
\definecolor{sectiontitlecolor}{rgb}{0.95,0.20,0.2 0}
\definecolor{subsectioncolor}{rgb}{0.95,0.20,0.20}
\definecolor{footersymbolcolor}{rgb}{0.95,0.20,0.2 0}\fi
\if@colorgrey
\definecolor{sectionrectanglecolor}{rgb}{0.75,0.75 ,0.75}
\definecolor{sectiontitlecolor}{rgb}{0.35,0.35,0.3 5}
\definecolor{subsectioncolor}{rgb}{0.35,0.35,0.35}
\definecolor{footersymbolcolor}{rgb}{0.35,0.35,0.3 5}\fi
% fonts
\if@roman
\AtBeginDocument{\rmfamily}
\else
\AtBeginDocument{\sffamily}\fi
\renewcommand*{\ttdefault}{pcr}
\renewcommand*{\firstnamefont}{\fontsize{38}{40}\s ffamily\mdseries\upshape}
\renewcommand*{\familynamefont}{\firstnamefont}
\renewcommand*{\addressfont}{\normalsize\sffamily\ mdseries\slshape}
\renewcommand*{\quotefont}{\large\slshape}
\renewcommand*{\sectionfont}{\Large\sffamily\mdser ies\upshape}
\renewcommand*{\subsectionfont}{\large\sffamily\md series\upshape}
% styles
% maketitle
\renewcommand*{\maketitle}{%
{%
\ifthenelse{\isundefined{\@photo}}%
{}%
{{\color{firstnamecolor}\framebox{\includegraphics[width=\@photowidth]{\@photo}}}}%
\hfill%
% \raggedleft{\firstnamestyle{\MakeLowercase{\@first name}}\familynamestyle{\MakeLowercase{\@familyname }}}\\[-.35em]}%
\raggedleft{\firstnamestyle{\@firstname}~\familyna mestyle{\@familyname}}\\[-.35em]}%
{\color{firstnamecolor}\rule{\textwidth}{.25ex}\\[2.5em]}%
% optional quote
\ifthenelse{\isundefined{\@quote}}%
{}%
{{\centering{}\begin{minipage}{\quotewidth}\center ing\quotestyle{\@quote}\end{minipage}\\[2.5em]}}%
\par}% to avoid weird spacing bug at the first section if no blank line is left after \maketitle
% cv footer
\newif\if@firstfooterelement\@firstfooterelementtr ue
\providecommand*{\footersymbol}{}
\renewcommand*{\footersymbol}{%
\if@firstfooterelement%
\else%
{ ~~\color{footersymbolcolor}\textbullet~~~}\fi}
\providecommand*{\makefooter}{}
\renewcommand*{\makefooter}{%
\fancypagestyle{plain}{%
\fancyfoot[c]{%
\parbox{0.8\textwidth}{%
\centering%
\addressfont\color{addresscolor}%
\ifthenelse{\isundefined{\@addressstreet}}{}{%
\addresssymbol~\@addressstreet%
\@firstfooterelementfalse%
\ifthenelse{\isundefined{\@addresscity}}{}{~--~\@addresscity}\\\@firstfooterelementtrue}%
\ifthenelse{\isundefined{\@mobile}}{}{\footersymbo l\mobilesymbol~\@mobile\@firstfooterelementfalse}%
\ifthenelse{\isundefined{\@phone}}{}{\footersymbol \phonesymbol~\@phone\@firstfooterelementfalse}%
\ifthenelse{\isundefined{\@fax}}{}{\footersymbol\f axsymbol~\@fax\@firstfooterelementfalse}%
\ifthenelse{\isundefined{\@email}}{}{\footersymbol \emailsymbol~\emaillink{\@email}\@firstfootereleme ntfalse}%
\ifthenelse{\isundefined{\@homepage}}{}{\footersym bol\homepagesymbol~\httplink{\@homepage}\@firstfoo terelementfalse}%
\ifthenelse{\isundefined{\@extrainfo}}{}{\footersy mbol\@extrainfo\@firstfooterelementfalse}}}%
}%
\pagestyle{plain}}
\AtBeginDocument{\makefooter}
\endinput
%% end of file `moderncvthemecasual.sty'.
nixversteh
05-08-2010, 21:35
Danke für deine schnelle Antwort, aber das ist nicht das was ich meine.
Hier erstmal der Lebenslauf:
%% start of file `template_en.tex'.
%% Copyright 2007 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}
\usepackage[ngerman]{babel}
% moderncv themes
\moderncvtheme[green]{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[latin1]{inputenc} % replace by the encoding you are using
\usepackage[T1]{fontenc} %Trennung nach Umlauten
% adjust the page margins
\usepackage[scale=0.8]{geometry}
\recomputelengths % required when changes are made to page layout lengths
% her wird die Schriftart zwangsweise auf helvet geändert
\usepackage[scaled=0.92]{helvet}
\renewcommand{\familydefault}{\sfdefault}
\renewcommand{\rmdefault}{\sfdefault}
% adjust the column width
\sethintscolumnlength{3cm} % date column
% personal data
\firstname{Max}
\familyname{Mustermann}
%\title{Resum?© title (optional)} % optional, remove the line if not wanted - don't know what this is doing
\address{Musterstr. 24}{XXXX Musterstadt} % optional, remove the line if not wanted
%\mobile{mobile (optional)} % optional, remove the line if not wanted
\phone{XXXX XXX XXX XXX} % optional, remove the line if not wanted
%\fax{fax (optional)} % optional, remove the line if not wanted
\email{max@mustermann.com} % optional, remove the line if not wanted
%\extrainfo{extrainfo} % optional, remove the line if not wanted
\photo[64pt]{Bilder/burns} % '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{Where the hell are you going? (optional)} % optional, remove the line if not wanted
%\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page
%----------------------------------------------------------------------------------
% content
%----------------------------------------------------------------------------------
\begin{document}
\renewcommand{\refname}{Publikationen} % umbenennen der literatur
\maketitle
% personal section (optinal)
\section{Persönliche Daten}
\cvline{Name}{Max Mustermann}
\cvline{Geburtsdatum}{XX.XX.1983}
\cvline{Geburtsort}{Musterstadt}
% education
\section{Ausbildung}
%\cventry{Jahr--Jahr}{Abschluss}{Institution}{Stadt}{\textit{mehr} }{Beschreibung}
\cventry{10/2005 -- 07/2010}{Studium der Betriebswirtschaftslehre}{Hochschule Musterstadt}{Musterstadt}{\newline \textbf{Vertiefungsrichtungen:}\newline Fach A und Fach B, Fach C und Fach D\newline \textbf{Thema der Bachelor-Thesis:}\newline "`Thema der Abschlussarbeit"',\newline Note X,X\newline \textbf{Ablschuss:}\newline Bachelor of Arts (B.A.), Note: X,X}{}
\cventry{10/2003 -- 06/2005}{Studium der Wirtschaftsinformatik}{Fachhochschule Musterstadt} {Musterstadt}{}{}
\cventry{08/1999 -- 06/2002}{Abitur}{Oberstufenzentrum Musterregion}{Musterstadt}{}{}
%\cventry{Jahr--Jahr}{Abschluss}{Institution}{Stadt}{\textit{mehr} }{Beschreibung}
%\section{Masterarbeit}
%\cvline{Titel}{\emph{Titel}}
%\cvline{Betreuung}{Betreuer}
%\cvline{Beschreibung}{\small Abstrakt}
\section{Praktika}
%\subsection{Vocational} % subsections
%\cventry{07/2005 -- 09/2005}{Kreativmusikschhule}{Auftrageber}{Groß Laasch}{}{Beschreibung}
\cventry{11/2009 -- 02/2010}{Muster GbR}{Musterdorf}{}{}{Verwaltung, Organisation, Service}
\cventry{11/2004 -- 02/2005}{Musterunternehmen GmbH}{Musterstadt}{}{}{Service, Technik, Verwaltung}
%\cventry{07/2004 -- 08/2004}{Betriebsorganisation \& Software Peter Kampehl}{Wittenberge}{}{}{Service, Technik}
\section{Zivildienst}
\cvline{09/2002 -- 06/2003}{DRK Kreisverband Musterregion e. V., Fahrdienst}
%\subsection{Verschiedenes} % subsections
%\cventry{Jahr--Jahr}{Job}{Auftrageber}{Stadt}{}{Beschreibung line 1\newline{} Beschreibung line 2}
\section{sonstiges}
\cventry{10/2007 -- 06/2008}{Studentische Hilfskraft, Prof. Dr. Heinz Musterer} {} {}{}{fachverantwortlicher Dozent für die Fächer Finanzierung \& Finanzmanagement}
%\cventry{07/2005 -- 06/2007}{Nebentätigkeit, Kreativ-Musikschule GbR}{Groß Laasch}{}{}{Bereich Verwaltung, Organisation \& Service}
%\cvlistitem{Punkt 2}
%\cvlistitem[+]{Punkt 3} % optional other symbol
\section{Sprachen}
\cvlanguage{Deutsch}{Muttersprache}{}
\cvlanguage{Englisch}{Fortgeschritten}{}
\hfill % Restlicher Platz der Seite wird frei
%\section{Computerkenntnisse}
%\cvline{MS Office}{ständig in Anwendung}
%\cvline{SAP}{erste Erfahrungen}
%\cvline{DATEV}{erste Erfahrungen}
%\subsection{oder}
% oder
%\section{Computerkenntnisse}
%\cvcomputer{Kategorie 1}{XXX, YYY, ZZZ}{Kategorie 4}{XXX, YYY, ZZZ}
%\cvcomputer{Kategorie 2}{XXX, YYY, ZZZ}{Kategorie 5}{XXX, YYY, ZZZ}
%\cvcomputer{Kategorie 3}{XXX, YYY, ZZZ}{Kategorie 6}{XXX, YYY, ZZZ}
%\section{Interessen}
%\cvline{Hobby 1}{\small Beschreibung}
%\cvline{Hobby 2}{\small Beschreibung}
%\cvline{Hobby 3}{\small Beschreibung}
%\closesection{} % needed to renewcommands
%\renewcommand{\listitemsymbol}{-} % change the symbol for lists
%\section{Extra 2}
%\cvlistdoubleitem[\Neutral]{Punkt 1}{Punkt 4}
%\cvlistdoubleitem[\Neutral]{Punkt 2}{Punkt 5}
%\cvlistdoubleitem[\Neutral]{Punkt 3}{}
% more links styles
%\weblink[weblink]{link}
%\httplink[httplink]{link} %sets automatic http://
%\emaillink[mail@mail.com]{link}
% Publications from a BibTeX file
%\nocite{}
%\bibliographystyle{plain}
%\bibliography{pubs} % 'publications' is the name of a BibTeX file
\begin{flushleft}
\vspace{2cm}\hspace{-0.0cm}Musterstadt, den \today
\end{flushleft}
%\vspace{1cm} \hspace{-3.5cm}
%%\includegraphics[scale=0.75]{}\\
%John Doe
\end{document}
So, und ganz oben ist ja links das Photo des Bewerbers und dann rechts der Name. Ich möchte gern das es genau umgekehrt ist: Links der Name und rechts das Photo.
Hier noch meine moderncvthemecasual.sty (ist die Standart Version):
%% start of file `moderncvthemecasual.sty'.
%% Copyright 2006-2010 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/.
%-------------------------------------------------------------------------------
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{moderncvthemecasual}[2010/05/24 v0.8 modern curriculum vitae style: casual]
%-------------------------------------------------------------------------------
% required packages
%-------------------------------------------------------------------------------
%-------------------------------------------------------------------------------
% package options
%-------------------------------------------------------------------------------
% color options
% blue (default option)
\DeclareOption{blue}{}
% orange
\newif\if@colororange\@colororangefalse
\DeclareOption{orange}{\@colororangetrue}
% green
\newif\if@colorgreen\@colorgreenfalse
\DeclareOption{green}{\@colorgreentrue}
% red
\newif\if@colorred\@colorredfalse
\DeclareOption{red}{\@colorredtrue}
% grey
\newif\if@colorgrey\@colorgreyfalse
\DeclareOption{grey}{\@colorgreytrue}
% roman option
\newif\if@roman\@romanfalse
\DeclareOption{roman}{\@romantrue}
% unused options
\DeclareOption*{
\PackageWarning{moderncvthemecasual}{Unknown option ‘\CurrentOption’}}
% execute default options
\ExecuteOptions{color}
% process given options
\ProcessOptions\relax
%-------------------------------------------------------------------------------
% style definition
%-------------------------------------------------------------------------------
% symbols used
% colors
\definecolor{firstnamecolor}{rgb}{0.65,0.65,0.65}
\definecolor{familynamecolor}{rgb}{0.45,0.45,0.45}
\definecolor{quotecolor}{rgb}{0.35,0.35,0.35}
\definecolor{addresscolor}{rgb}{0.35,0.35,0.35}
% default blue color
\definecolor{sectionrectanglecolor}{rgb}{0.25,0.50 ,0.75}
\definecolor{sectiontitlecolor}{rgb}{0.20,0.40,0.6 5}
\definecolor{subsectioncolor}{rgb}{0.20,0.40,0.65}
\definecolor{footersymbolcolor}{rgb}{0.25,0.50,0.7 5}
\if@colororange
\definecolor{sectionrectanglecolor}{rgb}{1.00,0.65 ,0.20}
\definecolor{sectiontitlecolor}{rgb}{0.95,0.55,0.1 5}
\definecolor{subsectioncolor}{rgb}{0.95,0.55,0.15}
\definecolor{footersymbolcolor}{rgb}{0.95,0.55,0.1 5}\fi
\if@colorgreen
\definecolor{sectionrectanglecolor}{rgb}{0.55,0.85 ,0.35}
\definecolor{sectiontitlecolor}{rgb}{0.30,0.65,0.1 5}
\definecolor{subsectioncolor}{rgb}{0.30,0.65,0.15}
\definecolor{footersymbolcolor}{rgb}{0.30,0.65,0.1 5}\fi
\if@colorred
\definecolor{sectionrectanglecolor}{rgb}{1.00,0.30 ,0.30}
\definecolor{sectiontitlecolor}{rgb}{0.95,0.20,0.2 0}
\definecolor{subsectioncolor}{rgb}{0.95,0.20,0.20}
\definecolor{footersymbolcolor}{rgb}{0.95,0.20,0.2 0}\fi
\if@colorgrey
\definecolor{sectionrectanglecolor}{rgb}{0.75,0.75 ,0.75}
\definecolor{sectiontitlecolor}{rgb}{0.35,0.35,0.3 5}
\definecolor{subsectioncolor}{rgb}{0.35,0.35,0.35}
\definecolor{footersymbolcolor}{rgb}{0.35,0.35,0.3 5}\fi
% fonts
\if@roman
\AtBeginDocument{\rmfamily}
\else
\AtBeginDocument{\sffamily}\fi
\renewcommand*{\ttdefault}{pcr}
\renewcommand*{\firstnamefont}{\fontsize{38}{40}\s ffamily\mdseries\upshape}
\renewcommand*{\familynamefont}{\firstnamefont}
\renewcommand*{\addressfont}{\normalsize\sffamily\ mdseries\slshape}
\renewcommand*{\quotefont}{\large\slshape}
\renewcommand*{\sectionfont}{\Large\sffamily\mdser ies\upshape}
\renewcommand*{\subsectionfont}{\large\sffamily\md series\upshape}
% styles
% maketitle
\renewcommand*{\maketitle}{%
{%
\ifthenelse{\isundefined{\@photo}}%
{}%
{{\color{firstnamecolor}\framebox{\includegraphics[width=\@photowidth]{\@photo}}}}%
\hfill%
% \raggedleft{\firstnamestyle{\MakeLowercase{\@first name}}\familynamestyle{\MakeLowercase{\@familyname }}}\\[-.35em]}%
\raggedleft{\firstnamestyle{\@firstname}~\familyna mestyle{\@familyname}}\\[-.35em]}%
{\color{firstnamecolor}\rule{\textwidth}{.25ex}\\[2.5em]}%
% optional quote
\ifthenelse{\isundefined{\@quote}}%
{}%
{{\centering{}\begin{minipage}{\quotewidth}\center ing\quotestyle{\@quote}\end{minipage}\\[2.5em]}}%
\par}% to avoid weird spacing bug at the first section if no blank line is left after \maketitle
% cv footer
\newif\if@firstfooterelement\@firstfooterelementtr ue
\providecommand*{\footersymbol}{}
\renewcommand*{\footersymbol}{%
\if@firstfooterelement%
\else%
{ ~~\color{footersymbolcolor}\textbullet~~~}\fi}
\providecommand*{\makefooter}{}
\renewcommand*{\makefooter}{%
\fancypagestyle{plain}{%
\fancyfoot[c]{%
\parbox{0.8\textwidth}{%
\centering%
\addressfont\color{addresscolor}%
\ifthenelse{\isundefined{\@addressstreet}}{}{%
\addresssymbol~\@addressstreet%
\@firstfooterelementfalse%
\ifthenelse{\isundefined{\@addresscity}}{}{~--~\@addresscity}\\\@firstfooterelementtrue}%
\ifthenelse{\isundefined{\@mobile}}{}{\footersymbo l\mobilesymbol~\@mobile\@firstfooterelementfalse}%
\ifthenelse{\isundefined{\@phone}}{}{\footersymbol \phonesymbol~\@phone\@firstfooterelementfalse}%
\ifthenelse{\isundefined{\@fax}}{}{\footersymbol\f axsymbol~\@fax\@firstfooterelementfalse}%
\ifthenelse{\isundefined{\@email}}{}{\footersymbol \emailsymbol~\emaillink{\@email}\@firstfootereleme ntfalse}%
\ifthenelse{\isundefined{\@homepage}}{}{\footersym bol\homepagesymbol~\httplink{\@homepage}\@firstfoo terelementfalse}%
\ifthenelse{\isundefined{\@extrainfo}}{}{\footersy mbol\@extrainfo\@firstfooterelementfalse}}}%
}%
\pagestyle{plain}}
\AtBeginDocument{\makefooter}
\endinput
%% end of file `moderncvthemecasual.sty'.
Hallo hp21,
bei mir habe ich einfach diesen code ersetzt:
\moderncvtheme[green]{casual}
durch diesen:
\moderncvtheme[ngerman,green, roman]{classic}
et voila, es läuft.
Versuche es.
Gruß
Martin
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.