X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Finserting-score-fragments-above-a-staff%2C-as-markups.ly;fp=Documentation%2Fsnippets%2Finserting-score-fragments-above-a-staff%2C-as-markups.ly;h=36c40856618b25e017ee57bfde12b695dc69fed4;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git 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 index 0000000000..36c4085661 --- /dev/null +++ b/Documentation/snippets/inserting-score-fragments-above-a-staff,-as-markups.ly @@ -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 + 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 +} +