PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem beim Anpassen von moderncv



rororo18
30-10-2009, 19:14
Hallo,

ich benutze das casual theme (http://mirror.ctan.org/macros/latex/contrib/moderncv/moderncvthemecasual.sty). Nun versuche ich schon geraumer Zeit gewisse Anpassungen vorzunehmen.

Beispielsweise will ich die Fußnoten entfernen. Mit Hilfe dieses Threads (http://mrunix.de/forums/showthread.php?t=62401) kam ich auf diesen Code:


\makeatletter
\AtBeginDocument{
\providecommand*{\makefooter}{}
\renewcommand*{\makefooter}{}
\AtBeginDocument{\makefooter}}
\makeatother

Auch das Ändern de Quotezeile hat nicht funktioniert.


\makeatletter
\AtBeginDocument{\renewcommand*{\quotefont}{\tiny\ slshape}}
\makeatother


Ich kenn mich mit Latex nicht so gut aus und bräuchte hier Unterstützung.

Gruß
rororor18

mechanicus
30-10-2009, 19:51
Hallo,

wie auch im verlinktem Threat weise ich dich daraufhin, ein Minimalbeispiel zu erstellen. Das ist für alle beteiligten einfacher.

Was genau möchtest du ändern? Nur die Schrift in quote?


\documentclass[pdfpagelabels=false]{moderncv}
\moderncvtheme[blue]{casual}
\firstname{John}
\familyname{Doe}
\quote{Some quote (optional)}
\makeatletter
\renewcommand*{\quotestyle}[1]{{\tiny\slshape\color{quotecolor}\@quote}}
\makeatother
\begin{document}
\maketitle

\end{document}

Gruß
Marco

rororo18
30-10-2009, 20:40
Dank deinem Code konnte ich nun die Quote-Schrift ändern. Nun will ich noch die Fußzeile entfernen. Mein Versuch sieht so aus:


% Dokumenten-Klasse
%=================================================
\documentclass[a4paper,12pt,oneside]{moderncv} % documentclass-Einstellungen

% Packages mit Einstellungen
%=================================================

% Schrift und Zeichensetzung
%+++++++++++++++++++++++++++++++++++++++++++++++++
\usepackage[T1]{fontenc} % fontenc (Fonts)
\usepackage[latin1]{inputenc} % inputenc (Sonderzeichen, Computerzeichensatz)
\usepackage{ae} % ae (Umsetzung Schriften für PDF)
\usepackage[ngerman]{babel} % babel (Sprachpaket)

% Schriftart
%-------------------------------------------------
% Times
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}

% Formatierungen und Seiteneinstellungen
%+++++++++++++++++++++++++++++++++++++++++++++++++

\moderncvtheme[blue]{casual}
\sethintscolumnlength{3,5cm}

% Daten
%::::::::::::::::::::::::::::::::::::::::::::::::
\AtBeginDocument{\recomputelengths}
\firstname{John}
\familyname{Doe}
\title{Lebenslauf} %Nur ein Beispiel für einen Titel
\address{Fakestreet}{12345 Nowhere}
\mobile{0234/11223344}
\email{john.doe@gmail.com}
\quote{Lebenslauf}

\usepackage[includefoot,right=1cm,left=2.5cm,top=1cm,bottom=1c m]{geometry} % geometry (Seitenränder)

% setspace (Zeilenabstand)
%-------------------------------------------------
\usepackage{setspace}

% moderncv-Anpassungen
\renewcommand*{\cventry}[6]{%
\cvline{#1}{%
{\bfseries#2}%
\ifx#3\else{, {\slshape#3}}\fi%
\ifx#4\else{, #4}\fi%
\ifx#5\else{, #5}\fi%
\ifx#6\else{\newline{}\begin{minipage}[t]{\linewidth}\small#6\end{minipage}}\fi
}}
\makeatletter
\renewcommand*{\quotestyle}[1]{{\huge\sffamily\mdseries\upshape\color{quotecolor }\@quote}}
\makeatother
\makeatletter
\AtBeginDocument{
\providecommand*{\makefooter}{}
\renewcommand*{\makefooter}{}
\AtBeginDocument{\makefooter}}
\makeatother

% Das Dokument
%=================================================
\begin{document}
\maketitle

\end{document}


Leider ohne Erfolg gekrönt

Edit:
Hab es doch noch geschafft:


\makeatletter
\AtBeginDocument{
\providecommand*{\makefooter}{}
\renewcommand*{\makefooter}{%
\fancypagestyle{plain}{%
\fancyfoot[c]{%
\parbox{0.8\textwidth}{}}%
}%
\pagestyle{plain}}
\AtBeginDocument{\makefooter}}
\makeatother

mechanicus
31-10-2009, 11:01
Hab es doch noch geschafft:


\makeatletter
\AtBeginDocument{
\providecommand*{\makefooter}{}
\renewcommand*{\makefooter}{%
\fancypagestyle{plain}{%
\fancyfoot[c]{%
\parbox{0.8\textwidth}{}}%
}%
\pagestyle{plain}}
\AtBeginDocument{\makefooter}}
\makeatother

Hi,

ein:

\AtBeginDocument{\fancyfoot[c]{}}
hätte auch gereicht.

Gruß
Marco