]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/putting-lyrics-inside-the-staff.ly
Local updates to LSR July 2012
[lilypond.git] / Documentation / snippets / putting-lyrics-inside-the-staff.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.2"
8
9 \header {
10 %% Translation of GIT committish: 28097cf54698db364afeb75658e4c8e0e0ccd716
11   texidocfr = "
12 Des paroles peuvent venir s'inscrire dans la portée même.  Ces paroles
13 sont décalées par la dérogation @code{\\override LyricText
14 #'extra-offset = #'(0 . dimension)} ; des commandes similaires
15 s'occuperont des extenseurs et des tirets.  Le décalage optimal ne peut
16 s'obtenir qu'en procédant à tâtons.
17
18 "
19   doctitlefr = "Impression des paroles dans la portée"
20
21   lsrtags = "staff-notation, text, vocal-music"
22
23   texidoc = "
24 Lyrics can be moved vertically to place them inside the staff.  The
25 lyrics are moved with @code{\\override LyricText #'extra-offset = #'(0
26 . dy)} and there are similar commands to move the extenders and
27 hyphens.  The offset needed is established with trial and error.
28
29 "
30   doctitle = "Putting lyrics inside the staff"
31 } % begin verbatim
32
33 <<
34   \new Staff <<
35     \new Voice = "voc" \relative c' { \stemDown a bes c8 b c4 }
36   >>
37   \new Lyrics \with {
38     \override LyricText #'extra-offset = #'(0 . 8.6)
39     \override LyricExtender #'extra-offset = #'(0 . 8.6)
40     \override LyricHyphen #'extra-offset = #'(0 . 8.6)
41   } \lyricsto "voc" { La la -- la __ _ la }
42 >>
43