Changing ottava text: Difference between revisions
Appearance
No edit summary |
m New category |
||
| Line 19: | Line 19: | ||
[[Category:Pitches]] | [[Category:Pitches]] | ||
[[Category:Text]] | [[Category:Text]] | ||
[[Category:Included in the official documentation]][[Category:Snippet]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:17, 21 November 2025
Internally, \ottava sets the properties ottavation (for example, to 8va or 8vb) and middleCPosition. To override the text of the bracket, set ottavation after invoking \ottava.
Short text is especially useful when a brief ottava is used.
\version "2.24"
{
c'2
\ottava 1
\set Staff.ottavation = "8"
c''2
\ottava 0
c'1
\ottava 1
\set Staff.ottavation = "Text"
c''1
}