[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue 227 in project lilypond
From: |
codesite-noreply |
Subject: |
Issue 227 in project lilypond |
Date: |
Sun, 07 Jan 2007 12:06:00 -0800 |
Issue 227: ChoirStaff with Instrument_name_engraver (instrument name aligns
with lyrics)
http://code.google.com/p/lilypond/issues/detail?id=227
New issue report by gpermus:
Daniel Johnson reports:
When the Instrument_name_engraver is added to a ChoirStaff, GrandStaff or
StaffGroup, and that composite-staff contains child Lyrics contexts, those
Lyric contexts inherit the instrumentName (and shortInstrumentName) from
the parent context; so, for example, if a ChoirStaff contains two Lyrics
children, the instrumentName will print three times (once for the
ChoirStaff and once each for the Lyrics). The following example
illustrates this. To avoid this, the Instrument_name_engraver must be
explicitly removed from the Lyrics context.
\version "2.11.9"
\paper{ ragged-right = ##t}
trbText = \lyricmode { Foo }
tenText = \lyricmode { Bar }
basText = \lyricmode { Baz }
\score {
<<
\new ChoirStaff
<<
\new Staff = trbVoxStaff { \context Voice = trbVoice { <c''
e'>1 } }
\new Lyrics = trbLyrics { s2. }
\new Staff = tenVoxStaff { \context Voice = tenVoice { \clef
"G_8" g1 } }
\new Lyrics = tenLyrics { s2. }
\new Staff = basVoxStaff { \context Voice = basVoice { \clef
bass c1 } }
>>
\context Lyrics = trbLyrics \lyricsto trbVoice \trbText
\context Lyrics = tenLyrics \lyricsto tenVoice \tenText
\lyricsto basVoice \new Lyrics \basText
>>
\layout
{
\context {
\ChoirStaff
\consists Instrument_name_engraver
instrumentName = "Coro"
}
% Uncomment the following line to fix the problem
%\context { \Lyrics \remove Instrument_name_engraver }
}
}
Attachments:
foo.preview.png 5K
Issue attributes:
Status: Accepted
Owner: gpermus
Labels: Type-Defect Priority-Medium
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
- Issue 227 in project lilypond,
codesite-noreply <=