lilypond-user
[Top][All Lists]
Advanced

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

Re: Setting \compressEmpryMeasures globally


From: Brent Annable
Subject: Re: Setting \compressEmpryMeasures globally
Date: Sun, 8 Aug 2021 15:30:20 +1000

Damn, I was sure I tried all of them. 

Oh well, thanks for the reply, and sorry for the bother :-S

Brent.

On Sun, 8 Aug 2021 at 15:22, Jean Abou Samra <jean@abou-samra.fr> wrote:
Le 08/08/2021 à 07:15, Brent Annable a écrit :
> Hi all,
>
> Just a quick question: I'm currently re-using some vocal music files
> I've set to create instrumental parts. I have all the notes stored as
> variables in separate files, and am working in a parent file to create
> the instrumental parts. I want to introduce a \compressEmptyMeasures
> command somewhere in my parent file without having to mess with the
> notes files, but I can't seem to find a way to do it. I've read
> through the documentation, I've tried putting it into \Score, \Staff
> and \Voice contexts in the \layout block, I've tried \with {
> \compressEmptyMeasures}, but nothing seems to work.
>
> Is there a way to set this globally somehow, or at least without
> having to paste it dozens of times into the individual voice files?
>
> Many thanks,
>
> Brent.


In \layout { \context { \Score ... } }, it should work fine. What am I
missing?


\version "2.22.1"

\layout {
   \context {
     \Score
     \compressEmptyMeasures
   }
}

{ R1*30 }


Best,
Jean

reply via email to

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