[Tex/LaTex] Draw a line halfway down a page

rules

Is there a way to draw a horizontal line across a page at the halfway mark, without changing the text at all?

I've got to write a document that is one and a half pages long. I've been trying to measure what half a page is without having to print it out and use a ruler each time, then realized there is probably a way to just print a line on each page, so I can see where half a page is. However, how do I specify to put this line at the 1/2 way mark, and not change the text layout at all?

Best Answer

\documentclass{article}
\usepackage{eso-pic}
\usepackage{blindtext}
\AddToShipoutPictureBG{%
    \AtTextCenter{\hspace{-0.5\textwidth}\rule{\textwidth}{0.5pt}}}

\begin{document}
\blinddocument
\end{document}

or

\AddToShipoutPictureBG{%
    \AtTextCenter{\hspace{-0.6\textwidth}\rule{1.2\textwidth}{0.5pt}}}

enter image description here