]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/breve-extent.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / breve-extent.ly
diff --git a/input/regression/breve-extent.ly b/input/regression/breve-extent.ly
new file mode 100644 (file)
index 0000000..2574456
--- /dev/null
@@ -0,0 +1,31 @@
+\version "2.16.0"
+
+\header  {
+  texidoc = "LilyPond knows that breves and longas are wider than whole notes
+  (because of vertical lines on their sides).  Breves and longas don't collide
+  with accidentals, barlines, neighbor notes etc.  The distance between
+  accidental and note is the same for whole notes, breves and longas."
+}
+
+{ 
+  gis'1
+  gis'\breve*1/2
+  gis'\longa*1/4
+  \override NoteHead #'style = #'altdefault 
+  gis'\breve*1/2
+}
+
+\score {
+    \new Staff {
+      \repeat unfold 8 { a'\breve*1/16 }
+      \override NoteHead #'style = #'altdefault 
+      \repeat unfold 8 { a'\breve*1/16 }
+    }
+    \layout {
+        \context {
+            \Score
+            \override SpacingSpanner
+            #'common-shortest-duration = #(ly:make-moment 1 1 )
+        }
+    }
+}