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.
Page Layout ⇒ Acknowledgements Section
NEW: TikZ book now 40% off at Amazon.com for a short time.
Acknowledgements Section
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:
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,...
-
- Posts: 15
- Joined: Sat Jul 25, 2009 12:54 am
Re: Acknowledgements Section
Thank you ever so much! You're a real blessing.