0

Is it possible to draw a horizontal line through the center of the page (such as with \hrule) regardless of the content of a page.

3

The following code could be a way...

\documentclass{article}
\usepackage{tikz}

\begin{document}
\tikz[overlay,remember picture]
    \draw (current page.west) -- (current page.east);
\end{document}

enter image description here

  • 1
    AFAIK, the positioning library is not needed for that. :) – frougon Apr 8 '19 at 17:43

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.