Jump to content

Force a cancellation natural before accidentals: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
The following example shows how to force a natural sign before an accidental.
The following example shows how to force a natural sign before an accidental.


<lilypond version="2.24.0">
<lilypond version="2.24">
\relative c' {  
\relative c' {  
   \key es \major
   \key es \major

Revision as of 18:48, 16 November 2025

The following example shows how to force a natural sign before an accidental.

\version "2.24"

\relative c' { 
  \key es \major
  bes c des 
  \tweak Accidental.restore-first ##t 
  eis
}