# Inserting abstract into book document

I am trying to insert a abstract into my document as shown below, this gives me an error 'Environment abstract undefined'. I have used this format a few times without this problem occurring, I believe this is down to the use of book as a document class. I don't want the abstract to be a chapter.

\documentclass[a4paper,10pt]{book}
\usepackage[utf8]{inputenc}

\begin{document}
\begin{abstract}
Insert anstract here
\end{abstract}


Thanks

• That is true; book does not define an abstract environment, while something like article does. What do you want the output to look like... similar to that of article? – Werner Mar 3 '13 at 17:53
• You should have a look at tex.stackexchange.com/questions/68222/…. – jub0bs Mar 3 '13 at 18:34
• similar to an article but with chapters includes. I don't like the standard article document, as I was using far too many subsections. – mitchnufc Mar 3 '13 at 20:11

Other than the suggested link in one of the comments, you may also simply use:

\addchap*{Abstract}


To have a nice chapter heading that does not appear in the ToC. At least, that is the way to go when using the class scrbook.

For the document class book, you can use:

\chapter*{Abstract}


To achieve the same.

I would solve it in this way:

\documentclass{book}
\usepackage{lipsum}

%   Reduce the margin of the summary:
\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
\let\endchangemargin=\endlist

%   Generate the environment for the abstract:
\newcommand\summaryname{Abstract}
\newenvironment{Abstract}%
{\small\begin{center}%
\bfseries{\summaryname} \end{center}}

\begin{document}

\chapter{Title of the chapter}

% Insert bastract
\begin{Abstract}
\begin{changemargin}{1cm}{1cm}
\end{changemargin}
\end{Abstract}

\section{Title of the section}
\lipsum[17]

\end{document}