From c6d641700c8560ea56b4eec505b0cd01beeb71d9 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Thu, 4 Aug 2005 15:34:48 +0000 Subject: [PATCH] * Documentation/topdocs/NEWS.tely (Top): add uniform-stretching example. (Top): add proportionalNotationDuration example. * input/regression/spacing-proportional.ly: new file. --- ChangeLog | 5 ++++ Documentation/topdocs/NEWS.tely | 34 ++++++++++++++++++++++++ input/regression/spacing-proportional.ly | 23 ++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 input/regression/spacing-proportional.ly diff --git a/ChangeLog b/ChangeLog index 4ad6844a11..f2143eb803 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2005-08-04 Han-Wen Nienhuys + * Documentation/topdocs/NEWS.tely (Top): add uniform-stretching example. + (Top): add proportionalNotationDuration example. + + * input/regression/spacing-proportional.ly: new file. + * lily/tuplet-bracket.cc (parallel_beam): broken bracket never is synched to a beam. diff --git a/Documentation/topdocs/NEWS.tely b/Documentation/topdocs/NEWS.tely index 42ec9c6735..a0ff53528a 100644 --- a/Documentation/topdocs/NEWS.tely +++ b/Documentation/topdocs/NEWS.tely @@ -33,6 +33,40 @@ See user manual, \NAME\ @itemize @bullet +@item +Proportional notation is supported. Notes can be spaced proportional +to their time-difference, by assigning a duration. to +@code{proportionalNotationDuration}. For example, + +@lilypond[verbatim,relative=2,fragment,raggedright] +<< + \set Score.proportionalNotationDuration = #(ly:make-moment 1 16) + \new Staff { c8[ c c c c c] c4 c2 r2 } + \new Staff { c2 \times 2/3 { c8 c c } c4 c1 } +>> +@end lilypond + +This feature was sponsored by Trevor Baca. + +@item +LilyPond will space note according to their durations, disregarding +symbol sizes (e.g. accidentals) if @code{uniform-stretching} of the +@code{SpacingSpanner} grob is set, + + +@lilypond[verbatim,relative=2,fragment] +<< + \override Score.SpacingSpanner #'uniform-stretching = ##t + \new Staff { c16[ c c c c c c c c c16] } + \new Staff { + \times 6/7 { c16 c c cis c c c } + c8[ c32 c32 c16] + } +>> +@end lilypond + +This feature was sponsored by Trevor Baca. + @item Tuplet brackets get arrows when they are broken across a line. diff --git a/input/regression/spacing-proportional.ly b/input/regression/spacing-proportional.ly new file mode 100644 index 0000000000..32b5440d5d --- /dev/null +++ b/input/regression/spacing-proportional.ly @@ -0,0 +1,23 @@ +\header { + + texidoc = "Proportional notation can be created by setting +@code{proportionalNotationDuration}. Notes will be spaced proportional +to the distance for the given duration." + +} + +\version "2.7.4" + +\paper { raggedright = ##t } + +\relative c'' +<< + \set Score.proportionalNotationDuration = #(ly:make-moment 1 16) + \new Staff { c8[ c c c c c] c4 c2 r2 } + \new Staff { c2 \times 2/3 { c8 c c } c4 c1 } +>> + + + + + -- 2.39.5