lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove SpanBar from lyrics line in StaffGroup


From: Nicolas Sceaux
Subject: Re: Remove SpanBar from lyrics line in StaffGroup
Date: Thu, 25 Dec 2008 12:38:45 +0100

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 }
   >>
 >>
}

PNG image



reply via email to

[Prev in Thread] Current Thread [Next in Thread]