18

I'm writing the abstract for my bachelor thesis. Therefore I use LaTeX. Now I have the structure of my document, but it always prints me a page number on the page. It is only one page and instead of my title (abstract) und my abstract text there should be anything on the page.

The command \pagestyle{empty} should remove all header & footer, but it doesn't work

Here's my Script:

\documentclass[a4paper,12pt,headsepline,smallheadings]{scrartcl}

\usepackage[ngerman]{babel}
\usepackage[applemac]{inputenc}

\typearea{12}
\pagestyle{empty}

\title{Abstract}
\author{}
\date{}

\begin{document}

\maketitle

...TEXT...

\end{document}

migrated from stackoverflow.com Oct 11 '11 at 10:42

This question came from our site for professional and enthusiast programmers.

24

\maketitle sets the pagestyle to \titlepagestyle. This can be redefined to be the empty pagestyle by

\renewcommand*{\titlepagestyle}{empty}

Complete example:

\documentclass[a4paper,12pt,headsepline,smallheadings]{scrartcl}

\usepackage[ngerman]{babel}
\usepackage[applemac]{inputenc}

\typearea{12}
\renewcommand*{\titlepagestyle}{empty}


\title{Abstract}
\author{}
\date{}

\begin{document}

\maketitle

...TEXT...

\end{document}
0

Another way is that: inserting \pagestyle{empty} and, eventually, \thispagestyle{empty} after \maketitle.

  • 1
    Welcome, that may work, but using the defined interface for robust changes is better. But i would avoid using \pagestyle here, as it goes on till changed, which can be missed easily. – Johannes_B Sep 23 '15 at 16:48
  • 1
    This is a rather a comment – user31729 Sep 23 '15 at 17:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.