PDA

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



mikedg
26-01-2008, 23:06
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...




\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}

rais
26-01-2008, 23:35
schau doch mal hier (http://www.mrunix.de/forums/showthread.php?t=56392), da scheint einer dasselbe Problem zu haben :rolleyes:
MfG,