]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/volta-broken-left-edge.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / volta-broken-left-edge.ly
index 4a021a031cf8ae01c3bf532d900bfe44970910bc..f00287e019ea5f9e77405fd810c7d44bf0a6505d 100644 (file)
@@ -1,10 +1,12 @@
-\version "2.1.36"
+\version "2.16.0"
 
 \header {
 
 \header {
-texidoc ="Broken volta spanners behave correctly at their left edge in all cases."
+  texidoc ="Broken volta spanners behave correctly at their left edge in all cases."
 
 }
 
 
 }
 
+\layout { ragged-right =##t }
+
 %{
 
 
 %{
 
 
@@ -17,12 +19,12 @@ I have attached a file which has several break-volta interactions.
 With the test file and unmodified 1.3.116 I see the following:
 
 Bar 3 - 1st volta spanner centered on first note - prefer it to start
 With the test file and unmodified 1.3.116 I see the following:
 
 Bar 3 - 1st volta spanner centered on first note - prefer it to start
-       closer to key signature (can live with this)
+closer to key signature (can live with this)
 Bar 6 - 1st volta continuation - perfect
 Bar 9 - 2nd volta spanner starts on left edge of key signature - prefer
 Bar 6 - 1st volta continuation - perfect
 Bar 9 - 2nd volta spanner starts on left edge of key signature - prefer
-       it to start right of key signature
+it to start right of key signature
 Bar 12         1st volta starts between first two slurred notes in measure -
 Bar 12         1st volta starts between first two slurred notes in measure -
-       this is not acceptable
+this is not acceptable
 Bar 17 like above with hairpin.
 Bar 23 like above (I had expected this to be OK)
 Bar 20 2nd volta continuation perfect
 Bar 17 like above with hairpin.
 Bar 23 like above (I had expected this to be OK)
 Bar 20 2nd volta continuation perfect
@@ -39,85 +41,85 @@ Bar 23      Perfect
 
 %}
 
 
 %}
 
-voiceB = \notes {
-    \clef bass
-     \set Staff.instrument = "Bass"
-     \set Staff.instr = "B"
-     \key f \minor 
-     \time 4/4  
-    f1
-    \repeat  volta 2
-    {
-        f1    \break
+voiceB =  {
+  \clef bass
+  \set Staff.instrumentName = "Bass"
+  \set Staff.shortInstrumentName = "B"
+  \key f \minor 
+  \time 4/4  
+  f1
+  \repeat  volta 2
+  {
+    f1    \break
+  }
+  \alternative
+  {
+    {  
+      f1 f g \break   
+      f e d  \break   
     }
     }
-    \alternative
-    {
-        {      
-         f1 f g \break   
-         f e d  \break   
-       }
-        {   
-           f1      | 
-       }
+    {   
+      f1      | 
     }
     }
+  }
 }
 }
-voiceC = \notes {
-    \repeat volta 2
-    {
-f f 
-     \break
-    }
-    \alternative
-    {
-        f
-        { f f }
-    }
+voiceC =  {
+  \repeat volta 2
+  {
+    f f 
+    \break
+  }
+  \alternative
+  {
+    f
+    { f f }
+  }
 }
 
 }
 
-voiceD = \notes {
-    \repeat volta 2
-    {
-f f 
-     \break
-    }
-    \alternative
-    {
-        {      f
-       }
-        {      f f \break f 
-        }
-    }
+voiceD =  {
+  \repeat volta 2
+  {
+    f f 
+    \break
+  }
+  \alternative
+  {
+    {  f
+      }
+    {  f f \break f 
+      }
+  }
 }
 }
-voiceE = \notes {
-    \repeat volta 2
-    {
-f f\break
+voiceE =  {
+  \repeat volta 2
+  {
+    f f\break
+  }
+  \alternative
+  {
+    {  
+      f
+
     }
     }
-    \alternative
-    {
-        {      
-        f
-
-       }
-        {      
-         f f 
-        }
+    {  
+      f f 
     }
     }
+  }
 }
 }
-\score{
-        \notes <<
 
 
+<<
+
+
+  \new Staff
+  {
+    \voiceB 
+    \voiceC
+    \break
+    \voiceD
+    \voiceE
+  }
+
+>>
 
 
-       \new Staff
-       {
-           \voiceB 
-           \voiceC
-           \break
-           \voiceD
-           \voiceE
-       }
 
 
-    >>
-       \paper { raggedright =##t }
-}