LaTeX users online

In total there are 4 users online :: 1 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: Google [Bot] and 3 guests

Acknowledgements Section

LaTeX Forum: Page Layout

Add tags Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).

Postby phoneticist on Sun Jul 26th, 2009

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.
phoneticist
 
Posts: 15
Joined: Sat Jul 25th, 2009

Postby gmedina on Sun Jul 26th, 2009

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  •  Open in online LaTeX editor
\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,...
User avatar
gmedina
 
Posts: 2313
Joined: Wed Jul 11th, 2007
Location: Colombia

Postby phoneticist on Sun Jul 26th, 2009

Thank you ever so much! You're a real blessing.
phoneticist
 
Posts: 15
Joined: Sat Jul 25th, 2009


Return to Page Layout

LaTeX users online

Users browsing this forum: Google [Bot] and 3 guests