I'm encountering an issue where I have \leaders
that occasionally fall at the beginning of the line and as a result, there are no leaders appearing.
I have for example:
\hsize 9.2cm
Lorem ipsum dolor sit amet\leaders\hbox{.}\hfill 1
Lorem ipsum dolor sit amet, consectetur adipiscing elit\leaders\hbox{.}\hfill 2
\end
and this produces:
Lorem ipsum dolor sit amet ............................ 1
Lorem ipsum dolor sit amet, consectetur adipiscing elit
2
If I add \penalty0\hbox{}\penalty10000
before the \leaders
, I get
Lorem ipsum dolor sit amet ............................ 1
Lorem ipsum dolor sit amet, consectetur adipiscing elit
....................................................... 2
But what I really want is this:
Lorem ipsum dolor sit amet ............................ 1
Lorem ipsum dolor sit amet, consectetur adipiscing
elit .................................................. 2
I've tried adding \penalty
and other things but nothing I try seems to give me the desired result. Am I overlooking something simple?
\documentclass{...}
and ending with\end{document}
.