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

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to