Le 25 déc. 08 à 05:40, 今井雄治 a écrit :

Hi, users.

I am making opera full score that
all staves include in StaffGroup.
So, SpanBar appear in lyrics line also.
Then, I want to remove SpanBar from lyrics line
as following.
      _
flute |======|======|======|
     |      |      |      |
Horn  |======|======|======|
     |
Vocal |======|======|======|
     |Lyrics  aa bb  cc
Violin|======|======|======|
     |      |      |      |
Viola |======|======|======|
     ~

Any idea for this case.
Thank you.

You can define a new context, for instance based on StaffGroup,
which remove the span bar.

\version "2.11.65"

\layout {
 \context {
   \Score
   \name Score
   \accepts "StaffGroupNoBar"
 }
 \context {
   \StaffGroup
   \name StaffGroupNoBar
   \description "Like StaffGroup, but without spanbar"
   \remove "Span_bar_engraver"
   \accepts "StaffGroupNoBracket"
 }
 \context {
   \StaffGroup
   \name StaffGroupNoBracket
   \description "Like StaffGroup, but without brackets"
   \remove "System_start_delimiter_engraver"
 }
}

\score {
 \new StaffGroupNoBar <<
   \new StaffGroupNoBracket <<
     \new Staff \with { instrumentName = "Flûte" } { c''1 }
     \new Staff \with { instrumentName = "Horn" } { c''1 }
   >>
   \new Staff \with { instrumentName = "Vocal" } <<
     { c'' } \addlyrics { aa }
   >>
   \new StaffGroupNoBracket <<
     \new Staff \with { instrumentName = "Violin" } { c''1 }
     \new Staff \with { instrumentName = "Viola" } { c''1 }
   >>
 >>
}

<<inline: imaiyuji.png>>


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to