On Thu, Feb 14, 2008 at 11:02 AM, Kieren MacMillan <
[EMAIL PROTECTED]> wrote:

> Hi Mats,
>
> > \override DynamicLineSpanner #'Y-extent = #'(-1 . 1)
> > \override DynamicText #'Y-offset = #0
> >
> > As far as I can see (and understand), this gives baseline alignment.
> > Similar tricks can be used to turn off top/bottom alignment
> > of text scripts:
> > \override TextScript #'minimum-Y-extent = #'(-1 . 1)
>
> Wow... that's cool.  =)
>
> Thanks!
> Kieren.
>
> _____________________
>
> \version "2.10.33"
>
> \paper { indent = 0 line-width = 2\in }
>
> music = \relative c''
> {
>        c2\p^\markup { "gorgeous" } c\f^\markup { "fantastic" }
> }
>
> \score
> {
>        {
>                \music \break
>
>                \override DynamicLineSpanner #'Y-extent = #'(-1 . 1)
>                 \override DynamicText #'Y-offset = #-0.5
>                \override TextScript #'Y-extent = #'(-1 . 1)
>                \music
>        }
> }
>


OK, I was confusing dynamics and text scripts. For text scripts this
baseline alignment is very cool. But for dynamics what I'm actually looking
for is *center* alignment in the vertical direction (rather than *baseline*
aligment). In other words, in Kieren's example above, my preference is to
see the p and f center aligned *as though the p were the beginning of a
crescendo and the f were the end*.

Is there such a trick for *center* alignment of dynamic marks??

(And very cool settings for the baseline alignment for text scripts!)





-- 
Trevor Bača
[EMAIL PROTECTED]
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to