8

How can I make vertical dotfill?

In other words, I need vertical (dashed) line which will fill all available vertical space.

(I tried to make it via rules, but not successfully.)

1 Answers1

8

You can use leaders:

\documentclass{article}

\usepackage{lipsum} % mock text

\newcommand{\dotvfill}{%
  \par\leaders\hbox{$\cdot$}\vfill}

\begin{document}
\lipsum[2]
\dotvfill
\end{document}

enter image description here

egreg
  • 1,121,712