Salut Yves,

Yves Cloutier wrote on Fri, Aug 10, 2018 at 08:00:17PM -0400:

> What approach would I take?

Why don't you study how existing macro packages do it?
More than one package has that feature, so you can even compare.

If you don't understand the code instantly, study the fine
groff manuals to learn what the requests mean that you see
in the code you are looking at.

Then, if specific questions remain, come back and ask those
specific questions.

Another hint: not all groff output devices use fixed width fonts
by default, so horizontal spacing is often not measured in terms
of character widths.

Yours,
  Ingo

Reply via email to