lilypond-user
[Top][All Lists]
Advanced

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

Re: lyrics with tab staff


From: Noeck
Subject: Re: lyrics with tab staff
Date: Sat, 15 Dec 2012 15:22:21 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0

Am 15.12.2012 14:56, schrieb Gerard McConnell:
> Hello, I would like to print lyrics below tab staff.  
> The following produces the tab plus unwanted music notation at actual
> pitch with lyrics underneath that.
> 
> \score {
>     \new TabStaff {
>         d4\4 d\4 a\3 a\3 b\3 b\3 a2\3
>     }
>     \addlyrics {
>         Twink -- le twink -- le lit -- tle star,
>     }
> }

Hi Gerard,

addlyrics seems to expect a normal Staff, which is then printed below,
because it is not already done before.

You can name your music (your Voice) and then add Lyrics to that voice:
\new TabStaff  -->  \new TabStaff \new TabVoice = "voice"
\addlyrics     -->  \new Lyrics \lyricsto "voice" \lyricmode
(In that case, you need << and >> to combine the TabStaff and the Lyrics
as simultaneous music.)


\score {
  <<
    \new TabStaff \new TabVoice = "voice" {
        d4\4 d\4 a\3 a\3 b\3 b\3 a2\3
    }
    \new Lyrics \lyricsto "voice" \lyricmode {
        Twink -- le twink -- le lit -- tle star,
    }
  >>
}

Cheers,
Joram



reply via email to

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