Habe ein paar letzte Probleme bei meiner bachelorarbeit und hoffe mir kann jemand helfen. :)
1.
ich würde gerne nach dem Vorwort an auf jeder Seite eine einheitliche Kopfzeile stehen haben, die wie folgt aussehen soll:
-gerade seiten Kapitel
-ungerade Seiten section
* Auch beim Inhaltsverzeichnis, Leerseiten vor neuen Kapiteln und auf Kapitelanfangsseiten.
2.
die Seitenzahl immer außen in der Fußzeile
frontmatter mit römischen zahlen
Beim Anhang und bei backmatter soll vor jedem Kapitelanfang wie Literaturverzeichnis etc keine Leerseiten eingefügt werden, damit die Kapitel rechts anfangen. Das würde ich gerne bei diesen Kapiteln unterdrücken.
Einige Sachen habe ich schon zu 90% geschafft, aber leider bisher nicht einheitlich für alle Seiten hinbekommen :/
hier meine style.tex vorläge für die Bachelorarbeit
\documentclass[ pdftex, a4paper, twoside, openright, halfparskip ]{scrbook} % Set german to default language and load english as well \usepackage[english,ngerman]{babel} % Set UTF8 as input encoding \usepackage[utf8]{inputenc} % Set T1 as font encoding \usepackage[T1]{fontenc} % Load a slightly more modern font \usepackage{lmodern} % Use the symbol collection textcomp, which is needed by listings. \usepackage{textcomp} % Load a better font for monospace. \usepackage{courier} \usepackage{blindtext} %einfügen von blindtexten \usepackage{graphicx} %load for titlepage \usepackage{setspace} % Set some options regarding the document layout. See KOMA guide \KOMAoptions{% headings=normal, BCOR=1cm, headsepline, numbers=noenddot, DIV=12 } % do not align bottom of pages \raggedbottom % set style of captions \setcapindent{0pt} % do not indent second line of captions \setkomafont{caption}{\small} \setkomafont{captionlabel}{\bfseries} \setcapwidth[c]{0.9\textwidth} % set the style of the bibliography \bibliographystyle{alphadin} % load extended tabulars used in the list of abbreviation \usepackage{tabularx} % load the color package and enable colored tables \usepackage[table]{xcolor} % define new environment for zebra tables \newcommand{\mainrowcolors}{\rowcolors{1}{maincolor!25}{maincolor!5}} \newenvironment{zebratabular}{\mainrowcolors\begin{tabular}}{\end{tabular}} \newcommand{\setrownumber}[1]{\global\rownum#1\relax} \newcommand{\headerrow}{\rowcolor{maincolor!50}\setrownumber1} % do not print numbers next to each formula \usepackage{mathtools} \mathtoolsset{showonlyrefs} % left align formulas \makeatletter \@fleqntrue\let\mathindent\@mathmargin \@mathmargin=\leftmargini \makeatother % Allow page breaks in align environments \allowdisplaybreaks % header and footer \usepackage{scrpage2} \pagestyle{scrheadings} \setheadsepline{0.5pt} \renewcommand*{\chapterpagestyle}{scrheadings} % German guillemets quotes \usepackage[german=guillemets]{csquotes} % load TikZ to draw diagrams \usepackage{tikz} % load listings package to typeset sourcecode \usepackage{listings} % set some options for the listings package \lstset{% upquote=true,% showstringspaces=false,% captionpos=b,% basicstyle=\ttfamily,% keywordstyle=\color{keywordcolor}\slshape,% commentstyle=\color{commentcolor}\itshape,% stringstyle=\color{stringcolor}} \renewcommand{\lstlistingname}{Quelltext} \renewcommand{\lstlistlistingname}{Quelltextverzeichnis} % enable german umlauts in listings \lstset{ literate={ö}{{\"o}}1 {Ö}{{\"O}}1 {ä}{{\"a}}1 {Ä}{{\"A}}1 {ü}{{\"u}}1 {Ü}{{\"U}}1 {ß}{{\ss}}1 } % define style for pseudo code \lstdefinestyle{pseudo}{language={},% basicstyle=\normalfont,% morecomment=[l]{//},% morekeywords={for,to,while,do,if,then,else},% mathescape=true,% columns=fullflexible} % load the AMS math library to typeset formulas \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} \usepackage{amssymb} % load the paralist library to use compactitem and compactenum environment \usepackage{paralist} % load varioref and hyperref to create nicer references using vref \usepackage[ngerman]{varioref} \PassOptionsToPackage{hyphens}{url} % allow line break at hyphens in URLs \usepackage{hyperref} % setup hyperref \hypersetup{breaklinks=true, pdfborder={0 0 0}, ngerman, pdfhighlight={/N}, pdfdisplaydoctitle=true} % Fix bugs in some package, e.g. listings and hyperref \usepackage{scrhack} % define german names for referenced elements % (vref automatically inserts these names in front of the references) \labelformat{figure}{Abbildung\ #1} \labelformat{table}{Tabelle\ #1} \labelformat{appendix}{Anhang\ #1} \labelformat{chapter}{Kapitel\ #1} \labelformat{section}{Abschnitt\ #1} \labelformat{subsection}{Unterabschnitt\ #1} \labelformat{subsubsection}{Unterunterabschnitt\ #1} \AtBeginDocument{\labelformat{lstlisting}{Quelltext\ #1}} % define theorem environments \declaretheorem[numberwithin=chapter,style=plain]{Theorem} \labelformat{Theorem}{Theorem\ #1} \declaretheorem[sibling=Theorem,style=plain]{Lemma} \labelformat{Lemma}{Lemma\ #1} \declaretheorem[sibling=Theorem,style=plain]{Korollar} \labelformat{Korollar}{Korollar\ #1} \declaretheorem[sibling=Theorem,style=definition]{Definition} \labelformat{Definition}{Definition\ #1} \declaretheorem[sibling=Theorem,style=definition]{Beispiel} \labelformat{Beispiel}{Beispiel\ #1} \declaretheorem[sibling=Theorem,style=definition]{Bemerkung} \labelformat{Bemerkung}{Bemerkung\ #1} \begin{document} %Vorspann \frontmatter \include{title} \include{Vorwort2} \setcounter{page}{1} \cleardoublepage \include{Erklaerung} \tableofcontents \listoffigures %Hauptteil \mainmatter \include{einleitung} \include{Produktionsablauf} \include{konzept} \include{virtuelle_inbetriebnahme} \include{umsetzung} \include{Modellierung} \include{Anlage} \include{fazit} %Anhang \appendix \include{appendix} %Ende des Buches \backmatter \bibliography{literature} \end{document}