]> git.donarmstrong.com Git - lilypond.git/commitdiff
Regtest for \partial in mid-piece
authorDavid Kastrup <dak@gnu.org>
Fri, 8 Aug 2014 15:22:46 +0000 (17:22 +0200)
committerDavid Kastrup <dak@gnu.org>
Thu, 14 Aug 2014 16:05:13 +0000 (18:05 +0200)
input/regression/partial-in-mid-piece.ly [new file with mode: 0644]

diff --git a/input/regression/partial-in-mid-piece.ly b/input/regression/partial-in-mid-piece.ly
new file mode 100644 (file)
index 0000000..4c718a1
--- /dev/null
@@ -0,0 +1,32 @@
+\version "2.19.11"
+
+\header {
+  texidoc = "@code{\\partial} can be can be called in mid-piece in
+multiple contexts."
+}
+
+
+melodyOne = \relative {
+  \time 6/8
+  a'8 a a a a a |
+  \partial 8
+  d8 |
+  c8 c c c c c |
+}
+
+chordsOne = \chordmode {
+  \time 6/8
+  a2. |
+  \partial 8
+  s8 |
+  a2. |
+}
+
+\score {
+  <<
+    \set Score.barNumberVisibility = #all-bar-numbers-visible
+    \override Score.BarNumber.break-visibility = #all-visible
+    \new ChordNames { \chordsOne }
+    \new Staff { \melodyOne }
+  >>
+}