X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fputting-lyrics-inside-the-staff.ly;h=d1676ce31811aab466d03d14a213434304bcbca1;hb=324ff94afc62c7011b7377f24392f95391ed3b84;hp=3b01dd0175a75eb6563ecd8d96d59e64de5202d5;hpb=29ef9c6bca15601f188fbca3789d96fa2c3ce3f2;p=lilypond.git diff --git a/Documentation/snippets/putting-lyrics-inside-the-staff.ly b/Documentation/snippets/putting-lyrics-inside-the-staff.ly index 3b01dd0175..d1676ce318 100644 --- a/Documentation/snippets/putting-lyrics-inside-the-staff.ly +++ b/Documentation/snippets/putting-lyrics-inside-the-staff.ly @@ -1,16 +1,19 @@ -%% Do not edit this file; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% %% This file is in the public domain. -\version "2.12.2" +\version "2.18.0" \header { lsrtags = "staff-notation, text, vocal-music" texidoc = " Lyrics can be moved vertically to place them inside the staff. The -lyrics are moved with @code{\\override LyricText #'extra-offset = #'(0 -. dy)} and there are similar commands to move the extenders and -hyphens. The offset needed is established with trial and error. +lyrics are moved with @code{\\override LyricText.extra-offset = #'(0 . +dy)} and there are similar commands to move the extenders and hyphens. +The offset needed is established with trial and error. " doctitle = "Putting lyrics inside the staff" @@ -19,11 +22,10 @@ hyphens. The offset needed is established with trial and error. << \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) + \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 } >> -