Page LayoutBalancing the layout automatically on the cover

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
arobase
Posts: 33
Joined: Sat Apr 14, 2012 7:46 pm

Balancing the layout automatically on the cover

Post by arobase »

I'm creating the cover of a memoir which has three parts : top, center and bottom. What set of commands / package can take care of placing them automatically such as the whole height of the page is used, as opposed to manually setting the distance between each pair of paragraphs?

Code: Select all

\usepackage{memoir}
\usepackage[margin=1in]{geometry}
\begin{document}
\begingroup \noindent
The top.

\vspace{100pt} % Can Latex do that for me?

The center.

\vspace{100pt} % Can Latex do that for me?

The bottom.

\endgroup
\clearpage
\end{document}
Thanks.

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Balancing the layout automatically on the cover

Post by Stefan Kottwitz »

Hi,

you could use \vfill for this. Just insert this command at both places instead of \vspace{100pt}, then the space is filled and equally stretched so that the page is completely filled.

Btw. very good that you tried to post a minimal example! Just \documentclass{memoir} should be used instead of \usepackage{memoir}. Not a big deal, but it shows you did not test your example ;-) in another case it could be very relevant if the untested constructed minimal example would not match the real problem because it wasn't tried.

Stefan
LaTeX.org admin
arobase
Posts: 33
Joined: Sat Apr 14, 2012 7:46 pm

Balancing the layout automatically on the cover

Post by arobase »

Stefan_K wrote:Hi,

you could use \vfill for this. Just insert this command at both places instead of \vspace{100pt}, then the space is filled and equally stretched so that the page is completely filled.
Thank you.
Btw. very good that you tried to post a minimal example! Just \documentclass{memoir} should be used instead of \usepackage{memoir}.
You caught my inattention.
Post Reply