]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-ottava-text.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / changing-ottava-text.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "pitches, text"
11
12   texidoc = "
13 Internally, @code{\\ottava} sets the properties @code{ottavation} (for
14 example, to @code{8va} or @code{8vb}) and @code{middleCPosition}.  To
15 override the text of the bracket, set @code{ottavation} after invoking
16 @code{\\ottava}.
17
18 Short text is especially useful when a brief ottava is used.
19
20 "
21   doctitle = "Changing ottava text"
22 } % begin verbatim
23
24 {
25   c'2
26   \ottava #1
27   \set Staff.ottavation = #"8"
28   c''2
29   \ottava #0
30   c'1
31   \ottava #1
32   \set Staff.ottavation = #"Text"
33   c''1
34 }