I would center horizontally and vertically a block of text as if it was an abstract text block.How can I do?
I tried this:
\null\vfill
\begin{center}
\end{center}
\vfill\null
it It correct?
horizontal alignmentvertical alignment
I would center horizontally and vertically a block of text as if it was an abstract text block.How can I do?
I tried this:
\null\vfill
\begin{center}
\end{center}
\vfill\null
it It correct?
Best Answer
A "correct" way could be
The top vertical space should be
\vspace*
, so it doesn't disappear at the break. The justified text will be on a line width that's 6/10 of the normal line width, change the fraction to suit you.You can in a similar way decide also for different spaces at the top and at the bottom; for instance
will leave spaces in the proportion 2/3; something of this kind can turn useful for a dedication page, as the dedication is usually not in the center of the page.
If you need that the text inside the minipage has indented paragraphs as the normal text, then
center
andminipage
are not good. This can be accomplished by a more complicated construction:The package
lipsum
just produces some text.