]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/ottava-edge.ly
Merge branch 'stable'
[lilypond.git] / input / regression / ottava-edge.ly
1
2 \header
3 {
4   texidoc = 
5   "Both edge heights of an ottava bracket can be specified."
6 }
7
8 \version "2.12.0"
9
10
11 \layout { ragged-right = ##t} 
12
13 \relative c'''  {
14
15   %standard ottavation
16   \ottava #1
17   a b c
18   \ottava #0
19   a
20   
21   %override the left edge height to produce standard text with a left edge
22   \ottava #1
23   \once \override Staff.OttavaBracket #'edge-height = #'(1.2 . 1.2)
24   a b c
25   \ottava #0
26   a
27   
28   % Look! we can make them go up!
29   \ottava #1
30   \once \override Staff.OttavaBracket #'edge-height = #'(-1 . -1)
31   a b c
32   \ottava #0
33   a
34   
35   % and have them go in different directions
36   \ottava #1
37   \once \override Staff.OttavaBracket #'edge-height = #'(-1.2 . 1.2)
38   a b c
39   \ottava #0
40   a
41  
42 }
43
44