[Tex/LaTex] How to write abstract and acknowledgement in book format

abstractacknowledgementsbook-designbooks

I need to use this: \documentclass[a4paper,11pt]{book}

I have a main.tex file that organizes all the chapters. There is \frontmatter. In the frontmatter, there is

    \include{acknowledgement }
    \include{abstract}
    \include{dedication}

So, I created 3 files with this name. It kind of works. BUT it does not look like real abstract, ack… or dedication page.

I tried similar to

    \begin{abstract}
    My text
    \end{abstract}

It did not work. Can you please point me, how to add, abstract, dedication, acknowledgment?

Best Answer

A few weeks ago I tried to add a dedication and an abstract to my book-document and this is what I found on the net and adapted:

dedication.tex

\thispagestyle{empty}
    \null\vspace{\stretch {1}}
        \begin{flushright}
                This is the Dedication.
        \end{flushright}
\vspace{\stretch{2}}\null

abstract.tex

\newenvironment{abstract}%
    {\cleardoublepage\thispagestyle{empty}\null\vfill\begin{center}%
    \bfseries\abstractname\end{center}}%
    {\vfill\null}
        \begin{abstract}
        This is the abstract.
        \end{abstract}

acknowledgements.tex

\newenvironment{acknowledgements}%
    {\cleardoublepage\thispagestyle{empty}\null\vfill\begin{center}%
    \bfseries Acknowledgements\end{center}}%
    {\vfill\null}
        \begin{acknowledgements}
        These are the acknowledgements.
        \end{acknowledgements}

main-file.tex

\frontmatter
    \include{content/frontmatter/titlepage}
    \include{content/frontmatter/dedication}
    \include{content/frontmatter/abstract}
    \include{content/frontmatter/acknowledgements}
    \include{content/frontmatter/preface}
    \tableofcontents
        ... and so on ...