PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Anschreiben mit moderncv- Fragen



ZoliTeglas
10-12-2012, 13:02
Hallo zusammen,
ich bin mir darüber im Klaren, dass es vielleicht schon gefragt wurde, aber ich komme einfach nicht weiter.
Ich habe eine Vorlage eines Anschreibens gefunden, die zuerst nicht gelaufen ist. Nun habe ich diese modifiziert (unter anderem mit Hilfe dieses Forums - Danke schon mal hierfür!)

Nun habe ich noch ein paar Fragen:

1. Wie kann ich die Farbe des Balkens verändern? Irgendwie wird der nicht so dargestellt wie ich das möchte. Er übernimmt eben die Farbe des Vornames

\definecolor{firstnamecolor}{rgb}{0.95,0.55,0.15}

2. Wie schaffe ich es, dass ich die Farbe und die Schriftart der Kapitel verändere. Also ich will, dass Bewerbungsunterlagen zweifarbig dargestellt wird. Also Berwerbungs DUNKELGRAU und unterlagen HELLGRAU? Ich komme da nicht weiter und weiss im Moment nicht, ob es daran liegt, dass ich Apple und MacTex verwende.

3. Analoges für den Vornamen und den Nachnamen, der auf der ersten Seite steht. Da bekomme ich die Farben hin, aber dass der Nachname grösser ist, leider nicht!

4. Wieso wird auf der ersten Seite, bei der Inhaltsangabe, diese komplett falsch dargestellt. Zum einen fehlen die Punkte, die bspw. nach Lebenslauf bis hin zur Seitenzahl kommen, darüber hinaus sind gewisse Dinge enthalten, wie die Sektions und der Zeilenumbruch fehlt auch immer...

Der Hintergrund ist der, dass das Anschreiben schon einem Farbschema folgt und ich das natürlich einheitlich machen möchte.

Anbei der Code des Skriptes und der Code des moderncv-additions.sty

Ich danke Euch jetzt schon ganz ganz herzlich!
Bestes
Zoli

SKRIPT:


\documentclass[11pt,a4paper, sans]{moderncv}

\usepackage[german]{babel}
\usepackage{moderncv-additions}

