]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/rest-positioning.ly
Imported Upstream version 2.18.0
[lilypond.git] / input / regression / rest-positioning.ly
diff --git a/input/regression/rest-positioning.ly b/input/regression/rest-positioning.ly
new file mode 100644 (file)
index 0000000..a34b773
--- /dev/null
@@ -0,0 +1,36 @@
+\version "2.17.16"
+
+\header {
+  texidoc = "This shows the single and multi voice rest positions for
+various standard and tab staffs."
+}
+
+
+\layout {
+  ragged-right = ##t
+}
+
+mus = { \mark "R1*7" R1*7 \mark "R1" R1 \mark "r1" r1 \mark "r2" r2 \mark "r4" r4*2 }
+
+\score {
+  {
+    \compressFullBarRests
+    \new StaffGroup <<
+      $@(map
+         (lambda (n)
+           #{
+        \new Staff \with { \override StaffSymbol.line-count = $n }
+        { \mus << \mus \\ \mus >> }
+           #})
+         (iota 8))
+      $@(map
+          (lambda (x)
+            #{
+             \new TabStaff \with { stringTunings = #x }
+             { \mus << \mus \\ \mus >> }
+           #})
+          (list mandolin-tuning banjo-c-tuning guitar-tuning))
+    >>
+  }
+  \layout { \tabFullNotation }
+}