[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A contribution (was Re: snippet to properly align dynamics with expr
From: |
Richard Shann |
Subject: |
Re: A contribution (was Re: snippet to properly align dynamics with expressive text) |
Date: |
Sun, 09 Jul 2017 14:17:28 +0100 |
On Sun, 2017-07-09 at 13:15 +0200, Malte Meyn wrote:
>
> Am 09.07.2017 um 12:50 schrieb Richard Shann:
> > Thanks - here is such a small patch then. It fixes the centering of
> > isolated accidentals and digits on whole notes which is currently too
> > far to the left.
>
> From your patch:
>
> + (if (and (eqv? 0 (ly:duration-log (ly:event-property event
> 'duration))) (markup? fig-markup))
>
> Shouldn’t you consider negative duration logs (\breve and longer notes)
> too, i. e. “>=” instead of “eqv?”?
>
> (if (and (>= 0 (ly:duration-log (ly:event-property event 'duration)))
> (markup? fig-markup))
it seems so, I was unsure what values duration log could take, perhaps
being set sometimes to #f so I used eqv? to be safe.
Attached is the revised patch which works on this:
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
<<
{
\time 4/2 c''\breve c'' c''1 c''
c''4 c'' c'' c''
}
\new FiguredBass {
\figuremode {
<_+>\breve <_-> <3>1 <3+>
<_+>4 <_-> <3> <3+>
}
}
>>
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
Richard
FiguredBaseTweakPatch
Description: Text Data
- snippet to properly align dynamics with expressive text, Shevek, 2017/07/07
- Re: snippet to properly align dynamics with expressive text, Kieren MacMillan, 2017/07/07
- Re: snippet to properly align dynamics with expressive text, Shevek, 2017/07/07
- Re: snippet to properly align dynamics with expressive text, Urs Liska, 2017/07/08
- A contribution (was Re: snippet to properly align dynamics with expressive text), Richard Shann, 2017/07/08
- Re: A contribution (was Re: snippet to properly align dynamics with expressive text), Simon Albrecht, 2017/07/08
- Re: A contribution (was Re: snippet to properly align dynamics with expressive text), Richard Shann, 2017/07/09
- Re: A contribution (was Re: snippet to properly align dynamics with expressive text), Malte Meyn, 2017/07/09
- Re: A contribution (was Re: snippet to properly align dynamics with expressive text),
Richard Shann <=
- Re: A contribution (was Re: snippet to properly align dynamics with expressive text), Urs Liska, 2017/07/10
- Re: A contribution (was Re: snippet to properly align dynamics with expressive text), Jacques Menu Muzhic, 2017/07/10
- Re: A contribution (was Re: snippet to properly align dynamics with expressive text), Richard Shann, 2017/07/10
- Re: A contribution (was Re: snippet to properly align dynamics with expressive text), Richard Shann, 2017/07/10