]> git.donarmstrong.com Git - lilypond.git/commitdiff
new file.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 4 Jul 2004 12:17:56 +0000 (12:17 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 4 Jul 2004 12:17:56 +0000 (12:17 +0000)
input/test/volta-chord-names.ly [new file with mode: 0644]

diff --git a/input/test/volta-chord-names.ly b/input/test/volta-chord-names.ly
new file mode 100644 (file)
index 0000000..07ac7a6
--- /dev/null
@@ -0,0 +1,21 @@
+\header {
+
+    texidoc = "Volta brackets can be placed over chord names. This
+requires adding an engraver to @code{ChordNames}, and setting
+@code{voltaOnThisStaff} correctly."
+
+}
+
+\version "2.2.3"
+<<
+  \new ChordNames \with {
+      voltaOnThisStaff = ##t
+  } \chords {
+     c1 c
+  }
+  \new Staff \with {
+      voltaOnThisStaff = ##f
+  } {
+   \repeat volta 2 { c'1 } \alternative { c' }
+  }
+>>