]> git.donarmstrong.com Git - lilypond.git/blob - input/new/ottava-text.ly
6110b795d51742858b39d83b8c797b117b921f8b
[lilypond.git] / input / new / ottava-text.ly
1 \version "2.12.0"
2
3 \header {
4   lsrtags = "pitches, text"
5   texidoc = "
6 Internally, @code{\\ottava} sets the properties @code{ottavation}
7 (for example, to @code{\"8va\"} or @code{\"8vb\"}) and
8 @code{middleCPosition}.  To override the text of the bracket, set
9 @code{ottavation} after invoking @code{\\ottava}.
10 "
11   doctitle = "Ottava text"
12 }
13
14 {
15   \ottava #1
16   \set Staff.ottavation = #"8"
17   c''1
18   \ottava #0
19   c'1
20   \ottava #1
21   \set Staff.ottavation = #"Text"
22   c''1
23 }