From 1d90796c7cbac887ff146832accd18f159ae2b35 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Mon, 9 Sep 2013 18:09:54 +0200 Subject: [PATCH] Add regtest for slurs in connection with omitted beams in tablature --- .../regression/tablature-slurs-with-beams.ly | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 input/regression/tablature-slurs-with-beams.ly diff --git a/input/regression/tablature-slurs-with-beams.ly b/input/regression/tablature-slurs-with-beams.ly new file mode 100644 index 0000000000..1425ed6807 --- /dev/null +++ b/input/regression/tablature-slurs-with-beams.ly @@ -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 ]) -. 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 + >> +} -- 2.39.5