Am 27.09.2014 um 14:55 schrieb Phil Holmes:
----- Original Message ----- From: "Son_V" <vincenzo.a...@gmail.com>
To: <lilypond-user@gnu.org>
Sent: Saturday, September 27, 2014 1:38 PM
Subject: Multi line text with a common text
Sorry for the unclear subject. I found a score I've put on LilyPond
(Messaus
- Dies est laetitiae); the original score had three lines of text,
but at
beat 7 there is just ONE common text. The original score had a curly
bracket
after the three lines and the "common text" aligned with the centre
of the
curly bracket. I wondered if there is a "rule" in these situations, and
searched in the Bible (Behind bars) if I could find an answer, but I was
unable to find it.
So; in these situations, what should be done? And, if the way the
score I
have is the correct one, how can I make it in Lilypond (I made a
search in
the docs here too with no results).
Thanks.
Have a look at http://lsr.di.unimi.it/LSR/Item?id=265
I think the coding leaves room for improvements: especially the \set
stanza command is very useful for placing the brace between lyric
syllables, and there are more convenient commands for the braces.
Attached you find an improved version which I will also submit to the
bug list.
HTH, Simon
PS. The case not covered is the one with an even number of stanzas… but
I don’t have a good idea for that, either.
%% http://lsr.di.unimi.it/LSR/Item?id=265
%% see also http://lilypond.org/doc/v2.18/Documentation/snippets/vocal-music
% The argument to \left-brace and \right-brace is the point-size of the bracket
%
% translate is needed to simulate alignment not to the baseline of the text, but
% to the vertical center
leftbrace = \set stanza = \markup {
\hspace #1
\translate #'(0 . 0.8) \left-brace #45 }
rightbrace = \set stanza = \markup {
\hspace #1
\translate #'(0 . 0.8) \right-brace #45 }
lyricsbeforebrace = \lyricmode { Here is some ly -- rics }
lyricsfrombrace = \lyricmode { Here comes some more }
melody = \relative c' { c d e f g f e d c }
\score{
<<
\new Voice = m \melody
\new Lyrics \lyricsto m \lyricsbeforebrace
\new Lyrics \lyricsto m { \lyricsbeforebrace \rightbrace \lyricsfrombrace }
\new Lyrics \lyricsto m \lyricsbeforebrace
>>
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user