]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/adjusting-lyrics-vertical-spacing.ly
LSR: Update.
[lilypond.git] / input / lsr / adjusting-lyrics-vertical-spacing.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.49"
4
5 \header {
6   lsrtags = "text, vocal-music, spacing"
7
8   texidoc = "
9 This snippet shows how to bring the lyrics line closer to the staff.
10
11 "
12   doctitle = "Adjusting lyrics vertical spacing"
13 } % begin verbatim
14 % Default layout:
15 <<
16   \new Staff \new Voice = melody \relative c' {
17     c4 d e f
18     g4 f e d
19     c1
20   }
21   \new Lyrics \lyricsto melody { aa aa aa aa aa aa aa aa aa }
22
23 % Reducing the minimum space below the staff and above the lyrics:
24   \new Staff \with {
25     \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 4)
26   }
27   \new Voice = melody \relative c' {
28     c4 d e f
29     g4 f e d
30     c1
31   }
32   \new Lyrics \with {
33     \override VerticalAxisGroup #'minimum-Y-extent = #'(-1.2 . 1)
34   }
35   \lyricsto melody { aa aa aa aa aa aa aa aa aa }
36 >>