Okay, here's two possibilities. One uses devnull and the other uses
manual lyric placement. As far as I can tell, they both achieve the
same result.
\version "2.12.2"
voice = { r4 r r r }
lyricrhythm = \tag #'lyricrhythm { c''4 c c c }
lyr = \lyricmode { I like my cat! }
<<
\new Staff <<
\voice
\new Devnull="nowhere" \lyricrhythm
>>
\new Lyrics \lyricsto "nowhere" \lyr
>>
voicetwo = { r4 r r r }
lyric = \lyricmode {
\set associatedVoice = #"voicetwo"
I like my cat!
}
\score {
<<
\new Staff \new Voice = "voicetwo" \voicetwo
\new Lyrics \lyric
>>
}
On 17.02.2010, at 05:22, keith Luke wrote:
I tried modifying this example from the manual:
voice = {
c''2
\tag #'music { c''2 }
\tag #'lyricrhythm { c''4. c''8 }
d''1
}
lyr = \lyricmode { I like my cat! }
<<
\new Staff \keepWithTag #'music \voice
\new Devnull="nowhere" \keepWithTag #'lyricrhythm \voice
\new Lyrics \lyricsto "nowhere" \lyr
\new Staff { c'8 c' c' c' c' c' c' c'
c' c' c' c' c' c' c' c' }
>>
I changed the d''1 to an r1, but the word cat does not print at
all. If I add another note after the rest, the word cat appears
under that note.
On Mon, Feb 15, 2010 at 8:31 PM, James Bailey
<derhindem...@googlemail.com> wrote:
On 15.02.2010, at 19:50, keith Luke wrote:
I'm helping a friend with an instructional booklet for his ukulele
music. I'm using \lyricmode to add note names to the notes in the
melody and would like to add the word "rest" on the lyric line when
there is a rest in the melody. However, \lyricmode "ignores" the
rest event.
I code the following note sequence in the melody:
c8 b8 a8 b8 c4 a4 | b4 b4 b4 r4
and I code the following for \lyricmode:
C B A B C A B B B
How can I get the word "Rest" to print under r4 on the same line as
the note names on the lyric line?
Thanks,
Keith Luke
Hi, you'll want to look in the Notation Reference under Lyrics
independent of notes.
HTH,
James
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user