Hi Oliver, Dave wrote: > > Is there any possibility to count leading spaces in groff? > > See the documentation for the \n[lsn] register.
Which can be seen with info groff 'Leading Spaces Traps' | cat I'd been playing with an input trap, ‘.it’, so you might be interested to learn about those too, but Dave's suggestion is more relevant for what you asked. -- Cheers, Ralph.