]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-broken-difficult.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / beam-broken-difficult.ly
diff --git a/input/regression/beam-broken-difficult.ly b/input/regression/beam-broken-difficult.ly
new file mode 100644 (file)
index 0000000..4c6c8a0
--- /dev/null
@@ -0,0 +1,27 @@
+\version "2.16.0"
+
+\header {
+  texidoc = "The functions passed to the @code{positions} property should
+handle complicated cases in the same manner that they handle more normal
+cases.
+"
+}
+
+\paper { ragged-right = ##t }
+{
+  r2.
+  \override Beam #'breakable = ##t
+  r8[ g' \break a' r]
+}
+{
+  r2.
+  \override Beam #'positions = #beam::align-with-broken-parts
+  \override Beam #'breakable = ##t
+  r8[ g' \break a' r]
+}
+{
+  r2.
+  \override Beam #'positions = #beam::slope-like-broken-parts
+  \override Beam #'breakable = ##t
+  r8[ g' \break a' r]
+}
\ No newline at end of file