X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fpreventing-final-mark-from-removing-final-tuplet.ly;fp=Documentation%2Fsnippets%2Fpreventing-final-mark-from-removing-final-tuplet.ly;h=0601a666e5e72014523c1bc73c81e4b897478fba;hb=941dff9d2a67080e0dd8474f1e70f0c72ace6424;hp=0000000000000000000000000000000000000000;hpb=5a22d6233a39d3164e1ca043244794c268be4ad0;p=lilypond.git diff --git a/Documentation/snippets/preventing-final-mark-from-removing-final-tuplet.ly b/Documentation/snippets/preventing-final-mark-from-removing-final-tuplet.ly new file mode 100644 index 0000000000..0601a666e5 --- /dev/null +++ b/Documentation/snippets/preventing-final-mark-from-removing-final-tuplet.ly @@ -0,0 +1,47 @@ +%% 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.0" + +\header { + lsrtags = "rhythms" + + texidoc = " +The addition of a final @code{mark} can result in the loss of a final +tuplet marking. This can be overcome by setting @code{TupletBracket +#'full-length-to-extent} to @code{false}. + +" + doctitle = "Preventing final mark from removing final tuplet" +} % begin verbatim + +\new Staff { + \set tupletFullLength = ##t + \time 1/8 + \times 2/3 { c'16 c'16 c'16 } + \times 2/3 { c'16 c'16 c'16 } + \times 2/3 { c'16 c'16 c'16 } + \override Score.RehearsalMark #'break-visibility = #'#(#t #t #t) + \override Score.RehearsalMark #'direction = #DOWN + \override Score.RehearsalMark #'self-alignment-X = #RIGHT + \mark "Composed Feb 2007 - Feb 2008" +} + +\new Staff { + \set tupletFullLength = ##t + + \override TupletBracket #'full-length-to-extent = ##f + + \time 1/8 + \times 2/3 { c'16 c'16 c'16 } + \times 2/3 { c'16 c'16 c'16 } + \times 2/3 { c'16 c'16 c'16 } + \override Score.RehearsalMark #'break-visibility = #'#(#t #t #t) + \override Score.RehearsalMark #'direction = #DOWN + \override Score.RehearsalMark #'self-alignment-X = #RIGHT + \mark "Composed Feb 2007 - Feb 2008" +} +