bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1701 in lilypond: default accidental style prints too many 'ex


From: lilypond
Subject: Re: Issue 1701 in lilypond: default accidental style prints too many 'extra' naturals
Date: Sat, 02 Jul 2011 21:37:06 +0000

Updates:
        Status: Fixed
        Labels: -Patch-review fixed_2_15_4

Comment #11 on issue 1701 by address@hidden: default accidental style prints too many 'extra' naturals
http://code.google.com/p/lilypond/issues/detail?id=1701

Patch in comment 1 pushed as 4a3cd8465

The mailing list thread found editors from the 19th century who print extraNaturals as Lilypond does before this change (Clara Schumann) and those who print them as after this change (Carl Mikuli, and Clara Schumann).

The engraving textbooks are silent about the old standard for printing ges gis.

So it is probably best to interpret the old rule more narrowly, especially since the cases in question were very rare when the old rule was in force.

Two ways to override accidental printing when needed:

% adapted from LSR item 378
forceNaturalFlat = {
  \once\override Accidental #'stencil = #ly:text-interface::print
  \once\override Accidental #'X-extent = #'()
  \once\override Accidental #'Y-extent = #'()
  \once\override Accidental #'text = \markup\concat {
    \musicglyph #"accidentals.natural" \hspace #0.2
    \musicglyph #"accidentals.flat"
  }
}
% But if the next note in the Voice is a chord, the override above affects
% all notes in the chord.
% An uglier alternative to tweak individual notes in a chord is
extraNat =
 -\tweak #'font-size #0
 -\tweak #'padding #0.1
 -\tweak #'stencil  #ly:text-interface::print
 -\tweak #'text #(markup (#:musicglyph "accidentals.natural"))
\1

\relative c''' {
  \set strokeFingerOrientations = #'(left)
  \set stringNumberOrientations = #'(left)
  < fes-\extraNat aes >





reply via email to

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