Re: Odd spacing behaviour
Dave Kemper <[email protected]> Thu, 12 Mar 2026 17:05:01 -0500
| Newsgroups | gmane.comp.printing.groff.general |
|---|---|
| Message-ID | <CACRhBXNGczab_2GHWGAB83Ku=qZkwQqy88mYpwOciC4nNdgPRA@mail.gmail.com> |
On Thu, Mar 12, 2026 at 3:43 PM Morten Bo Johansen <[email protected]> wrote: > Okay. I have seen some minor spacing justification in some texts I have > written, but I didn't know it could get this extreme ;) Well, the fewer spaces roff has to work with, the more each space has to expand: the formatter will always bring the text to both margins under ".ad. n". (This assumes there are spaces or other breakpoints to work with: if there are none, such as in a lengthy string without spaces like a URL, text may fall short of or go past the right margin.) But typically in a situation such as you're demonstrating, where a horizontal line goes most of the width of a page, you'll explicitly ask for a break before the horizontal line, which will result in more reasonable layout of the preceding text.