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 12:18:39 +0200

On 2024-04-16 10:04, Thomas Dupond wrote:

> Le 2024-04-16 à 09:49, Jan Eden a écrit :
> > [...]
> > 
> > > You can see what a list should look like thanks to the document
> > > "mon_premier_doc.pdf" provided with your groff install.
> > > 
> > > On my debian system it is present at
> > > /usr/share/doc/groff/examples/mom/mon_premier_doc.pdf.gz
> > 
> > Thanks – this document displays the same (minimal) spacing I described
> > above.
> > 
> > > In case you do want to modify the spacing you can follow the 
> > > documentation:
> > > 
> > > - locally at 
> > > file:///usr/share/doc/groff-base/html/mom/docelement.html#list
> > > - online at http://www.schaffter.ca/mom/momdoc/docelement.html#list
> > 
> > I did read the documentation on lists, but I only found a <space>
> > argument to the .ITEM macro, which refers to the vertical spacing
> > between list elements.
> 
> 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)!

- Jan



reply via email to

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