From 2e33b3cde8bdaa8efdd5aff779a9ad806a19eed0 Mon Sep 17 00:00:00 2001 From: Carl Sorensen Date: Tue, 13 Apr 2010 22:07:02 -0600 Subject: [PATCH] Doc: Fix Issue 1027 -- new snippet showing Lyrics spacing adjustment --- .../new/adjusting-lyrics-vertical-spacing.ly | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/snippets/new/adjusting-lyrics-vertical-spacing.ly 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 } +>> + -- 2.39.5