lilypond-user
[Top][All Lists]
Advanced

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

voltaOnThisStaff property in the master file's \layout block


From: Romel Anthony S. Bismonte
Subject: voltaOnThisStaff property in the master file's \layout block
Date: Thu, 26 Jul 2007 17:21:50 +1000

I found the following fix in the LSR, which puts volta brackets above the chord names:

\version "2.10.0"
\score { <<
 \new ChordNames \with {
   voltaOnThisStaff = ##t
 } \chordmode {
   c1 c
 }
 \new Staff \with {
   voltaOnThisStaff = ##f
 }
 {
   \repeat volta 2 { c'1 } \alternative { c' }
 }
}

The thing is, I have a lot of these music files I would like to do this to. The idea is that there is one master file, which contains paper, layout settings, scheme functions, static music identifiers, and so on, and then there are several \include statements in there that contain the actual pieces. Is there a way to set the voltaOnThisStaff property in the layout block in the master file?

Of course, it would be OK if this were not settable in the master file; I could just edit the individual music files to contain the definition. But something tells me that there must be a way.

Thanks in advance for any input.

Romel




reply via email to

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