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