lilypond-user
[Top][All Lists]
Advanced

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

Re: grace-note spacing and triplets


From: Jan-Peter Voigt
Subject: Re: grace-note spacing and triplets
Date: Wed, 23 Mar 2016 09:50:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Hi Harm,

this is interesting!? This is another very smart solution, but why/how does this work?
I will look for a way, to add the TextScript with the edition-engraver ...
The rest-solution is handy, but OTOH not easily applicable "externally". By the way, I tried succesfully 's4' instead of '\once \omit Rest r16*3/2'.

Thank you for these thoughts/snippet!

Cheers
Jan-Peter



Am 23.03.2016 um 01:31 schrieb Thomas Morley:
2016-03-22 15:10 GMT+01:00 Jan-Peter Voigt <address@hidden>:
Hi all,

I have a problem spacing grace notes under a series of triplets. In the
example, the grace notes produce a big gap between the tuplets or collide
with the accidentals.

As this situation is evident a few times, I will probably use extra-offset
and place either the grace notes or the accidentals aside. So my question
is, how would you typesetters solve this case?

TIA
Jan-Peter


Hi Jan-Peter,

some thoughts on a minimal example...

\version "2.18.2"

%% for comparability
%% without any override:
{ \grace { c''16 s4 }  bis'8 }


myLayout = \layout { \override Score.SpacingSpanner.strict-note-spacing = ##t }

%% collision
\score { { \grace { c''16 }  bis'8 } \myLayout }

%% returns:
%% programming error: Cannot determine neighbors for floating column.
%% this was my first thought, no idea what's wrong, never seen this error before
\score { { \grace { c''16 s4 }  bis'8 } \myLayout }

%% not sure why this works
%% textLengthOn is _not_ set
\score { { \grace { c''16-\markup \hspace #3 }  bis'8 } \myLayout }

%% inserting a Rest works
%% r8 is too much r16 to less
%% thus scaling to avoid the dot
\score { { \grace { c''16 \once \omit Rest r16*3/2 }  bis'8 } \myLayout }


HTH a bit,
   Harm





reply via email to

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