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.)

3

1 Answer 1

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

2
  • Why is there an empty pair of brackets after [1]?
    – Sigur
    Apr 1, 2013 at 14:26
  • 1
    @Sigur A remainder of an earlier try. Fixed.
    – egreg
    Apr 1, 2013 at 14:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .