TransWikia.com

An 'abstract' at the start of every chapter?

TeX - LaTeX Asked by Hesam on July 25, 2020

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

3 Answers

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}{Senspacearabic{section}}
renewcommand*{dictumwidth}{0.7textwidth}
renewcommand*{raggeddictum}{raggedright}
renewcommand*{raggeddictumtext}{}

addtokomafont{disposition}{rmfamilymdseries}
addtokomafont{chapterprefix}{large}
setkomafont{dictumtext}{normalfontnormalcoloritshapesetlength{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}

Correct answer by Philipp on July 25, 2020

I just use

begin{quote}
{small ...}
end{quote} 

Answered by Mephisto on July 25, 2020

You can define a similar abstract environment to your example using

newenvironment{abstract}{rightskip1initshape}{}

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

Answered by TH. on July 25, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP