X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fquoting-another-voice.ly;h=40963ab6a9c1971871c158f102a8cbe104bc888f;hb=4d405ef96a8a62771d7d9a283ff5369a772e89d8;hp=2c6877de5693ccf43774bcd92e4e30a57efd627e;hpb=f0a8d907612e79271f97a2936165f57505b12350;p=lilypond.git diff --git a/Documentation/snippets/quoting-another-voice.ly b/Documentation/snippets/quoting-another-voice.ly index 2c6877de56..40963ab6a9 100644 --- a/Documentation/snippets/quoting-another-voice.ly +++ b/Documentation/snippets/quoting-another-voice.ly @@ -1,10 +1,11 @@ -%% 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.17.25" +% 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.19.56 +\version "2.19.56" \header { lsrtags = "staff-notation" @@ -25,10 +26,10 @@ the Internals Reference. doctitle = "Quoting another voice" } % begin verbatim - quoteMe = \relative c' { fis4 r16 a8.-> b4\ff c -} +} % begin verbatim + \addQuote quoteMe \quoteMe original = \relative c'' { @@ -38,18 +39,18 @@ original = \relative c'' { } << - \new Staff { - \set Staff.instrumentName = #"quoteMe" - \quoteMe - } - \new Staff { - \set Staff.instrumentName = #"orig" - \original + \new Staff \with { instrumentName = "quoteMe" } + \quoteMe + + \new Staff \with { instrumentName = "orig" } + \original + + \new Staff \with { + instrumentName = "orig+quote" + quotedEventTypes = #'(note-event articulation-event) } - \new Staff \relative c'' << - \set Staff.instrumentName = #"orig+quote" - \set Staff.quotedEventTypes = - #'(note-event articulation-event) + \relative c'' + << \original \new Voice { s4