achieve such notation rules with LilyPond.
" }
% begin verbatim
-% thanks to Rune Zedeler for this cool function :)
-
webernAccidentals = {
% the 5s are just "a value different from any accidental"
\set Staff.keySignature = #'((0 . 5) (1 . 5) (2 . 5) (3 . 5)
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+%% Tags: pitches, text
+\version "2.11.35"
+
+\header { texidoc = "
+Internally, the set-octavation function sets the properties
+@code{ottavation} (e.g., to @code{\"8va\"} or @code{\"8vb\"}) and
+@code{middleCPosition}. To override the text of the bracket, set
+@code{ottavation} after invoking @code{set-octavation}, like in the
+following example.
+" }
+% begin verbatim
+{
+ #(set-octavation 1)
+ \set Staff.ottavation = #"8"
+ c''1
+ #(set-octavation 0)
+ c'1
+ #(set-octavation 1)
+ \set Staff.ottavation = #"Text"
+ c''1
+}
applying-noteheads-styles-depending-on-the-step-of-the-scale.ly
creating-a-sequence-of-notes-on-various-pitches.ly
-transposing-pitches-with-minimum-accidentals-smart-transpose.ly
makam.ly
+transposing-pitches-with-minimum-accidentals-smart-transpose.ly
+ottava-text.ly
preventing-extra-naturals-from-being-automatically-added.ly
generating-random-notes.ly
quoting-another-voice-with-transposition.ly
combining-dynamics-with-markup-texts.ly
creating-text-spanners.ly
vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
+markup-lines.ly
center-text-below-hairpin-dynamics.ly
-piano-template-with-centered-lyrics.ly
+ottava-text.ly
demonstrating-all-headers.ly
changing-the-default-text-font-family.ly
combining-two-parts-on-the-same-staff.ly
blanking-staff-lines-using-the--whiteout-command.ly
formatting-lyrics-syllables.ly
how-to-put-ties-between-syllables-in-lyrics.ly
-markup-lines.ly
+piano-template-with-centered-lyrics.ly
adjusting-lyrics-vertical-spacing.ly
aligning-lyrics.ly