[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get multiple text spanners at the same height?
From: |
SoundsFromSound |
Subject: |
Re: How to get multiple text spanners at the same height? |
Date: |
Wed, 15 May 2013 15:05:48 -0700 (PDT) |
>>> Ah, I see. Thanks!
Thomas Morley-2 wrote
> 2013/5/15 SoundsFromSound <
> soundsfromsound@
> >:
>> This is perfect for what I need. Thank you. One question though: what
>> would
>> be the easiest way to "center" this span (so the dashes line up in the
>> center of the words, rather than along the bottom of the letters)?
>
> Translate the default-stencil a little, i.e. add
> (ly:stencil-translate-axis stil 0.5 Y)
>
> The override-command should look like:
>
> ...
> \once \override TextSpanner #'after-line-breaking =
> #(lambda (grob)
> (let* ((stil (ly:grob-property grob 'stencil))
> (stil (ly:stencil-translate-axis stil 0.5 Y))
> ...
>
>
> As I wrote before, I'm working on an improvement.
> Though, this may take some time.
> I'll be offline during Pentecost, visiting "Bundeswettbewerb Jugend
> Musiziert", a german contest for young musicians.
>
>
> Cheers,
> Harm
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>> David, that's interesting. I'll check some of my scores here too. Did
>>>> you mean Elaine's book, when you say "Gould"?
Ben
David Nalesnik-2 wrote
> 2013/5/15 SoundsFromSound <
> soundsfromsound@
> >:
>> > TOne question though: what would
>> > be the easiest way to "center" this span (so the dashes line up in the
>> > center of the words, rather than along the bottom of the letters)?
>>
>
> I've always seen the dashes lined up along the bottom of the letters. The
> example given in Gould (pg. 106) does this.
>
> -David
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@
> https://lists.gnu.org/mailman/listinfo/lilypond-user
-----
composer | sound designer
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/How-to-get-multiple-text-spanners-at-the-same-height-tp145793p145986.html
Sent from the User mailing list archive at Nabble.com.