]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/new/inserting-score-fragments-above-a-staff,-as-markups.ly
Imported Upstream version 2.18.0
[lilypond.git] / Documentation / snippets / new / inserting-score-fragments-above-a-staff,-as-markups.ly
diff --git a/Documentation/snippets/new/inserting-score-fragments-above-a-staff,-as-markups.ly b/Documentation/snippets/new/inserting-score-fragments-above-a-staff,-as-markups.ly
new file mode 100644 (file)
index 0000000..09a13cf
--- /dev/null
@@ -0,0 +1,39 @@
+\version "2.17.15"
+
+\header {
+  lsrtags = "real-music, staff-notation"
+
+  texidoc = "
+The @code{\\markup} command is quite versatile.  In this snippet, it
+contains a @code{\\score} block instead of texts or marks.
+
+"
+  doctitle = "Inserting score fragments above a staff as markups"
+}
+
+tuning = \markup {
+  \score {
+    \new Staff \with { \remove "Time_signature_engraver" }
+    {
+      \clef bass
+      <c, g, d g>1
+    }
+    \layout { ragged-right = ##t  indent = 0\cm }
+  }
+}
+
+\header {
+  title = "Solo Cello Suites"
+  subtitle = "Suite IV"
+  subsubtitle = \markup { Originalstimmung: \raise #0.5 \tuning }
+}
+
+\layout { ragged-right = ##f }
+
+\relative c'' {
+  \time 4/8
+  \tuplet 3/2 { c8 d e } \tuplet 3/2 { c d e }
+  \tuplet 3/2 { c8 d e } \tuplet 3/2 { c d e }
+  g8 a g a
+  g8 a g a
+}