> On 18 Nov 2023, at 11:25, Peter Mayes <pe...@petermayes.org> wrote:
> 
> If I use \compressMMRests{} for a multi-bar rest, the number of bars of rest 
> gets placed about the rest, which is fine.
> 
> If the rest is only one bar long, then I don't get the number "1" placed 
> above the rest, even if I use \compressMMRests.
> 
> I would like the number 1 to appear, even with a single bar. I guess some 
> sort of "\markup" could be used, but is there a way to get this to happen 
> automatically?
> 
> Also, if I have a three bar rest, I get two rest marks - one for two bars, 
> and one for one bar. Is there a way to force Lilypond to use the extended 
> rest marker (not sure what it is called - elongated horizontal line with 
> short end vertical lines) for all multi-bar rests of length two bars or more?
Peter,

See
https://lilypond.org/doc/v2.24/Documentation/notation/writing-parts#compressing-empty-measures

Snippets >> Numbering single measure rests
\set restNumberThreshold = 0
should get you what you desire
> 
> Thanks in advance.
> 
> --
> Best wishes -- Peter
> --
> Peter Mayes
> 07460 890503
> 
> 

Reply via email to