Page LayoutAcknowledgements Section

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
phoneticist
Posts: 15
Joined: Sat Jul 25, 2009 12:54 am

Acknowledgements Section

Post by phoneticist »

Hello all,

I have encountered a bit of a problem while putting together a master file for my thesis project. I am using a documentclass{report} and it doesn't seem to generate the Acknowledgements Section (to be inserted AFTER 'Abstract' and BEFORE 'Contents' sections). I tried to make it a separate chapter* but the formatting looks drastically different from that of an abstract. I would really prefer them to be uniform.

If anyone has a solution to this, I would very much appreciate your help.

Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Acknowledgements Section

Post by gmedina »

Hi,

the standard document classes do not have a native acknowledgments environment predefined; however, you can buid one (imitating the abstract environment). The following sample code ahows how to proceed:

Code: Select all

\documentclass{report}
\usepackage{lipsum}% just to automatically generate text

\makeatletter
\newcommand\ackname{Acknowledgements}
\if@titlepage
  \newenvironment{acknowledgements}{%
      \titlepage
      \null\vfil
      \@beginparpenalty\@lowpenalty
      \begin{center}%
        \bfseries \ackname
        \@endparpenalty\@M
      \end{center}}%
     {\par\vfil\null\endtitlepage}
\else
  \newenvironment{acknowledgements}{%
      \if@twocolumn
        \section*{\abstractname}%
      \else
        \small
        \begin{center}%
          {\bfseries \ackname\vspace{-.5em}\vspace{\z@}}%
        \end{center}%
        \quotation
      \fi}
      {\if@twocolumn\else\endquotation\fi}
\fi
\makeatother

\begin{document}

\begin{abstract}
  \lipsum[1]
\end{abstract}

\begin{acknowledgements}
  \lipsum[1]
\end{acknowledgements}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
phoneticist
Posts: 15
Joined: Sat Jul 25, 2009 12:54 am

Re: Acknowledgements Section

Post by phoneticist »

Thank you ever so much! You're a real blessing.
Post Reply