]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/bar-lines.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / bar-lines.ly
diff --git a/input/regression/bar-lines.ly b/input/regression/bar-lines.ly
new file mode 100644 (file)
index 0000000..359ccb4
--- /dev/null
@@ -0,0 +1,38 @@
+\version "2.16.0"
+
+\header { texidoc = "Various types of bar lines can be drawn.
+
+The dashes in a dashed bar line covers staff lines exactly. Dashed
+barlines between staves start and end on a half dash precisely.
+
+The dots in a dotted bar line are in spaces.
+
+A thick bar line is created by \bar \".\", which is consistent
+with e.g. \bar \"|.\"
+
+A ticked bar line is a short line of the same length as a staff
+space, centered on the top-most barline.
+
+" }
+
+\relative \new StaffGroup <<
+  \new Staff = "1" {
+    c2 \bar "dashed" c
+    s1
+    c2 \bar ":" c
+    s1
+    c2 \bar "." c
+    s1
+    c2 \bar "'" c
+  }
+  \new Staff = "2" {
+    c2 c
+    s1
+    c2 c
+    s1
+    c2 c
+    s1
+    c2 c
+  }
+>>
+