Page Layout ⇒ Acknowledgements Section
-
- Posts: 15
- Joined: Sat Jul 25, 2009 12:54 am
Acknowledgements Section
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Acknowledgements Section
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}
-
- Posts: 15
- Joined: Sat Jul 25, 2009 12:54 am