lilypond-user
[Top][All Lists]
Advanced

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

Re: Preventing stuff from clashing with ledger lines


From: Jean Abou Samra
Subject: Re: Preventing stuff from clashing with ledger lines
Date: Fri, 28 Jan 2022 12:58:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

Le 28/01/2022 à 08:27, Jefferson Skinny a écrit :
Hi,

I noticed that grace notes do not follow the same as normal notes. Normally, notes which are placed beyond ledger lines will have longer stems to avoid clashing with them. Certainly, it is possible to tweak the stems individually, but is it possible to automate this for grace notes?


This is intentional. You can switch it off using

\version "2.22.1"

\new Voice {
  $(add-grace-property 'Voice 'Stem 'no-stem-extend '())
  \stemUp \grace g,8-. g,4
}

Note that creating the voice explicitly with
\new Voice is important here. Please see

https://lilypond.org/doc/v2.22/Documentation/notation/special-rhythmic-concerns#grace-notes


Same goes with articulation. Staccato dots and wedges usually don't leave the staff when there are ledger lines. For example, a better placement for the staccato dot in

{ \stemDown g-. }

would be

{ \stemDown g\tweak Y-offset -1.5-. }


Perhaps, but this becomes hardly feasible when you
consider

\version "2.22.1"

<<
  { e' }
  \\
  { \stemDown g,\tweak Y-offset -1.5-. }
>>

The script position should normally be below the
note, not above it. That happens automatically
if you use \voiceTwo rather than the very specific
\stemDown.


Slurs also should not do this (I'd say a good limit is in between the final staff line and the first ledger line). Is it also possible to automate this, so that I do not need to tweak it every time it happens?

Could you give an example where this happens?

Best,
Jean




reply via email to

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