Nestbauer
02-09-2013, 09:16
Im Anhang erscheint in der Kopfzeile immer noch der "Index" als Kapitel und Abschnitt. Das hat wahrscheinlich mit dem ERT vor dem Index zu tun. Was muss ich nach dem Index einfügen, damit in der Kopfzeile wieder die korrekten Kapitel und Abschnitte erscheinen?
\manualmark
\markboth{\spacedlowsmallcaps{\indexname}}{\spaced lowsmallcaps{\indexname}}%
Und hier noch das vollständige Beispiel:
\documentclass[a4paper,twoside,ngerman,fontsize=11pt,paper=a4,two side,openright,titlepage,numbers=noenddot,headincl ude,BCOR=5mm,footinclude=true,cleardoublepage=empt y]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{1}
\setcounter{tocdepth}{1}
\usepackage{color}
\usepackage{babel}
\usepackage{makeidx}
\makeindex
\usepackage[unicode=true,
bookmarks=true,bookmarksnumbered=false,bookmarksop en=false,
breaklinks=true,pdfborder={0 0 0},backref=false,colorlinks=true]
{hyperref}
\hypersetup{pdftitle={Wert der Schönheit},
pdfauthor={Adamczyk Magenau, Ansgar},
pdfkeywords={Ästhetik}}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\pdfpageheight\paperheight
\pdfpagewidth\paperwidth
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
% Classic Thesis Style loader
\makeatother
\input{classicthesis-config.tex}
\makeatletter
% use Latin Modern instead of Computer Modern sans serif
\renewcommand{\sfdefault}{lmss}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\pagestyle{scrheadings} % <--- Affects the page header
% and page number in the footer.
\clearscrheadfoot
%\ohead{\rightmark} % comment this line and uncomment the next
% to switch to `chapter name` in the heading
%\ohead{\leftmark} % comment out to
\ohead{\headmark} % for twoside classes
\cfoot[\pagemark]{\pagemark}
\cfoot[\pagemark{}]% for pagestyle `scrplain`
{\pagemark{}}% for pagestyle `scrheading`
\renewcommand{\sectionmark}[1]{\markright{\spacedlowsmallcaps{#1}}} % workaraoud for classicthesis
% Remove section number from heading
\makeatother
\begin{document}
\raggedbottom
\pagestyle{plain}
\pagestyle{scrheadings}
\pagenumbering{arabic}
\part{Teil}
\chapter{Kapitel}
\section{Abschnitt}
BlaBlaBla\index{BlaBlaBla}\newpage{}
Tralala\index{Tralala}
\newpage{}
BlaBlaBla
\cleardoublepage{}
\manualmark \markboth{\spacedlowsmallcaps{\indexname}}{\spaced lowsmallcaps{\indexname}}%\printindex{}}
\appendix
\part{Anhang}
\chapter{Kapitel}
\section{Abschnitt}
BlaBlaBla\newpage{}
BlaBlaBla
\newpage{}
BlaBlaBla
\end{document}
Gruss und Dank
Nestbauer
\manualmark
\markboth{\spacedlowsmallcaps{\indexname}}{\spaced lowsmallcaps{\indexname}}%
Und hier noch das vollständige Beispiel:
\documentclass[a4paper,twoside,ngerman,fontsize=11pt,paper=a4,two side,openright,titlepage,numbers=noenddot,headincl ude,BCOR=5mm,footinclude=true,cleardoublepage=empt y]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{1}
\setcounter{tocdepth}{1}
\usepackage{color}
\usepackage{babel}
\usepackage{makeidx}
\makeindex
\usepackage[unicode=true,
bookmarks=true,bookmarksnumbered=false,bookmarksop en=false,
breaklinks=true,pdfborder={0 0 0},backref=false,colorlinks=true]
{hyperref}
\hypersetup{pdftitle={Wert der Schönheit},
pdfauthor={Adamczyk Magenau, Ansgar},
pdfkeywords={Ästhetik}}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\pdfpageheight\paperheight
\pdfpagewidth\paperwidth
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
% Classic Thesis Style loader
\makeatother
\input{classicthesis-config.tex}
\makeatletter
% use Latin Modern instead of Computer Modern sans serif
\renewcommand{\sfdefault}{lmss}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\pagestyle{scrheadings} % <--- Affects the page header
% and page number in the footer.
\clearscrheadfoot
%\ohead{\rightmark} % comment this line and uncomment the next
% to switch to `chapter name` in the heading
%\ohead{\leftmark} % comment out to
\ohead{\headmark} % for twoside classes
\cfoot[\pagemark]{\pagemark}
\cfoot[\pagemark{}]% for pagestyle `scrplain`
{\pagemark{}}% for pagestyle `scrheading`
\renewcommand{\sectionmark}[1]{\markright{\spacedlowsmallcaps{#1}}} % workaraoud for classicthesis
% Remove section number from heading
\makeatother
\begin{document}
\raggedbottom
\pagestyle{plain}
\pagestyle{scrheadings}
\pagenumbering{arabic}
\part{Teil}
\chapter{Kapitel}
\section{Abschnitt}
BlaBlaBla\index{BlaBlaBla}\newpage{}
Tralala\index{Tralala}
\newpage{}
BlaBlaBla
\cleardoublepage{}
\manualmark \markboth{\spacedlowsmallcaps{\indexname}}{\spaced lowsmallcaps{\indexname}}%\printindex{}}
\appendix
\part{Anhang}
\chapter{Kapitel}
\section{Abschnitt}
BlaBlaBla\newpage{}
BlaBlaBla
\newpage{}
BlaBlaBla
\end{document}
Gruss und Dank
Nestbauer