X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fquoting-another-voice.ly;h=3b08a71249dcd8617364064e8dcab78605f4fe4b;hb=1dff29aea8a32c30f7fcfadf8a00afa0371dbf7a;hp=b1c54dfb76f4d934cdcf36a5856bdf4224486cda;hpb=4c1b01719b22ed0ae8d1aa393f14d1c205c3ac88;p=lilypond.git diff --git a/input/lsr/quoting-another-voice.ly b/input/lsr/quoting-another-voice.ly index b1c54dfb76..3b08a71249 100644 --- a/input/lsr/quoting-another-voice.ly +++ b/input/lsr/quoting-another-voice.ly @@ -1,38 +1,42 @@ %% Do not edit this file; it is auto-generated from input/new -\version "2.11.35" -\layout { ragged-right= ##t } +%% This file is in the public domain. +\version "2.11.51" \header { - doctitle = "Quoting another voice" lsrtags = "staff-notation" texidoc = "With @code{\\quote}, fragments of previously entered -music may be quoted. @code{quotedEventTypes} will determines what -things are quoted. In this example, a 16th rest is not quoted, since +music may be quoted. @code{quotedEventTypes} will determines which +items are quoted. In this example, a 16th rest is not quoted, since @code{rest-event} is not in @code{quotedEventTypes}." -} -% begin verbatim + doctitle = "Quoting another voice" +} % begin verbatim + quoteMe = \relative c' { fis4 r16 a8.-> b4-\ff c } -\addQuote quoteMe \quoteMe -original = \relative c'' { c8 d s2 es8 gis8 } +\addQuote quoteMe \quoteMe +original = \relative c'' { + c8 d s2 + \once \override NoteColumn #'ignore-collision = ##t + es8 gis8 +} << - \new Staff { - \set Staff.instrumentName = "quoteMe" - \quoteMe - } - \new Staff { - \set Staff.instrumentName = "orig" - \original - } - \new Staff \relative c'' << - \set Staff.instrumentName = "orig+quote" - \set Staff.quotedEventTypes = #'(note-event articulation-event) - \original - \new Voice { - s4 + \new Staff { + \set Staff.instrumentName = #"quoteMe" + \quoteMe + } + \new Staff { + \set Staff.instrumentName = #"orig" + \original + } + \new Staff \relative c'' << + \set Staff.instrumentName = #"orig+quote" + \set Staff.quotedEventTypes = #'(note-event articulation-event) + \original + \new Voice { + s4 \set fontSize = #-4 \override Stem #'length-fraction = #(magstep -4) \quoteDuring #"quoteMe" { \skip 2. } - } - >> + } + >> >>