At 2024-03-17T20:31:55+0100, Alejandro Colomar wrote: > Hmmm, I was about to say inset, but double-checked groff_man(7) to be > sure of the exact term, and then I got confused even more: > > $ man groff_man | grep ' \.\(IP\|RS\) \[' > .RS [insetāamount] > .IP [tag [indentation]] > > Since RS uses the same amount that IP used before it, it seems they > could be the same thing. But then RS uses inset and IP uses > indentation. How do pears be added to apples? :)
Both are (horizontal) measurements, so they are commensurable and additive. Where they differ is in application. An inset applies to all output lines, period. An indentation applies only to a thing called a "paragraph". The various paragraphs types are distinguished primarily by where they apply indentation to their lines. As I put it in the groff's ms(7) documentation, which presents a similar matter... groff_ms(7): Paragraphs Paragraphing macros break, or terminate, any pending output line so that a new paragraph can begin. Several paragraph types are available, differing in how indentation applies to them: ... to the first output line of the paragraph, all output lines, or all but the first. These calls insert vertical space in the amount stored in the PD register, except at page or column breaks, ... Regards, Branden
signature.asc
Description: PGP signature