1\version "2.16.0"
2
3\header {
4  texidoc ="Broken volta spanners behave correctly at their left edge in all cases."
5
6}
7
8\layout { ragged-right =##t }
9
10%{
11
12
13I recently discovered that although the following patch seemed to fix
14the original complaint that it causes other problems (the following
15tests were done in 1.3.116.
16
17I have attached a file which has several break-volta interactions.
18
19With the test file and unmodified 1.3.116 I see the following:
20
21Bar 3 - 1st volta spanner centered on first note - prefer it to start
22closer to key signature (can live with this)
23Bar 6 - 1st volta continuation - perfect
24Bar 9 - 2nd volta spanner starts on left edge of key signature - prefer
25it to start right of key signature
26Bar 12 	1st volta starts between first two slurred notes in measure -
27this is not acceptable
28Bar 17	like above with hairpin.
29Bar 23	like above (I had expected this to be OK)
30Bar 20	2nd volta continuation perfect
31
32With the test file and 1.3.116 modified as below I see the following:
33
34Bar 3	Perfect
35Bar 6	1st volta continuation starts with staff - oops
36Bar 9  	2nd volta starts on papers left margin - OOPS!
37Bar 12	Perfect
38Bar 17 	Perfect
39Bar 20	2nd volta continuation starts with staff - oops
40Bar 23	Perfect
41
42%}
43
44voiceB =  {
45  \clef bass
46  \set Staff.instrumentName = "Bass"
47  \set Staff.shortInstrumentName = "B"
48  \key f \minor
49  \time 4/4
50  f1
51  \repeat  volta 2
52  {
53    f1    \break
54  }
55  \alternative
56  {
57    {
58      f1 f g \break
59      f e d  \break
60    }
61    {
62      f1      |
63    }
64  }
65}
66voiceC =  {
67  \repeat volta 2
68  {
69    f f
70    \break
71  }
72  \alternative
73  {
74    f
75    { f f }
76  }
77}
78
79voiceD =  {
80  \repeat volta 2
81  {
82    f f
83    \break
84  }
85  \alternative
86  {
87    {	f
88      }
89    {	f f \break f
90      }
91  }
92}
93voiceE =  {
94  \repeat volta 2
95  {
96    f f\break
97  }
98  \alternative
99  {
100    {
101      f
102
103    }
104    {
105      f f
106    }
107  }
108}
109
110<<
111
112
113  \new Staff
114  {
115    \voiceB
116    \voiceC
117    \break
118    \voiceD
119    \voiceE
120  }
121
122>>
123
124
125
126