justincase wrote:...Thank you, that helped. Just two more things: The sep-lines in the abstract part are different to the others. It looks like that there are two lines.
But that is so because you defined the lines to produce double rules; if you want a single line, replace
Code: Select all
\setheadsepline{0.4pt}[\hrule \vskip 1.5pt]
\setfootsepline{0.4pt}[\hrule \vskip 1.5pt
with
Code: Select all
\setheadsepline{0.4pt}
\setfootsepline{0.4pt}
[/quote]...Second: When I put a text before abstract, this text has the same odd separation lines and no page numbering.
Like this:
Code: Select all
\documentclass[12pt,a4paper, twoside,abstract]{scrreprt}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{graphicx}
\usepackage{tocloft}
\usepackage{scrpage2}
\renewcommand\cftchapdotsep{1}
\renewcommand\cftsecdotsep{1}
\setheadsepline{0.4pt}[\hrule \vskip 1.5pt]
\setfootsepline{0.4pt}[\hrule \vskip 1.5pt]
\begin{document}
\pagestyle{scrheadings}
\pagenumbering{roman}
\title{Test}
\maketitle[-3]
Test
\begin{abstract}\thispagestyle{scrheadings}\pagenumbering{roman}
This is a test. Hello World.\\
I'm a abstract chapter!
\end{abstract}
{\addtocontents{toc}{\protect\thispagestyle{scrheadings}}\tableofcontents}
\clearpage
\pagenumbering{arabic}
\chapter{Introduction}
\section{Test}
\end{document}
Is there a chance to give the text above a own environment like abstract?[/quote]
I'm not sure about your question here. Do you want to define a new environment that behaves like the
abstract environment but having a new name? If this is so, the code below shows how to do this definition:
Code: Select all
\documentclass[12pt,a4paper, twoside,abstract]{scrreprt}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{graphicx}
\usepackage{tocloft}
\usepackage{scrpage2}
\usepackage{lipsum}
\renewcommand\cftchapdotsep{1}
\renewcommand\cftsecdotsep{1}
\setheadsepline{0.4pt}
\setfootsepline{0.4pt}
\let\MyAbstract\abstract
\newenvironment{MyEnvironment}
{\renewcommand\abstractname{The Name}\begin{MyAbstract}}
{\end{MyAbstract}}
\begin{document}
\pagestyle{scrheadings}
\pagenumbering{roman}
\title{Test}
\maketitle[-3]
\begin{MyEnvironment}\thispagestyle{scrheadings}\pagenumbering{roman}
Test text
\end{MyEnvironment}
\begin{abstract}\thispagestyle{scrheadings}
This is a test. Hello World.\\
I'm a abstract chapter!
\end{abstract}
{\addtocontents{toc}{\protect\thispagestyle{scrheadings}}\tableofcontents}
\clearpage
\pagenumbering{arabic}
\chapter{Introduction}
\section{Test}
\lipsum[1-40]
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...