From: Carl Sorensen Date: Wed, 14 Apr 2010 04:07:02 +0000 (-0600) Subject: Doc: Fix Issue 1027 -- new snippet showing Lyrics spacing adjustment X-Git-Tag: release/2.13.19-1~23 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=42f3c543fbfa70f7808d12226f96ba0fbad5b753;p=lilypond.git Doc: Fix Issue 1027 -- new snippet showing Lyrics spacing adjustment --- diff --git a/Documentation/snippets/new/adjusting-lyrics-vertical-spacing.ly b/Documentation/snippets/new/adjusting-lyrics-vertical-spacing.ly new file mode 100644 index 0000000000..9f010b3a7b --- /dev/null +++ b/Documentation/snippets/new/adjusting-lyrics-vertical-spacing.ly @@ -0,0 +1,35 @@ +%% This file is in the public domain. +\version "2.13.16" + +\header { + lsrtags = "text, vocal-music, spacing" + texidoc = " +This snippet shows how to bring the lyrics line closer to the staff. + +" + doctitle = "Adjusting lyrics vertical spacing" +} + +% Default layout: +<< + \new Staff \new Voice = melody \relative c' { + c4 d e f + g4 f e d + c1 + } + \new Lyrics \lyricsto melody { aa aa aa aa aa aa aa aa aa } + +% Reducing the minimum space below the staff and above the lyrics: + \new Staff { + \new Voice = melody \relative c' { + c4 d e f + g4 f e d + c1 + } + } + \new Lyrics \with { + \override VerticalAxisGroup #'staff-affinity = #UP + \override VerticalAxisGroup #'inter-staff-spacing = #'((space . 1)) } + \lyricsto melody { aa aa aa aa aa aa aa aa aa } +>> +