]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/inserting-score-fragments-above-a-staff,-as-markups.ly
resolve merge
[lilypond.git] / Documentation / snippets / inserting-score-fragments-above-a-staff,-as-markups.ly
diff --git a/Documentation/snippets/inserting-score-fragments-above-a-staff,-as-markups.ly b/Documentation/snippets/inserting-score-fragments-above-a-staff,-as-markups.ly
new file mode 100644 (file)
index 0000000..36c4085
--- /dev/null
@@ -0,0 +1,46 @@
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.14.0"
+
+\header {
+  lsrtags = "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"
+} % begin verbatim
+
+tuning = \markup {
+  \score {
+    \new Staff \with { \remove "Time_signature_engraver" }
+    {
+      \clef bass
+      <c, g, d g>1
+    }
+    \layout { ragged-right = ##t }
+  }
+}
+
+\header {
+  title = "Solo Cello Suites"
+  subtitle = "Suite IV"
+  subsubtitle = \markup { Originalstimmung: \general-align #Y #CENTER \tuning }
+}
+
+\layout { ragged-right = ##f }
+
+\relative c'' {
+  \time 4/8
+  \times 2/3 { c8 d e } \times 2/3 { c d e }
+  \times 2/3 { c8 d e } \times 2/3 { c d e }
+  g8 a g a
+  g8 a g a
+}
+