Page LayoutCentering Abstract in the book

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
azizever83
Posts: 41
Joined: Sun Apr 08, 2012 4:31 pm

Centering Abstract in the book

Post by azizever83 »

Hello,
I'm using the document class book. I want to write the Abstract, Ack and Dedication in the center of the page. How can I do that?
Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Centering Abstract in the book

Post by Johannes_B »

Code: Select all

\documentclass{book}
\begin{document}
\vspace*{\fill}
Your abstract here
\vfill\cleardoublepage
\vspace*{\fill}
Your acknowledgements here
\vfill\cleardoublepage
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
azizever83
Posts: 41
Joined: Sun Apr 08, 2012 4:31 pm

Re: Centering Abstract in the book

Post by azizever83 »

Hi Johannes,
Thanks for this info. I seems to be OK, but one problem is that the text is not at the top of the page. it is in the center of the left and right side, but I don't want the vertical space.
Thanks
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Centering Abstract in the book

Post by Johannes_B »

Yes, that is exactly what it is supposed to do. Your question wasn't clear to me. I thought that \begin{center} Abstrct \end{center} would be too obvious.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply