]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/staff-margin.ly
patch::: 1.5.4.jcn3
[lilypond.git] / input / regression / staff-margin.ly
1 \version "1.3.146"
2 \header{
3 texidoc="
4 Staff margins are also markings attached to barlines.  They should be
5 left of the staff, and be centered vertically wrt the staff.  They may
6 be on normal staves, but also on compound staves, like the PianoStaff
7 "
8 }
9
10         
11
12
13 \score {
14
15   \notes \context PianoStaff <
16     \context Staff = treble    {
17       \property PianoStaff.instrument = "Piano "
18       \property Staff.instrument = "Right " { c''4 }}
19     \context Staff = bass { \property Staff.instrument = "Left " \clef bass c4 }>
20
21 \paper {
22 linewidth=-1.0
23 \translator { \ScoreContext
24         
25         }
26 \translator { \StaffContext \consists "Instrument_name_engraver" }
27 \translator { \PianoStaffContext \consists "Instrument_name_engraver" }
28 }}
29