TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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}
share|improve this question

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

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

up vote 18 down vote accepted

\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}
share|improve this answer
    
thanks that helped! – mybecks Oct 12 '11 at 7:53
    
In case you are also using tocloft, make sure to read tex.stackexchange.com/a/137301/15107 – Joachim Breitner May 9 '14 at 9:14

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

share|improve this answer
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 – Christian Hupfer Sep 23 '15 at 17:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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