From: fred Date: Mon, 19 Feb 2001 19:23:47 +0000 (+0000) Subject: lilypond-1.3.130 X-Git-Tag: release/1.5.59~5708 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e780a9f729b4ddae8d71f30908ec465ecdd4d2f3;p=lilypond.git lilypond-1.3.130 --- diff --git a/input/bugs/gr-instrument.ly b/input/bugs/gr-instrument.ly new file mode 100644 index 0000000000..1530f769a6 --- /dev/null +++ b/input/bugs/gr-instrument.ly @@ -0,0 +1,42 @@ +%{ +instrument names on grandstaffs. GR is centered on entire score +%} + +\version "1.3.129" +\include "paper20.ly" +\header{ + latexpackages = "amsmath"; +} + +\score{ + \notes < + \context Staff = sa {\property Staff.instrument = "A" g,2 c''''2} + \context Staff = sb {\property Staff.instrument = "B" g,2 c''''2} + \context GrandStaff=gs < + \property GrandStaff.instrument = "Gr" + \context Staff = ga {\property Staff.instrument = "" c''1 } + \context Staff = gb {\property Staff.instrument = "" c''1 } + > + \context Staff = sc {\property Staff.instrument = "foobar" +% "\small$\mathrm{\genfrac{}{}{0pt}{0}{C}{D}}$" + + } + \context Staff = sd {\property Staff.instrument = "E" c''1 } + + > + \paper{ + \translator { + \StaffContext + \consists "Instrument_name_engraver"; + } + \translator { + \GrandStaffContext + \consists "Instrument_name_engraver"; + } + + } +} + + + +