lilypond-user
[Top][All Lists]
Advanced

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

Re: fermata and text (markup) on/above one note


From: Trevor Bača
Subject: Re: fermata and text (markup) on/above one note
Date: Thu, 14 Feb 2008 11:17:12 -0600

On Thu, Feb 14, 2008 at 11:02 AM, Kieren MacMillan <address@hidden> 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
address@hidden
reply via email to

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