[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with lyrics (or should I say without lyrics?)
From: |
Jan Nieuwenhuizen |
Subject: |
Re: Problem with lyrics (or should I say without lyrics?) |
Date: |
21 Feb 2001 21:31:48 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Dominic Sacré <address@hidden> writes:
%{
> What can I do?
You can do (see below), although I don't understand why we need the
hara-kiri-engraver. I would have thought that an emty line of lyrics
would have dy = 0, and thus, with this
VerticalAlignment \override #'threshold = #'(0 . 2.5)
set, would take no vertical space. Hmm.
%}
stupid_melody1 = \notes \transpose c'' { c4 d e f g a b c' }
stupid_melody2 = \notes \transpose c'' { c2 d e f }
stupid_lyrics = \lyrics { do re mi fa so la ti do }
\score
{
\context GrandStaff
<
\context Staff = one
{
\addlyrics
{
\notes { R1*2 }
\stupid_melody1
\notes { R1*2 }
\stupid_melody1
\notes { R1*2 }
}
\context Lyrics
{
<
\stupid_lyrics
\stupid_lyrics
\stupid_lyrics
>
<
\stupid_lyrics
\stupid_lyrics
\stupid_lyrics
>
}
}
\context Staff = two
{
\stupid_melody2 \break
\stupid_melody2 \break
\stupid_melody2 \break
\stupid_melody2 \break
\stupid_melody2
}
>
\paper
{
\translator {
\LyricsContext
% Hmm, we need hara-kiri, because empty lyrics line has still height??
\remove "Axis_group_engraver";
\consistsend "Hara_kiri_engraver";
VerticalAlignment \override #'threshold = #'(0 . 2.5)
}
}
}
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org