]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/arranging-separate-lyrics-on-a-single-line.ly
Web-hu: Fix tiny mistake
[lilypond.git] / Documentation / snippets / arranging-separate-lyrics-on-a-single-line.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.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.18.0"
8
9 \header {
10   lsrtags = "paper-and-layout, vocal-music"
11
12   texidoc = "
13 Sometimes you may want to put lyrics for different performers on a
14 single line: where there is rapidly alternating text, for example.
15 This snippet shows how this can be done with @code{\\override
16 VerticalAxisGroup #'nonstaff-nonstaff-spacing #'minimum-distance =
17 ##f}.
18
19 "
20   doctitle = "Arranging separate lyrics on a single line"
21 } % begin verbatim
22
23 \layout {
24   \context {
25     \Lyrics
26     \override VerticalAxisGroup #'nonstaff-nonstaff-spacing
27        #'minimum-distance = ##f
28   }
29 }
30
31 aliceSings = \markup { \smallCaps "Alice" }
32 eveSings = \markup { \smallCaps "Eve" }
33
34 <<
35   \new Staff <<
36     \new Voice = "alice" {
37       f'4^\aliceSings g' r2 |
38       s1 |
39       f'4^\aliceSings g' r2 |
40       s1 | \break
41       % ...
42
43       \voiceOne
44       s2 a'8^\aliceSings a' b'4 |
45       \oneVoice
46       g'1
47     }
48     \new Voice = "eve" {
49       s1 |
50       a'2^\eveSings g' |
51       s1 |
52       a'2^\eveSings g'
53       % ...
54
55       \voiceTwo
56       f'4^\eveSings a'8 g' f'4 e' |
57       \oneVoice
58       s1
59     }
60   >>
61   \new Lyrics \lyricsto "alice" {
62     may -- be
63     sec -- ond
64     % ...
65     Shut up, you fool!
66   }
67   \new Lyrics \lyricsto "eve" {
68     that the
69     words are
70     % ...
71     …and then I was like–
72   }
73 >>