Re: [GUB 2.7.36-1] Lyrics inherits InstrumentName from its parent context
On Sunday 26 February 2006 20.41, Andrzej Kopec wrote: > Lyrics context inherits InstrumentName from its parent context and EXTENT. That's the way properties work. You need to explicitly set the instrument names in lyrics contexts to '() if ChoirStaff has an instrument_name_engraver. Hint: Check how staffs do this in engraver-init.ly. -- Erik ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
[GUB 2.7.36-1] Lyrics inherits InstrumentName from its parent context
Lyrics context inherits InstrumentName from its parent context and EXTENT. example: %%% \version "2.7.36" \score { \context ChoirStaff \with { \consists Instrument_name_engraver instrument = \markup { " " \translate #'(-3 . -27) "CORO" } instr = \markup { " " \translate #'(-3 . -12) "coro" } } << \context Staff = "1" \with {instrument = "S" } \context Voice = "v1" { c'4 d' e' f' } \context Lyrics = "l1" {s1} \context Staff = "2" \with {instrument = "A" } \context Voice = "v2" { c'4 d' e' f' } \context Lyrics = "l2" {s1} \context Staff = "3" \with {instrument = "T" } \context Voice = "v3" { c'4 d' e' f' } \context Lyrics = "l3" {s1} \context Staff = "4" \with {instrument = "B" } \context Voice = "v4" { c'4 d' e' f' } \context Lyrics = "l4" {s1} %% --- \context Lyrics = "l1" \lyricsto "v1" \lyricmode{ la -- la -- la -- la } \context Lyrics = "l2" \lyricsto "v2" \lyricmode{ la -- la -- la -- la } \context Lyrics = "l3" \lyricsto "v3" \lyricmode{ la -- la -- la -- la } \context Lyrics = "l4" \lyricsto "v4" \lyricmode{ la -- la -- la -- la } >> } %%% best, /ak/ %%% -*- coding: utf-8 -*- \version "2.7.36" \score { \context ChoirStaff \with { \consists Instrument_name_engraver instrument = \markup { " " \translate #'(-3 . -27) "CORO" } instr = \markup { " " \translate #'(-3 . -12) "coro" } } << \context Staff = "1" \with {instrument = "S" } \context Voice = "v1" { c'4 d' e' f' } \context Lyrics = "l1" {s1} \context Staff = "2" \with {instrument = "A" } \context Voice = "v2" { c'4 d' e' f' } \context Lyrics = "l2" {s1} \context Staff = "3" \with {instrument = "T" } \context Voice = "v3" { c'4 d' e' f' } \context Lyrics = "l3" {s1} \context Staff = "4" \with {instrument = "B" } \context Voice = "v4" { c'4 d' e' f' } \context Lyrics = "l4" {s1} %% --- \context Lyrics = "l1" \lyricsto "v1" \lyricmode{ la -- la -- la -- la } \context Lyrics = "l2" \lyricsto "v2" \lyricmode{ la -- la -- la -- la } \context Lyrics = "l3" \lyricsto "v3" \lyricmode{ la -- la -- la -- la } \context Lyrics = "l4" \lyricsto "v4" \lyricmode{ la -- la -- la -- la } >> } 27-bug-lyrics-instrumentName.pdf Description: PDF result ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond