lilypond-user
[Top][All Lists]
Advanced

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

Re: Setting \compressEmpryMeasures globally


From: Jean Abou Samra
Subject: Re: Setting \compressEmpryMeasures globally
Date: Sun, 8 Aug 2021 07:22:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

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]