Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've added notitlepage option to not get my page counter reset ( according to suggestion : http://tex.stackexchange.com/a/44955/7128 )

but my abstract lost formatting !

Now it has line spacing and margins like rest of document.

How to achieve default look of abstract when notitlepage option is used?

\documentclass[pdftex,a4paper,12pt,twoside,openany]{report}
%\documentclass[pdftex,a4paper,12pt,twoside,openany,notitlepage]{report} % <--- switch to this to see difference
\usepackage{lipsum}
\begin{document}
\linespread{1.6} % interline 2.0
\begin{abstract}
\lipsum[1-3]
\end{abstract}
\chapter{CH}
\lipsum[1-8]
\end{document}

How to achieve same look of abstract with notitlepage as without that option, wile preserving same formatting of rest of document ?

share|improve this question
    
$ texdef -t latex 'abstract' command returns: \abstract: \long macro:->\if@twocolumn \section *{\abstractname }\else \small \begin {center}{\bfseries \abstractname \vspace {-.5em}\vspace {\z@ }}\end {center}\quotation \fi - it looks like sth I'm looking for. Advice how to apply this? –  Grzegorz Wierzowiecki Feb 20 '12 at 8:54
    
Would you please show a MWE? –  egreg Feb 20 '12 at 8:56
    
Done: Added MWE. It shows linespread issue. I haven't managed to show margins issue in MWE. As I will find out how to do this, I will add it. –  Grzegorz Wierzowiecki Feb 20 '12 at 9:04
    
Sorry, I don't follow you. You do get enlarged line spacing and reduced margin with the notitlepage option. Better using the setspace package for playing with the leading. –  egreg Feb 20 '12 at 10:16
    
How to achieve same look of abstract with notitlepage as without, wile preserving same formatting of rest of document ? –  Grzegorz Wierzowiecki Feb 20 '12 at 20:09
add comment

1 Answer

up vote 1 down vote accepted
\renewenvironment{abstract}
  {\newpage\thispagestyle{plain}
   \null\vfil
   \begin{center}%
     \bfseries \abstractname
   \end{center}}
  {\par\vfil\null\cleardoublepage}
share|improve this answer
    
Great, Thank you. Now my document builds right again :) –  Grzegorz Wierzowiecki Feb 21 '12 at 20:47
add comment

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.