I am trying to specify the location of text from the top of a page. I know how to set the margins for the main text and can set the top, bottom, left, and right margins for certain pages using the \newgeometry command, but I need to positing the title 2.5 inches from the top of the page and a horizontal line 4.5 inches from the top of the page. I use the \vspace*{\fill} command to position the copyright at the bottom of the page.

My question is how do I position text in the middle of a page a specified distance from the top of a page without using \vspace. Here are the actual distances from the top of the page I am trying to achieve:

enter image description here


You can use the textpos package for such placement. Here is a simple example placing some text centered and 2.5in from the top of the page:




  Sample Text


Sample output

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.