lilypond-user
[Top][All Lists]
Advanced

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

Re: Moving just text, leaving articulations in place?


From: Robert Hickman
Subject: Re: Moving just text, leaving articulations in place?
Date: Thu, 19 Apr 2018 10:52:17 +0100

Thanks, as far as I can see lilyponds modification system is based on
a stack based state machine, \override permanently changes that state
while \tweak only changes it once. Where would you use \tweak vs \once
as they appear to do the same thing?

On 19 April 2018 at 07:55, Mark Knoop <address@hidden> wrote:
> At 17:38 on 18 Apr 2018, Robert Hickman wrote:
>>Tried using "\override TextScript.staff-padding" to move the text
>>annotations in the attached image up but it also moves the Larson
>>articulation symbols up as well. I want these to stay in the same
>>place and the text to move up a bit away from them. Is lilypond
>>treating the articulation symbols as text?
>>
>>\header {tagline = ""}
>>
>>{
>>    \override TextScript.staff-padding = #5
>>    \numericTimeSignature
>>    \time 3/8
>>
>>    g'4.\cut^\markup {\tiny Cut } |  g'4.\strike^\markup {\tiny
>> Strike } |
>>}
>
> Use \tweak instead of \override, viz:
>
> {
>     \numericTimeSignature
>     \time 3/8
>
>     g'4.\cut -\tweak staff-padding #5 ^\markup {\tiny Cut } |
>     g'4.\strike -\tweak staff-padding #5 ^\markup {\tiny Strike } |
> }
>
> --
> Mark Knoop
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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