I thought I'd wrap up the evening by quickly vertically centering some text in LaTeX. But, of course, that's not how LaTeX works :/.
I've taken this simple approach.
Here's my MWE:
\documentclass{article}
\begin{document}
\thispagestyle{empty}
\setlength{\parindent}{0cm} % this kills the indentation
\Huge
\vspace*{\fill}
Arbeiten von zu Hause erlaubt es mir, Job und Familie problemlos zu vereinbaren.
Arbeiten von zu Hause erlaubt es mir, Job und Familie problemlos zu vereinbaren.
\vspace*{\fill}
\end{document}
This does not yield precisely vertically centered text, and I have no idea why.
I'm probably missing something obvious.
Update 1: I tried the fix commented by @GuM but it doesn't seem to help.
\documentclass{article}
\begin{document}
\thispagestyle{empty}
\setlength{\parindent}{0cm} % this kills the indentation
\Huge
\vspace*{-1\topskip plus 1fill}
Arbeiten von zu Hause erlaubt es mir, Job und Familie problemlos zu vereinbaren.
Arbeiten von zu Hause erlaubt es mir, Job und Familie problemlos zu vereinbaren.
\par
\vspace*{\fill}
\end{document}




\vspace*{\fill}with\vspace*{-1\topskip plus 1fill}(note the1before\topskip!). I’d also add\parbefore the second\vspace. – GuM Jul 08 '17 at 21:55\vspace*{-1\topskip plus 1fill}but to no avail (see above update). – maxheld Jul 10 '17 at 18:30\topskip=0ptbut it also did not resolve the problem. – maxheld Jul 10 '17 at 18:31\voffset+\headsep+\headheight+\topmarginmake the upper margin between paper and text body;\paperheight-(\voffset+\headsep+\headheight+\topmargin+\textheight)make up the bottom margin. You need to include this into your calculations before you vertically align the motto. – Lupino Dec 20 '17 at 13:30