PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : weiss das niemand? ::: scrreprt kopfzeilen gut, aber wie anpassbar?



mikedg
28-01-2008, 14:57
ich bräuchte evtl. nur einen tipp, wo suchen...

nach meinem code funktioniert das benamen der kopfzeilen gut. jedoch schreibt mir latex nur zb. "2 Methods" (rechte seiten) oder "2.2 Yogurthbecher". ich möchte jedoch, dass es so steht:

"Chapter 2: Methods" und "Section 2.2: Yohgurtbecher"


Habe komascript gelesn und nirgends was gefunden was mir hilft...

Code:

\documentclass[a4paper,10pt, twoside, openright, pointlessnumbers, bibtotoc, idxtotoc, liststoc]{scrreprt}
\usepackage{graphicx, palatino, xcolor, graphics, subfigure}
\usepackage{natbib}
\usepackage{amsmath}
%\usepackage[dvips]{color}
%\usepackage{fullpage}
\usepackage[left=25mm, right=25mm, top=30mm, bottom=30mm, headsep=10mm]{geometry}
%\usepackage{simplemargins}
\usepackage[ngerman,english]{babel}
\usepackage{pdflscape}
\usepackage{slashbox}
\usepackage[Lenny]{fncychap} %Glenn
%\usepackage{fancyhdr}
\selectlanguage{english}
\usepackage[latin9]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{floatflt}
\usepackage{enumitem}
\usepackage{rotating}
\usepackage{ifthen}
%\usepackage{epstopdf}
\usepackage{nomencl}
\let\abbrev\nomenclature
\renewcommand{\nomname}{Abbreviations, Acronyms and Notation}
\setlength{\nomlabelwidth}{.25\hsize}
\renewcommand{\nomlabel}[1]{#1} %\dotfill}
\setlength{\nomitemsep}{-\parsep}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\nomgroup}[1]{%
\ifthenelse{\equal{#1}{R}}{\item[\textbf{Roman Letters}]}{%
\ifthenelse{\equal{#1}{G}}{\item[\textbf{Greek Letters}]}{}}{}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makenomenclature

\newcommand{\Abkuerzung}{
\printnomenclature
\newpage
}
\makeglossary
\makeindex

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\setkomafont{pagehead}{\sffamily}
%\setkomafont{chapter}{\LARGE\bfseries\sffamily}
%\makeatletter
%\renewcommand*\CTV{\normalfont\sectfont\size@chap ter{}}
%\makeatother

%\setkomafont{chapter}{\usekomafont{section}}
%\usepackage[linktocpage]{hyperref}

%\usepackage{nomencl}
\usepackage[automark, headsepline]{scrpage2}
\usepackage{booktabs}
\automark[section]{chapter}
\pagestyle{scrheadings}
\renewcommand*{\chapterpagestyle}{scrheadings}
\pagenumbering{Roman}

%\setlength{\topskip}{15mm}
%\setlength{\footskip}{15mm}
\renewcommand{\headfont}{\normalfont}
\renewcommand{\textfraction}{0.15}%0.15
\renewcommand{\topfraction}{0.85}
\renewcommand{\bottomfraction}{0.65}
\renewcommand{\floatpagefraction}{0.60}

\renewcommand{\baselinestretch}{1.50}\normalsize

%\setlength{\headsep}{7mm}

\begin{document}
chapter{methods}
\newpage
section{yoghurtbecher}
\newpage
\end{document}

Sabrina.Dankers
11-05-2008, 15:41
Hallo das ist im scrguide auf Seite 93 beschrieben.



\renewcommand*{\chaptermarkformat}{%
\chapapp~\thechapter:\autodot\enskip}


LG Sabrina