]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/inserting-score-fragments-above-a-staff,-as-markups.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / inserting-score-fragments-above-a-staff,-as-markups.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.16.0"
8
9 \header {
10   lsrtags = "real-music, staff-notation"
11
12   texidoc = "
13 The @code{\\markup} command is quite versatile.  In this snippet, it
14 contains a @code{\\score} block instead of texts or marks.
15
16 "
17   doctitle = "Inserting score fragments above a staff as markups"
18 } % begin verbatim
19
20
21 tuning = \markup {
22   \score {
23     \new Staff \with { \remove "Time_signature_engraver" }
24     {
25       \clef bass
26       <c, g, d g>1
27     }
28     \layout { ragged-right = ##t }
29   }
30 }
31
32 \header {
33   title = "Solo Cello Suites"
34   subtitle = "Suite IV"
35   subsubtitle = \markup { Originalstimmung: \general-align #Y #CENTER \tuning }
36 }
37
38 \layout { ragged-right = ##f }
39
40 \relative c'' {
41   \time 4/8
42   \times 2/3 { c8 d e } \times 2/3 { c d e }
43   \times 2/3 { c8 d e } \times 2/3 { c d e }
44   g8 a g a
45   g8 a g a
46 }