groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding macro for code listings title to the mm macros.


From: Michał Kruszewski
Subject: Re: Adding macro for code listings title to the mm macros.
Date: Tue, 11 May 2021 11:05:58 +0000

> I normally just use .FG to title my code listings.

But in such case you need to modify the "Lifg" dynamically.
What is more, you increase the register 'Fg' counter on listings.
And what about the list of figures?
Does it become list of figures and listings?

Best regards,
Michał Kruszewski


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, May 11, 2021 12:55 PM, Damian McGuckin <damianm@esi.com.au> wrote:

> On Tue, 11 May 2021, Micha? Kruszewski via wrote:
>
> > I have been looking for an alternative to the Latex for writing academic
> > thesis and I have found groff and mm macros to be the best choice. The
> > only thing that I am missing by default is the macro for code listings
> > titles. I was wondering whether the groff mm macros are considered to be
> > frozen and no more functionality is added, or minor additions are
> > acceptable? I am aware that I can write my own custom macro, but I think
> > others may also benefit from having macro for code listing title by
> > default. It would be very similar to the "FG" macro, and would probably
> > be named "LS" or "LST".
>
> I normally just use .FG to title my code listings.
>
> Thanks - Damian
>
> Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
> Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
> Views & opinions here are mine and not those of any past or present employer





reply via email to

[Prev in Thread] Current Thread [Next in Thread]