Is there a command or package which would allow me to draw a line in the largest available space in the way that \hfill
fills up the remaining space in a line?
i.e., a command to draw a line from the end of the text, wherever it happens to fall, to the right edge of the textwidth (leaving space for any additional text indented to be at the end of the line)?
Best Answer
You can use ordinary
\hrulefill
. There is also\dotfill
for dots. For advanced controlxhfill
may be used.