lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to add punctuation mark (or other things) at the end of lyricext


From: Jan-Peter Voigt
Subject: Re: how to add punctuation mark (or other things) at the end of lyricextender?
Date: Tue, 18 Jan 2011 15:57:24 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7

Hello Janek,

I once had a situation where I wanted to put a closing 'n' somewhere on the extender. This is used in some more modern choir-pieces I typesetted.
So this is a little bit off your topic but perhaps its still related.
I wrote a little function:

--snip--
freetext = #(define-music-function (parser location dx dy text)(number? number? markup?)
  #{
    \once \override TextScript #'X-extent = #'(0 . 0)
    \once \override TextScript #'Y-extent = #'(0 . 0)
    \once \override TextScript #'self-alignment-X = #CENTER
    s1*0_\markup { \translate #(cons $dx $dy) $text }
#})
closeN = #(define-music-function (parser location dy)(number?)
  #{
    \freetext #0 #$dy \markup { "(n)" }
#})
--snip--
with this I can place my closing 'n' somewhere in the music:
c1 ~ \closeN #-3.6 c1
This places a closing n beneath the second c. The number is to adjust vertical positioning and has to be searched for everytime.

Perhaps you can use something similar.

Best regards,
Jan-Peter

On 18.01.2011 15:43, Janek Warchoł wrote:
2011/1/18 Phil Holmes<address@hidden>:
----- Original Message ----- From: "Janek Warchoł"
<address@hidden>
To: "lilypond-user"<address@hidden>
Sent: Tuesday, January 18, 2011 12:48 PM
Subject: how to add punctuation mark (or other things) at the end of
lyricextender?
Hi all,
i have a melisma at the end of a sentence,
i'd like the dot to appear after the extender (like in the bottom of
the attachment).
Jan,

According to the normal engraving manuals, the punctuation should be
attached to the lyric, not the extender.  e.g. [quotations here]
Thanks, Phil, but I already knew that the recommended practice is to
put punctuation before extender. Unfortunately i fail to see why it
should be done this way - do the books that you quote provide any
explanation?

Besides, there is another situation in which it would be useful to
attach something to the end of the extender line: to remind singer how
he/she should end a very long melisma. Consider a coloratura that
spans several measures and even crosses a page break. It would be nice
to write the syllabe again under the last note (in parentheses of
course) to aid the performer.

cheers,
Jan

_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user






reply via email to

[Prev in Thread] Current Thread [Next in Thread]