Usually I use the lipsum
package to produce random text. But sometimes I want to test something just after the text (e.g. some \hrulefill
command).
I noticed that \lipsum[1]
ends with a \par
or \newline
or something similar.
How to avoid this so that \lipsum[1]\hfill{foo}
works like foo\hfill{foo}
?
Best Answer
lipsum
provides a starred version of the traditional\lipsum
macro which suppresses the paragraph breaks, or the package optionnopar
that removes the paragraph breaks altogether:From the
lipsum
documentation (p 2):