% moderncv themes
\moderncvtheme{casual} % optional arguments 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{Max}
\familyname{Mustermann}
%\title{Resumé title (optional)} % optional, remove the line if not wanted
\address{Musterstraße 08/15}{8010 Graz} % optional, remove the line if not wanted
\mobile{+43 123 45 678 90} % 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{max@mustermann.at} % optional, remove the line if not wanted
%\extrainfo{additional information (optional)} % optional, remove the line if not wanted
\photo[64pt]{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{``Das ist ein toller Frusterspruch\\ von Friede Frusterfrau.'' -- Friede Frusterfrau} % optional, remove the line if not wanted

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

%----------------------------------------------------------------------------------
% content
%----------------------------------------------------------------------------------
%\show\section

\begin{document}

% color redefinitions must be after \begin{document}!
\definecolor{firstnamecolor}{RGB}{125,85,85}
\definecolor{familynamecolor}{RGB}{138,74,57}
\definecolor{quotecolor}{RGB}{125,85,85}
\definecolor{addresscolor}{RGB}{125,85,85}
\definecolor{sectionrectanglecolor}{RGB}{138,74,57 }
\definecolor{sectiontitlecolor}{RGB}{138,74,57}
\definecolor{subsectioncolor}{RGB}{125,85,85}
\definecolor{footersymbolcolor}{RGB}{125,85,85}

\makeatletter

\pagestyle{empty}
\chapter*{Bewerbungs}{unterlagen}

\vspace*{50mm}
\begin{minipage}{\textwidth}
\vspace*{3mm}
\namestyle{\@firstname}~~\namestyle{\color{familyn amecolor}\@familyname}
\hspace*{5mm}{{\color{firstnamecolor}\includegraph ics[width=64pt]{picture}}}\\[3mm]
\@addressstreet, \@addresscity ~~~ \mobilesymbol~\@mobile ~~~ \emailsymbol~\@email
\end{minipage}
\begin{minipage}{70pt}

\end{minipage}

\vfill

\begin{minipage}{1.0\textwidth}
\section{Inhalt}
\tableofcontents
\end{minipage}

\newpage
\pagestyle{fancy}
\chapter{Curriculum}{~Vit\ae}
%\makequote

\section{Persönliche Daten}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%
\cvline{Name}{\@firstname~\@familyname}
\cvline{Anschrift}{\@addressstreet, \@addresscity}
\cvline{Telefon}{\@mobile}
\cvline{E-Mail}{\@email}
\cvline{Geburtsdaten}{1. Januar 1970 in Musterstadt}
\cvline{Staatsbürgerschaft}{Österreichisch}
\cvline{Familienstand}{ledig}
\cvline{Präsenzdienst}{abgeleistet}
\cvline{Führerschein}{A,B,C,D,E,F,G}
\makeatother

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

\section{Ausbildung}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cventry{xx/xxxx -- xx/xxxx}{Akadem. Grad}{Institution}{Stadt}{\textit{Abschluss}}{Beme rkung} % arguments 3 to 6 are optional

\cventry{xx/xxxx -- xx/xxxx}{Akadem. Grad}{Institution}{Stadt}{\textit{Abschluss}}{Beme rkung}

\section{Berufserfahrung}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cventry{xx/xxxx -- xx/xxxx}{Musterkaufmann}{Musterfirma}{Musterort}{}{Be merkung}

\section{Sprachen}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cvline{Deutsch}{Muttersprache}{}
\cvline{Englisch}{Verstehen A1, Sprechen B2, Schreiben C3 \hfill {\scriptsize \itshape Europäische Kompetenzstufe}}

\section{IT Kompetenzen}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cvline{Musterkategorie}{Mustermethode 1 (z.B. mit Musterprogramm 2), Mustermethode 2 (z.B. mit Musterprogramm 4)}

\newpage

\section{Auszeichnungen}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cvline{xx/xxxx}{Musterpreis}


\section{Außeruniversitäre Tätigkeiten}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cvline{....}{....}

\section{Interessen}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cvline{....}{....}

\section{Publikationen}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\subsection{Konferenzen und Workshops}

\cvline{mm/jjjj}{Autor 1 und Autor 2. \textbf{Mustertitel: Unser tolles Paper.} In \textit{Proceedings of the First Muster Workshop 1970}, Musterstadt, Musterland, YYYY.}

% \newpage

\subsection{Technical Reports}

\cvline{....}{....}

\cvline{....}{alternativ kann man auch BibTex verwenden:}

\renewcommand*{\refname}{Abschlussarbeiten}
\nocite{*}
\bibliographystyle{cv}
\bibliography{publications} % 'publications' is the name of a BibTeX file

\newpage
\chapter{Bachelor}{zeugnis}
\vspace*{1cm}
\begin{center}
% \fbox{\includegraphics[height=0.85\textheight]{Bakk-Zeugnis}}
\end{center}

\newpage
\chapter{Matura}{zeugnis}
\vspace*{1cm}
\begin{center}
% \fbox{\includegraphics[height=0.85\textheight]{Maturazeugnis}}
\end{center}

\vspace*{1cm}
\begin{center}
% \fbox{\includegraphics[height=0.85\textheight]{Maturazeugnis-2}}
\end{center}

\newpage
\chapter{Abschluss}{zeugnis}
\vspace*{1cm}
\begin{center}
% \fbox{\includegraphics[height=0.85\textheight]{Abschlusszeugnis}}
\end{center}

\end{document}

% end of file `cv_german.tex'




und die modern- Datei





\newcommand{\chapter}{\@ifstar
\chapterStar
\chapterNoStar }

\newcommand*{\chapterNoStar}[2]{%
{%
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{#1#2}%
\chapter*{#1}{#2}%
}%
}

\newcommand*{\chapterStar}[2]{%
{%
\hfill%
{\raggedleft{\namestyle{#1}\namestyle{#2}}\\[-.35em]}%
{\color{firstnamecolor}\rule{\textwidth}{.25ex}\\[0.25em]}%
}%
}


\renewcommand*{\@starttoc}[1]{%
\begingroup
\makeatletter
\parskip\z@
\@input{\jobname.#1}%
\if@filesw
\expandafter\newwrite\csname tf@#1\endcsname
\immediate\openout \csname tf@#1\endcsname \jobname.#1\relax
\fi
\@nobreakfalse
\endgroup
}\def\tableofcontents{\@starttoc{toc}}
\renewcommand*{\section}[1]{%
% \vspace*{2.5ex \@plus 1ex \@minus .2ex}%
\vspace*{0.0ex \@plus 1ex \@minus .2ex}%
\phantomsection{}% reset the anchor for hyperrefs
% \addcontentsline{toc}{part}{#1}%
\parbox[m]{\hintscolumnwidth}{\raggedleft\hintfont{\color{se ctionrectanglecolor}\rule{\hintscolumnwidth}{1ex}} }%
\hspace{\separatorcolumnwidth}%
\parbox[m]{\maincolumnwidth}{\sectionstyle{#1}}\\[1ex]%
}

ZoliTeglas
10-12-2012, 13:30
Hallo zusammen,
ich habe weiter rumgespielt und habe erste Erfolge zu verzeichnen. Yes!
Es bleibt nur noch die Frage, wie ich auf der ersten Seite den Namen in zwei unterschiedlichen Schriftgrössen und Farben umsetze. Ich will, dass der Nachname fetter/grösser ist und ein dunkleres Grau hat. Mit der Farbe komme ich weiter, aber wie mache ich die Schrift grösser. Anbei mal die tex-Datei und die additions.




%% start of file `cv_german.tex', based on `template_en.tex` by 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/.
%
% Thomas Quaritsch <t.quaritsch@student.tugraz.at>

\documentclass[11pt,a4paper]{moderncv}

\usepackage[german]{babel}
\usepackage{moderncv-additions}

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

% \moderncvcolor{green}
% 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{Max}
\familyname{Mustermann}
%\title{Resumé title (optional)} % optional, remove the line if not wanted
\address{Musterstraße 08/15}{8010 Graz} % optional, remove the line if not wanted
\mobile{+43 123 45 678 90} % 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{max@mustermann.at} % optional, remove the line if not wanted
%\extrainfo{additional information (optional)} % optional, remove the line if not wanted
\photo[64pt]{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{``Das ist ein toller Frusterspruch\\ von Friede Frusterfrau.'' -- Friede Frusterfrau} % optional, remove the line if not wanted

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

%----------------------------------------------------------------------------------
% content
%----------------------------------------------------------------------------------
%\show\section
\begin{document}

% color redefinitions must be after \begin{document}!

%Balken oben
\definecolor{firstnamecolor}{RGB}{125,85,85}
%\definecolor{firstnamecolor}{rgb}{0.22, 0.45, 0.70}

%\definecolor{familynamecolor}{RGB}{138,74,57}
\definecolor{familynamecolor}{rgb}{0.22, 0.45, 0.70}

%\definecolor{quotecolor}{RGB}{125,85,85}
\definecolor{quotecolor}{rgb}{0.95, 0.55, 0.15}

%\definecolor{addresscolor}{RGB}{125,85,85}
\definecolor{addresscolor}{rgb}{0.22, 0.45, 0.70}

\definecolor{sectionrectanglecolor}{RGB}{138,74,57 }
%\definecolor{sectionrectanglecolor}{rgb}{0.22, 0.45, 0.70}

\definecolor{sectiontitlecolor}{RGB}{138,74,57}
%\definecolor{sectiontitlecolor}{rgb}{0.95, 0.55, 0.15}

\definecolor{subsectioncolor}{RGB}{125,85,85}
%\definecolor{subsectioncolor}{rgb}{0.95, 0.55, 0.15}

\definecolor{footersymbolcolor}{RGB}{125,85,85}
%\definecolor{footersymbolcolor}{rgb}{0.22, 0.45, 0.70}

\definecolor{color0}{RGB}{125,85,85}











\makeatletter

\pagestyle{empty}
\chapter*{Bewerbungs}{unterlagen}

\vspace*{50mm}
\begin{minipage}{\textwidth}
\vspace*{3mm}
\namestyle{\@firstname}~~\namestyle{\color{familyn amecolor}\@familyname}
\hspace*{5mm}{{\color{firstnamecolor}\includegraph ics[width=64pt]{picture}}}\\[3mm]
\@addressstreet, \@addresscity ~~~ \mobilesymbol~\@mobile ~~~ \emailsymbol~\@email
\end{minipage}
\begin{minipage}{70pt}

\end{minipage}

\vfill

\begin{minipage}{1.0\textwidth}
\section{Inhalt}
\tableofcontents
\end{minipage}

\newpage
\pagestyle{fancy}
\chapter{Curriculum}{~Vit\ae}
\makequote

\section{Persönliche Daten}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%
\cvline{Name}{\@firstname~\@familyname}
\cvline{Anschrift}{\@addressstreet, \@addresscity}
\cvline{Telefon}{\@mobile}
\cvline{E-Mail}{\@email}
\cvline{Geburtsdaten}{1. Januar 1970 in Musterstadt}
\cvline{Staatsbürgerschaft}{Österreichisch}
\cvline{Familienstand}{ledig}
\cvline{Präsenzdienst}{abgeleistet}
\cvline{Führerschein}{A,B,C,D,E,F,G}
\makeatother

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

\section{Ausbildung}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cventry{xx/xxxx -- xx/xxxx}{Akadem. Grad}{Institution}{Stadt}{\textit{Abschluss}}{Beme rkung} % arguments 3 to 6 are optional

\cventry{xx/xxxx -- xx/xxxx}{Akadem. Grad}{Institution}{Stadt}{\textit{Abschluss}}{Beme rkung}

\section{Berufserfahrung}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cventry{xx/xxxx -- xx/xxxx}{Musterkaufmann}{Musterfirma}{Musterort}{}{Be merkung}

\section{Sprachen}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cvline{Deutsch}{Muttersprache}{}
\cvline{Englisch}{Verstehen A1, Sprechen B2, Schreiben C3 \hfill {\scriptsize \itshape Europäische Kompetenzstufe}}

\section{IT Kompetenzen}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cvline{Musterkategorie}{Mustermethode 1 (z.B. mit Musterprogramm 2), Mustermethode 2 (z.B. mit Musterprogramm 4)}

\newpage

\section{Auszeichnungen}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cvline{xx/xxxx}{Musterpreis}


\section{Außeruniversitäre Tätigkeiten}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cvline{....}{....}

\section{Interessen}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\cvline{....}{....}

\section{Publikationen}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

\subsection{Konferenzen und Workshops}

\cvline{mm/jjjj}{Autor 1 und Autor 2. \textbf{Mustertitel: Unser tolles Paper.} In \textit{Proceedings of the First Muster Workshop 1970}, Musterstadt, Musterland, YYYY.}

% \newpage

\subsection{Technical Reports}

\cvline{....}{....}

\cvline{....}{alternativ kann man auch BibTex verwenden:}

\renewcommand*{\refname}{Abschlussarbeiten}
\nocite{*}
\bibliographystyle{cv}
\bibliography{publications} % 'publications' is the name of a BibTeX file

\newpage
\chapter{Bachelor}{zeugnis}
\vspace*{1cm}
\begin{center}
% \fbox{\includegraphics[height=0.85\textheight]{Bakk-Zeugnis}}
\end{center}

\newpage
\chapter{Matura}{zeugnis}
\vspace*{1cm}
\begin{center}
% \fbox{\includegraphics[height=0.85\textheight]{Maturazeugnis}}
\end{center}

\vspace*{1cm}
\begin{center}
% \fbox{\includegraphics[height=0.85\textheight]{Maturazeugnis-2}}
\end{center}

\newpage
\chapter{Abschluss}{zeugnis}
\vspace*{1cm}
\begin{center}
% \fbox{\includegraphics[height=0.85\textheight]{Abschlusszeugnis}}
\end{center}

\end{document}

% end of file `cv_german.tex'




und der Zusatz:



% (c) 2010 Martin Weiglhofer <weiglhofer@ist.tugraz.at> and
% Thomas Quaritsch <t.quaritsch@student.tugraz.at>

\AtEndPreamble{

\renewcommand*{\contentsline}[4]{%
#2 \dotfill #3\\
}

\newcommand{\makequote}{
\ifthenelse{\isundefined{\@quote}}%
{}%
{\centering{%
\begin{minipage}{\quotewidth}\vspace*{2em}\centeri ng\quotestyle{\@quote}\end{minipage}%
}\\[2.5em]%
}%
}

\newcommand{\chapter}{\@ifstar
\chapterStar
\chapterNoStar }

\newcommand*{\chapterNoStar}[2]{%
{%
\addcontentsline{toc}{chapter}{#1#2}%
\chapter*{#1}{#2}%
}%
}

\newcommand*{\chapterStar}[2]{%
{%
\hfill%
{\raggedleft{\namestyle{#1}\namestyle{#2}}\\[-.35em]}%
{\color{firstnamecolor}\rule{\textwidth}{.25ex}\\[0.25em]}%
}%
}

\renewcommand*{\@starttoc}[1]{%
\begingroup
\makeatletter
\parskip\z@
\@input{\jobname.#1}%
\if@filesw
\expandafter\newwrite\csname tf@#1\endcsname
\immediate\openout \csname tf@#1\endcsname \jobname.#1\relax
\fi
\@nobreakfalse
\endgroup
}
\def\tableofcontents{\@starttoc{toc}}

% usage: \section{<title>}
\renewcommand*{\section}[1]{%
\vspace*{3ex plus 1ex minus 1ex}%
\parbox[m]{\hintscolumnwidth}{\raggedleft\hintfont{\color{se ctionrectanglecolor}\rule{\hintscolumnwidth}{1ex}} }%
\phantomsection{}% reset the anchor for hyperrefs
% \addcontentsline{toc}{part}{#1}%
\hspace{\separatorcolumnwidth}%
\parbox[m]{\maincolumnwidth}{\sectionstyle{#1}}%
\vspace*{3ex plus 1ex minus 1ex}%
}
% \cvline[1ex]{\color{sectionrectanglecolor}\rule[0]{\hintscolumnwidth}{1ex}}{\sectionstyle{#1}}}% gives bad alignment of rectangle; too bad m{width} columns seem not to work as a valid column definition for tabular environments
% starred variant, which is identical but defined to allow its use (e.g. for natbib compatibility, who uses \section*{} for the bibliography header)

\renewenvironment{thebibliography}[1]%
{%
\subsection{\refname}%
% \vspace*{-0.65em}%
\small%
\begin{list}{\bibliographyitemlabel}%
{%
\setlength{\topsep}{0pt}%
\setlength{\labelwidth}{\hintscolumnwidth}%
\setlength{\labelsep}{\separatorcolumnwidth}%
\leftmargin\labelwidth%
\advance\leftmargin\labelsep%
\@openbib@code%
\usecounter{enumiv}%
\let\p@enumiv\@empty%
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy\clubpenalty4000\widowpenalty4000%
% \sfcode`\.\@m%
% \sfcode `\=1000\relax%
}%
{%
\def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
\end{list}%
}

}