From da72f54e20d2471b73357522dad8e8314cd2a37e Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Tue, 4 Jun 2013 17:55:49 +0200 Subject: [PATCH] Issue 3398: Format inserting-score-fragments snippet nicer in the wake of issue 3187 --- ...ore-fragments-above-a-staff,-as-markups.ly | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 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 index 0000000000..09a13cf667 --- /dev/null +++ b/Documentation/snippets/new/inserting-score-fragments-above-a-staff,-as-markups.ly @@ -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 + 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 +} -- 2.39.5