Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    I did not know about \hfilneg. Nice answer! Is there a reason you use \penalty0 instead of \allowbreak? Commented Feb 23, 2021 at 21:37
  • 1
    No, there is no reason. I prefer to use primitives (I don't need to remember many other control sequences), but there are usable shortcuts: \nobreak instead of \penalty10000, for instance). Commented Feb 24, 2021 at 6:41
  • In one place I did this, the line doesn't stretch out all the way. Is this because the line is "underfull" or because of some artifact of this workaround? Commented Feb 8, 2023 at 19:53