> So if you see a one-letter macro, it's definitely a macro and not a
> standard troff request.
True. But I must memorize that
.x
is a font-change macro. If it were
.Ufont bi
I am more likely to remember that the font will change to Bold Italic.
And it is from the U set.
And someday it could take the cbi argument. Constant-Width Bold Italic
But I say again, very nice!
Welcome to the Macro Writers Guild.
Mike
On Thu, Jul 01, 2021 at 09:44:13PM +0200, John Ankarström wrote:
> Den 2021-07-01 kl. 21:15 skrev Mike Bianchi:
> > With just a quick glance, I like what you've done.
> > I can see myself using it sometime soon.
> >
> > One suggestion, give the Inline, Environment and Other macros 2 or 3
> > character names with a common theme so they stand separate from the groff
> > commands and macros.
> >
> > [...]
> >
> > I have so many documents where _all_ the groff actions are in lower case
> > and I don't know where to look when I need to understand the action and
> > syntax. Is it native groff? Or the mm macro package? Or something I
> > wrote?
> >
> > Now when writing my own macros I tend to make them start with a capital
> > letter
> > or be all capitals.
>
> Thanks a lot! The neat thing about the one-letter lowercase macros,
> though, is that all built-in troff macros are two letters (or more). So
> if you see a one-letter macro, it's definitely a macro and not a
> standard troff request.
--
Mike Bianchi
Foveal Systems
973 822-2085
[email protected]
http://www.AutoAuditorium.com
http://www.FovealMounts.com