Hi Xianwen, John wrote: > When learning to use Groff for the first time, my biggest hurdle was > figuring out where/what everything was. I went some time believing > man(7) macros were a built-in part of the language. You can liken Roff > and its macro-packages to TeX and LaTeX — the former is low-level and > impractical for everyday use, whereas the latter is a higher-level > abstraction intended for commonplace usage.
If that distinction is unclear then reading Kernighan's CSTR 54 may help as the tutorial at the end creates macros. https://troff.org/54.pdf I'd also highly recommend it as a good concise introduction to troff, and an easy reference to keep returning to. -- Cheers, Ralph.