X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Faccidental-contemporary.ly;h=eb05abcddbdf1c7d653465b0b4d11bde98e6f403;hb=4b78ea65daabcab3c4b6baf90fdd6f98aa186917;hp=d92ecacf269bf4d39e87c85ddffc9c486b2e9cd6;hpb=d7ceaf3abf837e62adb4ae415745b9005f7e8d3c;p=lilypond.git diff --git a/input/regression/accidental-contemporary.ly b/input/regression/accidental-contemporary.ly index d92ecacf26..eb05abcddb 100644 --- a/input/regression/accidental-contemporary.ly +++ b/input/regression/accidental-contemporary.ly @@ -1,4 +1,4 @@ -\version "2.11.57" +\version "2.17.6" \header { texidoc = "Several automatic accidental rules @@ -6,15 +6,19 @@ aim to reproduce contemporary music notation practices: @itemize @item -'dodecaphonic style prints accidentals on every +@code{'dodecaphonic} style prints accidentals on every note (including naturals) @item -'neo-modern style prints accidentals on every note +@code{'neo-modern style} prints accidentals on every note (not including naturals), except when a note is immediately repeated @item -'neo-modern-cautionary style acts like neo-modern, +@code{'neo-modern-cautionary} style acts like neo-modern, adding cautionary parentheses around accidentals. +@item +@code{'teaching} prints accidentals normally, but adds +cautionary accidentals when an accidental is +already included in the key signature. @end itemize Both scores should show the same accidentals. @@ -26,13 +30,13 @@ Both scores should show the same accidentals. \score { \relative c'' { - #(set-accidental-style 'dodecaphonic) + \accidentalStyle dodecaphonic gis4 a g gisis - #(set-accidental-style 'neo-modern) + \accidentalStyle neo-modern gis8 a gis gis g' gis gis,, a' - #(set-accidental-style 'neo-modern-cautionary) + \accidentalStyle neo-modern-cautionary eis fis eis eis g2 - #(set-accidental-style 'teaching) + \accidentalStyle teaching \key e \major e8 eis fis fis gis2 }