]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/breathing-sign.ly
update syntax in .ly files.
[lilypond.git] / input / regression / breathing-sign.ly
1 \version "1.7.6"
2 \header{
3 texidoc="
4 Breathing signs, also used for phrasing, do normally not influence
5 global spacing -- only if space gets tight, notes are shifted to make
6 room for the breathing sign. Breathing signs break beams running
7 through their voice. In the following example, the notes in the first
8 two measures all have the same distance from each other:
9 "
10 }
11
12
13
14
15 \score {
16   \notes \relative c' {
17     \key es \major \time 3/4
18     < \context Voice = two { \stemDown es4 bes es }
19       \context Voice = one { \stemUp g4 as g }
20     > |
21     < \context Voice = two { \stemDown es4 \breathe bes es }
22       \context Voice = one { \stemUp g4 as g }
23     > |
24 % Change to wedge:
25     \property Voice.BreathingSign \override #'text = #"scripts-upbow"
26     es8 d es f g8 \breathe f |
27 % Revert to old layout:
28     \property Voice.BreathingSign \override #'molecule-callback = #Breathing_sign::brew_molecule
29     es8 d \breathe es f g f |
30     es2 r4 \bar "||"
31   }
32 }