Use \pagestyle{scrheadings}
after end{abstract}
and you will get no headings for the title and abstract pages.
If you want to get headings at the abstract page you can patch the environment abstract
with \etoolbox
:
\usepackage{etoolbox}
\patchcmd\abstract{\titlepage}%
{\titlepage
\thispagestyle{scrheadings}%
\markboth{\abstractname}{\abstractname}%
}{%
\typeout{*******patching \string\abstract\space done*******}%
}{%
\typeout{*******patching \string\abstract\space fails*******}%
}
The command \markboth
is need to get the correct heading.
\documentclass[oneside]{scrartcl}
\KOMAoptions{titlepage=true, abstract=true}
\usepackage[automark]{scrpage2}
\pagestyle{scrheadings}
\chead[]{}
\ihead[]{}
\lehead[]{}
\ohead{\headmark}
\setheadsepline{.6pt}
\setfootsepline{.6pt}
\usepackage{lipsum}
\usepackage{etoolbox}
\patchcmd\abstract{\titlepage}%
{\titlepage
\thispagestyle{scrheadings}%
\markboth{\abstractname}{\abstractname}%
}{%
\typeout{*******patching \string\abstract\space done*******}%
}{%
\typeout{*******patching \string\abstract\space fails*******}%
}
\begin{document}
\title{My Thesis}
\author{It's me}
\maketitle
\thispagestyle{empty}
\addsec{Plagiarism Statement}
I'm not a plagiarist
\clearpage
\begin{abstract}
\lipsum
\end{abstract}
\section{foo}
\lipsum
\end{document}
The normal revtex
style, with the options you have chosen, is not to print a header for the abstract.
You can add the option preprint
, but also 10pt
, because the option also sets 12pt
:
\documentclass[
a4paper,aps,twocolumn,secnumarabic,
balancelastpage,amsmath,amssymb,nofootinbib,
preprint,10pt,
]{revtex4-1}
\begin{document}
\title{My Title}
\author {me}
\date{\today}
\affiliation{University of Somewhere}
\begin{abstract}
My abstract text
\end{abstract}
\maketitle
\end{document}
Another option is to just add \textbf{abstractname}
, which I would prefer, from a typographic point of view.
\documentclass[
a4paper,aps,twocolumn,secnumarabic,
balancelastpage,amsmath,amssymb,nofootinbib,
]{revtex4-1}
\begin{document}
\title{My Title}
\author {me}
\date{\today}
\affiliation{University of Somewhere}
\begin{abstract}
\textbf{\abstractname.} My abstract text
\end{abstract}
\maketitle
\end{document}
Best Answer
Since this template uses the
book
class (which is similar toreport
), we can just copy theabstract
environment definition from there into your preamble:The only difference in the above code in comparison to the
abstract
environment as defined inreport.cls
is that I've\renewenvironment
theabstract
environment and used an explicitAbstract
instead of the now-undefined\abstractname
.