Home
Random
Log in
Settings
About LilyPond wiki
LilyPond wiki
Search
Editing
Putting lyrics inside the staff
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Lyrics can be moved vertically to place them inside the staff. The lyrics are moved with <code>\override LyricText.extra-offset = #'(0 . <var>dy</var>)</code>, and there are similar commands to move the extenders and hyphens. A good value for <var>dy</var> must be found by trial and error. <lilypond version="2.24"> % LSR contributed by Jan-Peter Voigt % LSR http://lists.gnu.org/archive/html/lilypond-user/2010-10/msg00451.html << \new Staff << \new Voice = "voc" \relative c' { \stemDown a bes c8 b c4 } >> \new Lyrics \with { \override LyricText.extra-offset = #'(0 . 8.6) \override LyricExtender.extra-offset = #'(0 . 8.6) \override LyricHyphen.extra-offset = #'(0 . 8.6) } \lyricsto "voc" { La la -- la __ _ la } >> </lilypond> [[Category:Staff notation]] [[Category:Text]] [[Category:Vocal music]] [[Category:Included in the official documentation]] [[Category:Snippet]]
Summary:
Please note that all contributions to LilyPond wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)