groff
[Top][All Lists]
Advanced

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

Re: Re: Enumerator spacing in bullet lists with mom


From: Jan Eden
Subject: Re: Re: Enumerator spacing in bullet lists with mom
Date: Tue, 16 Apr 2024 15:34:19 +0200

On 2024-04-16 13:57, Thomas Dupond wrote:

> Le 2024-04-16 à 12:18, Jan Eden a écrit :
> > [...]
> > > 
> > > You could do something like this:
> > > 
> > > .LIST USER "\[bu]\h[0.3c]"
> > > .ITEM
> > > First item
> > > .ITEM
> > > Second item
> > > .LIST OFF
> > 
> > That works, thank you (although it is a bit of a hack, and I expected a
> > more structured option to control the spacing)!
> 
> If this is to much to bare you can hide it under the carpet with your own
> macro like such:
> 
> .de maListe
> .LIST USER "\[bu]\h[0.3c]"
> ..
> .maListe
> .ITEM
> First item
> .ITEM
> Second item
> .LIST OFF
> 
> Or if you want to be able to change it on the fly you can do:
> 
> .de maListe
> .LIST USER "\[bu]\h[\\$1]"
> ..
> .maListe 0.3c
> .ITEM
> First item
> .ITEM
> Second item
> .LIST OFF
> 
> Have fun :)

Nice – thanks again! I am afraid I came across as overly demanding,
whereas I was just genuinely surprised that the mom .LIST macro does
not provide a "native" way to change the spacing.

- Jan



reply via email to

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