[Top][All Lists]

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

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5312 Key canc

From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5312 Key cancellation glyph position inconsistent
Date: Tue, 24 Apr 2018 11:07:07 -0000

Adding possible 'workaround' (at least for flats) from Harm in casse someone else needs it.


I played a little with 'padding-pairs.
Obviously the execption to add 0.3 padding in only applies if 'padding-pairs is unset.

Below is limited to flat-cancellation:

\version "2.19.81"

foo = \override Staff.KeyCancellation.padding-pairs = #(lambda (grob)
(let* ((alteration-alist (ly:grob-property grob 'alteration-alist)))
;; limited to flat-cancellation
(if (every negative? (map cdr alteration-alist))
'((("accidentals.natural" . "accidentals.natural") . 0.2))

\layout {

{ \key aes \major s1 \key c \major s }
{ \key e \major s1 \key c \major s }

For flat-cancellation:
The result is an even spacing of every natural. I'd call it a slight
improvement, but far from optimal.
The gap between first/second natural feels too wide and between
second/third too tight.
Sharp-cancellation is unchanged.

Nothing else in my black-box.


[issues:#5312] Key cancellation glyph position inconsistent

Status: Started
Created: Mon Apr 23, 2018 05:42 PM UTC by pkx166h
Last Updated: Mon Apr 23, 2018 07:31 PM UTC
Owner: Torsten Hämmerle

From: foxfanfare

Hi everyone,Just noticed a bug in the default placement of the naturals when
key is changed.As you can see, the naturals aren't spaced correctly when
using the bass clef.I tried \Staff.override KeyCancellation.padding = #0.2,
but even with a larger padding, naturals aren't spaced uniformly


\version "2.19.81"

\new Staff {
      \key cis\major
      \key ces\major
      \clef bass
      \key ces\major
      \key cis\major
      s \bar "|."

Sent from because address@hidden is subscribed to

To unsubscribe from further messages, a project admin can change settings at Or, if this is a mailing list, you can unsubscribe from the mailing list.

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
Testlilyissues-auto mailing list

reply via email to

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