X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fputting-lyrics-inside-the-staff.ly;h=d1676ce31811aab466d03d14a213434304bcbca1;hb=2371d6ba3b62d4d6dc349ab50fa0d76eadfba044;hp=88f4de8b738c04d70e58a7cff795525f57cbe518;hpb=580faff1d6167b1500228dc5c5ae073dca0ead40;p=lilypond.git diff --git a/Documentation/snippets/putting-lyrics-inside-the-staff.ly b/Documentation/snippets/putting-lyrics-inside-the-staff.ly index 88f4de8b73..d1676ce318 100644 --- a/Documentation/snippets/putting-lyrics-inside-the-staff.ly +++ b/Documentation/snippets/putting-lyrics-inside-the-staff.ly @@ -1,19 +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.13.39" +\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" @@ -22,10 +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 } >>