Hi Niols,

I stumbled upon a score in G minor where a E natural would be marked as a E note preceded by a sharp symbol. What would be a “clean” way to achieve that?

I have thought of redefining the natural symbol by the sharp one, but:

  1. I don't know how to do this.

  2. This would not work in an other key signature with sharps where, I
     assume, the natural would be marked with flat symbols.

Perhaps:

\version "2.20.0"

forceSharp =
\tweak Accidental.stencil #ly:text-interface::print
\tweak Accidental.text ##{ \markup { \sharp } #}
\etc

forceFlat =
\tweak Accidental.stencil #ly:text-interface::print
\tweak Accidental.text ##{ \markup { \flat } #}
\etc

\relative {
  \key f \major
  f' g a \forceSharp b
}

\relative {
  \key g \major
  a' g \forceFlat f e
}

This probably has to be customized if you use mensural glyphs.

Best
Lukas


Reply via email to