]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add regtest for slurs in connection with omitted beams in tablature
authorDavid Kastrup <dak@gnu.org>
Mon, 9 Sep 2013 16:09:54 +0000 (18:09 +0200)
committerDavid Kastrup <dak@gnu.org>
Sun, 15 Sep 2013 09:01:38 +0000 (11:01 +0200)
input/regression/tablature-slurs-with-beams.ly [new file with mode: 0644]

diff --git a/input/regression/tablature-slurs-with-beams.ly b/input/regression/tablature-slurs-with-beams.ly
new file mode 100644 (file)
index 0000000..1425ed6
--- /dev/null
@@ -0,0 +1,36 @@
+\version "2.17.20"
+
+\header
+{
+  texidoc = "
+Slur placement in complementary tablatures should not be affected by
+either automatic or manual beaming.
+"
+}
+
+guitarSolo = {
+  \time 3/4
+  \set Timing.beamExceptions = #'((end . (((1 . 8) . (4 2)))))
+  <<
+    {bes'2( aes'8-. r)} \\
+    {r8 cis(-\tag #'beam [ b f'-\tag #'beam ]) <d f'>-. r}
+  >>
+  \bar "|."
+}
+
+guitarSolos = {
+  \tempo "Manual beams"
+  \guitarSolo
+  \tempo "Automatic beams"
+  \removeWithTag #'beam \guitarSolo
+}
+
+\score {
+  <<
+    \new StaffGroup <<
+      \new Staff { \clef "treble_8" \guitarSolos }
+      \new TabStaff \guitarSolos
+    >>
+    \new TabStaff \with { \tabFullNotation } \guitarSolos
+  >>
+}