14

I am using the book document class and what I would like to do is to have a abstract like text at the start of every chapter (in smaller font outlining what will happen in the chapter, etc.). I don't have a problem changing to amsbook if that helps in anyway.

Example: http://www.amazon.com/Classical-Introduction-Modern-Graduate-Mathematics/dp/038797329X

5
  • 1
    The memoir document class has a built in chapterprecis which looks like it does what you want...
    – Seamus
    Commented Sep 25, 2010 at 17:24
  • I see but then I have never worked with the memoir class, it seems so overly complicated ...
    – Hesam
    Commented Sep 25, 2010 at 20:09
  • Is it easier to start with Latex and add some extra classes or directly learn memoir or Koma?
    – skan
    Commented Nov 10, 2016 at 16:23
  • My answer is this 2 minute video link, youtube.com/watch?v=dF2lCIFoRlI Commented Jul 20, 2020 at 18:19
  • @Hesam Part of the benefit of LaTeX is that changing the class doesn't necessarily require significant changes (if any) to the body of the document. Changing book to memoir on its own shouldn't change anything about your document.
    – Don Hosek
    Commented Jul 22, 2020 at 13:29

4 Answers 4

11

Here is an example that uses one of the KOMA-Script classes to achieve a similar effect:

\documentclass[pagesize=auto, version=last, chapterprefix=true]{scrbook}

\usepackage{amsmath}
\usepackage{amsfonts}

\renewcommand*{\thesection}{\S\enspace\arabic{section}}
\renewcommand*{\dictumwidth}{0.7\textwidth}
\renewcommand*{\raggeddictum}{\raggedright}
\renewcommand*{\raggeddictumtext}{}

\addtokomafont{disposition}{\rmfamily\mdseries}
\addtokomafont{chapterprefix}{\large}
\setkomafont{dictumtext}{\normalfont\normalcolor\itshape\setlength{\parindent}{1em}\noindent}


\begin{document}


\setchapterpreamble{%
  \dictum{%
    The notion of prime number is fundamental in number theory.
    The first part of this chapter is devoted to proving that every integer can be written as a product of primes in an essentially unique way.

    After that, we shall prove an analogous theorem in the ring of polynomials over a field.%
  }%
  \vspace{24pt}%
}

\chapter{Unique Factorization}

\section{Unique Factorization in $\mathbb Z$}


\end{document}
2
  • Nice example of KOMA-Script.
    – TH.
    Commented Sep 25, 2010 at 11:29
  • Is it easier to learn Latex and add some extra classes or directly learn memoir or Koma?
    – skan
    Commented Nov 10, 2016 at 16:23
13

I just use

\begin{quote}
{\small ...}
\end{quote} 
9

You can define a similar abstract environment to your example using

\newenvironment{abstract}{\rightskip1in\itshape}{}

Just use \begin{abstract}...\end{abstract} after your \chapter and then start a \section after that.

2
  • I get an error "Abstract already defined". Could you advise on what to do please?
    – user130222
    Commented Jun 14, 2016 at 18:13
  • @user130222 then just call it something else like ChapterAbstract
    – carandraug
    Commented Feb 9, 2017 at 17:19
4

Output

Abstract at the beginning of the chapter can be inserted using "quote environment". To avoid repetition of the commands at the beginning of each chapter, a "\newcommand" environment is created as preamble. Here I have created a newcommand called "\chapterabstract". For the lines above and below the abstract '\rule' command has been used and to avoid the white space after the bottom line of the abstract '\vskip' command has been used. \lipsum environment is used for the dummy text.

%===============Chapter abs by Chas============
\documentclass[a4paper,11pt]{report}
\usepackage{times,lipsum}
\usepackage[margin=1in]{geometry}
\usepackage[onehalfspacing]{setspace}

\newcommand{\chapabstract}[1]{
    \begin{quote}
        \singlespacing\small
        \rule{14cm}{1pt}
        #1
        \vskip-4mm
        \rule{14cm}{1pt}
\end{quote}}

\begin{document}

\chapter{An Abstract at the Start of Each Chapter}
\chapabstract{\lipsum[2]}

\lipsum[2-3]
 
\chapter{Introduction}
\chapabstract{\lipsum[1]}

\lipsum[1]
\end{document}

Reference: https://www.youtube.com/watch?v=dF2lCIFoRlI

2
  • Is there a way to make rules as large as the quote ? If one want use a different geometry parameters
    – Welgriv
    Commented Dec 8, 2021 at 10:16
  • Replace 14cm -> \linewidth to make the rules the width of the quote.
    – kc9jud
    Commented Aug 15 at 16:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .