If a staff is included in a group like a GrandStaff or StaffGroup, the
grouping bracket graphic pushes the shortinstumentName string off the
left hand edge of the output PDF document. I've attached a demonstration.
Tested with 2.13.17, 2.13.29 and 2.13.30.
Cheers,
Ian
\version "2.10.0"
\header {
title = "Test Piece"
subtitle = "for flute ensemble"
composer = "Me"
arranger = "Me"
}
\layout {
\context { \Score
autoBeaming = ##t
\override BarNumber #'break-visibility = #begin-of-line-visible
barNumberVisibility = #first-bar-number-invisible
markFormatter = #format-mark-box-letters
\override CombineTextScript #'avoid-slur = #'inside
\override DynamicTextSpanner #'dash-period = #0.25
}
}
piccTwoMusic = {
\key g \minor
\time 2/4
\relative c''' {
\repeat unfold 80 {
g16 g16 g16 g16 g16 g16 g16 g16 |
}
}
}
piccOneMusic = {
\key g \minor
\time 2/4
\relative c''' {
\repeat unfold 80 {
d16 d16 d16 d16 d16 d16 d16 d16 |
}
}
}
FlOneMusic = {
\key g \minor
\time 2/4
\relative c''' {
\repeat unfold 80 {
bes16 bes16 bes16 bes16 bes16 bes16 bes16 bes16 |
}
}
}
FlTwoMusic = {
\key g \minor
\time 2/4
\relative c'' {
\repeat unfold 80 {
d16 d16 d16 d16 d16 d16 d16 d16 |
}
}
}
FlOtherMusic = {
\key g \minor
\time 2/4
\relative c'' {
\repeat unfold 80 {
g16 g16 g16 g16 g16 g16 g16 g16 |
}
}
}
\book {
\bookpart {
\header {
subsubtitle = "Short Name OK"
}
\score {
\new Staff {
\set Staff.instrumentName ="Flute 1"
\set Staff.shortInstrumentName = "Fl 1"
\FlOneMusic
}
}
}
\bookpart {
\header {
subsubtitle = "Short Names forced off left hand side"
}
\score {
\new StaffGroup <<
\new GrandStaff <<
\new Staff {
\set Staff.instrumentName ="Piccolo 1"
\set Staff.shortInstrumentName = "Picc 1"
\piccOneMusic
}
\new Staff {
\set Staff.instrumentName ="Piccolo 2"
\set Staff.shortInstrumentName = "Picc 2"
\piccTwoMusic
}
>>
\new StaffGroup <<
\new Staff {
\set Staff.instrumentName ="Flute 1"
\set Staff.shortInstrumentName = "Fl 1"
\FlOneMusic
}
\new Staff {
\set Staff.instrumentName ="Flute 2"
\set Staff.shortInstrumentName = "Fl 2"
\FlTwoMusic
}
\new Staff {
\set Staff.instrumentName ="Flute 3"
\set Staff.shortInstrumentName = "Fl 3"
\FlOtherMusic
}
\new Staff {
\set Staff.instrumentName ="Flute 4"
\set Staff.shortInstrumentName = "Fl 4"
\FlOtherMusic
}
\new Staff {
\set Staff.instrumentName ="Flute 5"
\set Staff.shortInstrumentName = "Fl 5"
\FlOtherMusic
}
>>
\new Staff {
\set Staff.instrumentName ="Alto Flute"
\set Staff.shortInstrumentName = "A Fl"
\FlOtherMusic
}
\new Staff {
\set Staff.instrumentName ="Bass Fl"
\set Staff.shortInstrumentName = "B Fl"
\FlOtherMusic
}
>>
}
}
}
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond