X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fstaff-headword.ly;h=b959f0713a1156785b5c5e0291af566afbbbffb2;hb=3f57efa0cde39bf0642fb6fb3672a19262ceda83;hp=230c7532ce2fac46ce40d2cdce789d248c9cf0d7;hpb=0706458a184d83d0776ffa03b07f710d9e3138ba;p=lilypond.git diff --git a/Documentation/snippets/staff-headword.ly b/Documentation/snippets/staff-headword.ly index 230c7532ce..b959f0713a 100644 --- a/Documentation/snippets/staff-headword.ly +++ b/Documentation/snippets/staff-headword.ly @@ -1,19 +1,15 @@ -% Do not edit this file; it is automatically +% DO NOT EDIT this file manually; it is automatically % generated from Documentation/snippets/new +% Make any changes in Documentation/snippets/new/ +% and then run scripts/auxiliar/makelsr.py +% % This file is in the public domain. -%% Note: this file works from version 2.12.0 -\version "2.13.29" +%% Note: this file works from version 2.19.55 +\version "2.19.55" \include "catalan.ly" -#(set-global-staff-size 15) -\paper{ - ragged-right=##t - line-width=17\cm - indent=0\cm -} - \header { - lsrtags = "headwords" + lsrtags = "headword" texidoc = "" doctitle = "headword" } % begin verbatim @@ -40,29 +36,20 @@ trompette = \relative do'' { \key mib \major \time 2/4 R2^\markup { \italic Comodo } | - r8 \once \override TextScript #'padding = #2.0 + r8 \once \override TextScript.padding = #2.0 sib16-.^\markup {\dynamic p \italic grazioso} do-. mib( re)-. do-. sib-. | re8-. r8 re4->( | re8) do16-. re-. mib( re) do-. re-. | do8-. r8 sib4-> | } -tambourin = \relative do' { - \time 2/4 - r8 do16 do do8 do | - r8 do16 do do8 do | - r8 do r do | - r8 do16 do do8 do | - r8 do r do | -} - -tambourinMidi = \drummode { +tambourin = \drummode { \time 2/4 - r8 tamb16 tamb tamb8 tamb | - r8 tamb16 tamb tamb8 tamb | - r8 tamb r tamb | - r8 tamb16 tamb tamb8 tamb | - r8 tamb r tamb | + r8 tamb16 16 8 8 | + r8 16 16 8 8 | + r8 8 r8 8 | + r8 16 16 8 8 | + r8 8 r8 8 | } upper = \relative do' { @@ -90,42 +77,39 @@ lower = \relative do { \score { << - \context Staff = "trumpet" << - \set Staff.instrumentName = \markup { "Trumpet" \concat{ B \teeny \raise #0.4 \flat } } + \context Staff = "trumpet" + \with { instrumentName = \markup { "Trumpet" \concat{ B \teeny \raise #0.4 \flat } } } + << \transpose sib do' \trompette >> - \context RhythmicStaff = "tambourin" << - \set Staff.instrumentName = "Tambourine" + \context RhythmicStaff = "tambourin" + \with { instrumentName = "Tambourine" } + << \tambourin >> - \context PianoStaff = "prima" << - \set PianoStaff.instrumentName = "Piano " + \context PianoStaff = "prima" + \with { instrumentName = "Piano" } + << \context Staff = "uppera" \upper \context Staff = "lowera" \lower >> >> \layout { } } + \score { << - \context Staff = "trumpet" { - \set Staff.midiInstrument = "trumpet" - \trompette - } + \context Staff = "trumpet" \with { midiInstrument = "trumpet" } + \trompette \context DrumStaff = "tambourin" { - \tambourinMidi + \tambourin } - \context Staff = "piano" << + \context Staff = "piano" + << \upper \lower >> >> - \midi { - \context { - \Score - tempoWholesPerMinute = #(ly:make-moment 72 4) - } - } + \midi { \tempo 4 = 72 } } -