]> git.donarmstrong.com Git - lilypond.git/blob - input/bugs/guile-state.ly
patch::: 1.3.118.jcn1
[lilypond.git] / input / bugs / guile-state.ly
1 \header{
2 texidoc="Real header: the slurBeginAttachment setting still lives in the
3 second example, breaking the cross staff broken slur.
4 ";
5 }
6         
7 \header{
8 texidoc="
9 Slurs can be forced to always attach to note heads.
10 ";
11 }
12
13
14 \score{
15         \notes \relative c''{
16                 \property Voice.VerticalDirection = #1
17                 \property Voice.slurBeginAttachment = #'head
18                 \property Voice.slurEndAttachment = #'head
19                 g16()g()g()g()d'()d()d()d
20         }
21         \paper{
22                 indent = 0.0;
23                 linewidth = 60.0\mm;
24         }
25 }
26         
27 \header{
28 texidoc="
29 The same goes for slurs. They behave decently when broken across
30 linebreak.
31 ";
32 }
33
34 \score{
35         \context PianoStaff <
36         \context Staff=one \notes\relative c'{
37 %{
38                 \stemUp \slurUp
39                  c4( c \translator Staff=two c )c |
40                 \translator Staff=one
41                 \stemUp \slurUp
42                  c4( c \translator Staff=two c )c |
43                 \stemUp \slurUp
44                  c4( c \translator Staff=one c )c |
45                 \translator Staff=two
46                 \stemUp \slurUp
47                  c4( c \translator Staff=one c )c |
48                 \translator Staff=two
49                 \stemUp \slurUp
50                  c4( \translator Staff=one c c )c |
51 %}
52                 r2
53                 \translator Staff=two
54                 \stemUp \slurUp
55                  c4( \translator Staff=one c
56                    \break
57                 c )c
58                 r2
59
60 %{
61                 \stemDown \slurDown
62                  d4( \translator Staff=two c c \translator Staff=one )d
63                 \translator Staff=two
64                 \stemUp \slurUp
65                  c4( \translator Staff=one c c \translator Staff=two )c
66                 r1
67 %}
68         }
69         \context Staff=two \notes\relative c'{
70                 \clef bass;
71                 s1 s1 %s1 s1 s1 s1 s1 s1 s1 s1
72         }
73         >
74         \paper { indent = 0.; linewidth = 40.*\staffspace; }
75 }
76
77 \version "1.3.110";