[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: outside-staff-priority for markups attached to <>
From: |
Mark Knoop |
Subject: |
Re: outside-staff-priority for markups attached to <> |
Date: |
Thu, 26 Jun 2014 17:42:11 +0100 |
At 17:26 on 26 Jun 2014, Richard Shann wrote:
>When I generate text to appear above some music using the <>^\markup
>"mytext" syntax, I don't seem to be able to control the
>outside-staff-priority. In this example despite the second bit of
>markup having a lower outside-staff-priority it appears above the
>first bit.
>
>\version "2.18.0"
>\score {
> { \once \override TextScript.outside-staff-priority = #1000 <>
> ^\markup "Above the next text please" \once \override
> TextScript.outside-staff-priority = #0 a'4^"below please" }
>}
>
>
>Can anyone suggest why this is happening and if there is a solution
>that doesn't involve using a different sort of syntax for the markup,
>(i.e. not involving the <> trick)? (The final target of all this is
>scores with markup containing encapsulated postscript to create old
>French clavecin ornaments which have to have a low
>outside-staff-priority despite being textScript).
Since both events happen at the same moment in time, you have to use
tweak.
\version "2.18.0"
\score {
{
<>-\tweak outside-staff-priority #1000
^\markup "Above the next text please"
a'4-\tweak outside-staff-priority #0 ^"below please"
}
}
--
Mark Knoop