(custom-sized with the geometry package). The example below
produces the expected result: horizontally centered "text"
in the first line. I also show the margin for better orientation.
Code: Select all
\documentclass[8pt]{extarticle}
\usepackage[papersize={250pt,80pt},margin=5pt,nohead,nofoot]{geometry}
\geometry{showframe}
\pagestyle{empty}
\setlength{\parindent}{0pt}
\begin{document}
\centering text
\end{document}
the "text" moves away from the top margin; at 60pt, it is roughly
vertically centered. How can I fix this so that it remains at the
top even for shorter pages?
Thank you for any ideas.