Text FormattingKOMA-Script vertical centering

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Pangur
Posts: 29
Joined: Thu Jul 19, 2018 4:47 pm

KOMA-Script vertical centering

Post by Pangur »

I have a few verses of poem with space left-over that could accommodate another verse, maybe. I want to center the verses vertically. I have used \begin{verse} and \end{verse} for the poem. How can I push the poem down a bit, please?
I have tried \vspace{3cm}, vfil, vfill, and \flushbottom. None had any perceptible effect on the page.

Any hints would be appreciated please.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

KOMA-Script vertical centering

Post by Stefan Kottwitz »

Hi,

for me, \vfill or \vspace*{\fill} works in such case, placed before and after.

If it doesn't work for you, perhaps show the code that you use.

Stefan
LaTeX.org admin
Pangur
Posts: 29
Joined: Thu Jul 19, 2018 4:47 pm

KOMA-Script vertical centering

Post by Pangur »

Stefan Kottwitz wrote:Hi,

for me, \vfill or \vspace*{\fill} works in such case, placed before and after.

If it doesn't work for you, perhaps show the code that you use.

Stefan
Thanks for the vspace*{\fill}, Stefan. I have not encountered that before. I shall use it next time.
Post Reply