Changes the spanner-placement property of FootnoteSpanner to ly:dir
[lilypond/patrick.git] / input / regression / beam-concave-chord.ly
blob9eeaa955468d391a3ed34dbbd5e04135628b5a1e
1 \version "2.12.0"
2 \header {
3 texidoc = "Concave beaming works for chords as well as monophonic
4 music.
8 morgenliedBeam = \relative c'' \new Voice {
9 \time 3/8
10 % morgenlied
11 c16 b c e g <e b'> |
12 \stemUp
13 c16 b c e g <e b'> |
16 rachmaninovBeams = \relative c' \new Voice {
17 \voiceOne
18 \time 4/4
19 \key c \minor
20 <c' e c'>8[ <g c g'> <c f> <ees, ees'>] ~
21 <ees ees'>8[ <c c'> <des des'> <d d'>]
24 horizontalBeams = {
25 % todo.
28 nonHorizontalBeams = {
29 \morgenliedBeam
30 \rachmaninovBeams
32 \layout {
33 ragged-right = ##t
36 % cut & paste from beam-concave.ly
38 #(define (<> x y) (not (= x y)))
39 mustBeHorizontal = {
40 \override Staff.Beam #'positions =
41 #(ly:make-simple-closure
42 (ly:make-simple-closure
43 (append
44 (list chain-grob-member-functions `(,cons 0 0))
45 (check-slope-callbacks =))))
47 mustNotBeHorizontal = {
48 \override Staff.Beam #'positions =
49 #(ly:make-simple-closure
50 (ly:make-simple-closure
51 (append
52 (list chain-grob-member-functions `(,cons 0 0))
53 (check-slope-callbacks <>))))
56 \new Voice {
57 \mustBeHorizontal
59 \horizontalBeams
60 \mustNotBeHorizontal
61 \nonHorizontalBeams