]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/wind-headword.ly
Snippets: Replace \set Staff.instrumentName
[lilypond.git] / Documentation / snippets / new / wind-headword.ly
1
2 \version "2.19.56"
3
4 \header {
5   lsrtags = "headword"
6
7   texidoc = "
8 Wind headword
9
10 "
11   doctitle = "Wind headword"
12 }
13
14 %% http://lsr.di.unimi.it/LSR/Item?id=833
15 %% see also http://lilypond.org/doc/v2.18/Documentation/notation/wind-instruments
16
17 % NR 2.whatever  Wind
18 % Tchaikovsky
19 % Nutcracker Suite, VII Dance of the Merlitons
20 \score {
21   \new StaffGroup <<
22     \new Staff \with { instrumentName = "Flauto I,II" }
23     \relative c'' {
24       \once \override Score.RehearsalMark.self-alignment-X = #-1
25       \once \override Score.RehearsalMark.break-align-symbols = #'(time-signature)
26       \once \override Score.TimeSignature.break-align-anchor-alignment = #LEFT
27       \once \override Score.RehearsalMark.padding = #4
28       \mark \markup \large \bold {Moderato assai}
29       \key d \major
30       \time 2/4
31       \compressMMRests R2*2
32       <d a>16-.\p <cis g>-. <d a>-. <cis g>-. <d a>8-. <cis g>-.
33       <e a,>-.\< <d a>32( <fis d> <a fis> <d a> <fis d>4--)\mf
34       <g d>16-. <fis cis>-. <g d>-. <fis cis>-.
35       <e b>(\> <d a>) <a fis>-. <fis d>-.\!
36       <d bes>4--\sf \acciaccatura {<d' bes>8} <cis a>4--\mf
37     }
38     \new Staff \with { instrumentName = "Flauto III" }
39     \relative c' {
40       \key d \major
41       \time 2/4
42       \compressMMRests R2*2_\markup{Gr.Fl.}
43       fis16-.\p e-. fis-. e-. fis8-. e-.
44       g8-.\< fis32( a d fis a4--)\mf
45       b16-. a-. b-. a-. g(\> fis) d-. a-.\!
46       g4--\sf \acciaccatura fis'8 g4--\mf
47     }
48   >>
49 }