lilypond-user
[Top][All Lists]
Advanced

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

Re: Unexpected \markup behavior


From: Ralph Palmer
Subject: Re: Unexpected \markup behavior
Date: Mon, 13 Dec 2010 07:49:59 -0500



On Mon, Dec 13, 2010 at 1:01 AM, Colin Campbell <address@hidden> wrote:
On Sun, 2010-12-12 at 10:46 -0500, Ralph Palmer wrote:

>
> %%%%%%%%%% Begin Snippet %%%%%%%%%%%
>
> \version "2.12.3"
>
> A =
> \relative c' {
>   \key c \major
>   \clef treble
>   \time 4/4
>
> % Works as expected:
>   c'4 c c c |
>   d4_\markup {
>     \halign #0.5 {
>       \whiteout \pad-markup #0.5 {
>     \italic {"meno "} \dynamic {f}
>       }
>     }
>   }
>   d d d |
>
> % Why doesn't this work?
>   c4 c c c |
>   d4_\markup {
>     \halign #0.5 {
>       \whiteout \pad-markup #0.5 {
>     \dynamic {f} \italic {"meno "}
>       }
>     }
>   }
>   d d d |
> }
>
> B=
> \relative c' {
>   \key c \major
>   \clef treble
>   \time 4/4
>
>   d'4 d d d |
>   e4 e e e |
>   d4 d d d |
>   c4 c c c |
> }
>
> \score {
>   \new StaffGroup <<
>     \new Staff << \A >>
>     \new Staff << \B >>
>   >>
> }
> \layout {}
>
> %%%%%%%%% End Snippet %%%%%%%%5
>


In your second case, the \dynamic is attached to the d, then
over-written by the "meno" in the markup. This seems to be expected
behaviour.  Can you give me a bit more information on why your second
case is unexpected?

Colin Campbell
Bug Squad


Greetings and thanks, Colin -

The second case is unexpected (to me) because I thought that \dynamic was a font command, as is \italic. Even if the \dynamic in the second case is attached to the d and then overwritten by the "meno", why isn't the "meno" overwritten in the first case by the \dynamic?

Pondly,

Ralph

--
Ralph Palmer
Montague City, MA
USA
address@hidden

reply via email to

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