]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/adjusting-lyrics-vertical-spacing.ly
Merge commit 'origin'
[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.48"
4
5 \header {
6   lsrtags = "text, vocal-music, spacing"
7
8   texidoc = "
9 This snippet shows you how to bring the lyrics line closer to the
10 staff.
11
12 "
13   doctitle = "Adjusting lyrics vertical spacing"
14 } % begin verbatim
15 % Default layout:
16 <<
17   \new Staff \new Voice = melody \relative c '{ c4 d e f g f e d c1 }
18   \new Lyrics \lyricsto melody { aa aa aa aa aa aa aa aa aa }
19
20 % Reducing the minimum space below the staff and above the lyrics:
21   \new Staff \with {
22     \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 4) }
23   \new Voice = melody \relative c' { c4 d e f g f e d c1 }
24   \new Lyrics \with {
25     \override VerticalAxisGroup #'minimum-Y-extent = #'(-1.2 . 1) }
26   \lyricsto melody { aa aa aa aa aa aa aa aa aa }
27 >>