X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fmulti-measure-rest-markup.ly;h=6ee5046d9e19eb5e98e4f3d6fe3101b3e0e6b2a3;hb=5944d20489bb5b8e4c4907fa3b3bcae9ec275ccb;hp=864205be431cfa0c3d25a98615b9368d7190fb02;hpb=8247813bc580a90f7838846dc38aad5d49ac9d9d;p=lilypond.git diff --git a/Documentation/snippets/multi-measure-rest-markup.ly b/Documentation/snippets/multi-measure-rest-markup.ly index 864205be43..6ee5046d9e 100644 --- a/Documentation/snippets/multi-measure-rest-markup.ly +++ b/Documentation/snippets/multi-measure-rest-markup.ly @@ -1,10 +1,12 @@ -%% 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.14.2" +% 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.20 + +\version "2.19.20" \header { lsrtags = "rhythms, text" @@ -13,14 +15,13 @@ Markups attached to a multi-measure rest will be centered above or below it. Long markups attached to multi-measure rests do not cause the measure to expand. To expand a multi-measure rest to fit the -markup, use a spacer rest with an attached markup before the +markup, use an empty chord with an attached markup before the multi-measure rest. -Note that the spacer rest causes a bar line to be inserted. Text -attached to a spacer rest in this way is left-aligned to the position -where the note would be placed in the measure, but if the measure -length is determined by the length of the text, the text will appear to -be centered. +Text attached to a spacer rest in this way is left-aligned to the +position where the note would be placed in the measure, but if the +measure length is determined by the length of the text, the text will +appear to be centered. " doctitle = "Multi-measure rest markup" @@ -28,13 +29,14 @@ be centered. \relative c' { - \compressFullBarRests - \textLengthOn - s1*0^\markup { [MAJOR GENERAL] } - R1*19 - s1*0_\markup { \italic { Cue: ... it is yours } } - s1*0^\markup { A } - R1*30^\markup { [MABEL] } - \textLengthOff - c4^\markup { CHORUS } d f c + \compressMMRests { + \textLengthOn + <>^\markup { [MAJOR GENERAL] } + R1*19 + <>_\markup { \italic { Cue: ... it is yours } } + <>^\markup { A } + R1*30^\markup { [MABEL] } + \textLengthOff + c4^\markup { CHORUS } d f c + } }