From: David Kastrup Date: Tue, 4 Jun 2013 15:55:49 +0000 (+0200) Subject: Issue 3398: Format inserting-score-fragments snippet nicer in the wake of issue 3187 X-Git-Tag: release/2.17.20-1~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=da72f54e20d2471b73357522dad8e8314cd2a37e;p=lilypond.git Issue 3398: Format inserting-score-fragments snippet nicer in the wake of issue 3187 --- 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 +}