2004-05-31 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * input/regression/tuplet-nest.ly: bugfix.
+
* lily/tie-performer.cc (stop_translation_timestep): reset
ties_created_. Fixes: midi-tie.ly, midi-lyrics-barcheck.ly
texidoc = "Span bars are drawn only between staff bar lines. By setting
bar lines to transparent, they are shown only between systems.
-Setting @code{SpanBar} transparent does the removes the barlines
+Setting @code{SpanBar} transparent removes the barlines
between systems.
"
\score
{
-\notes \context Staff \relative c''
- <<
- { \times 2/3 { c'8~ c8~ c8~ c8~ c8~ c8 } }
- \\
- { \voiceTwo \times 2/5 { a,4 ~a4 ~a4~ a4~ a4 }}
- \\
- { \voiceThree { b,8 ~ b8 ~ b8 ~ b8 }}
- >>
+ \context Staff \relative c''
+ <<
+ { \times 2/3 { c'8~ c8~ c8~ c8~ c8~ c8 } }
+ \\
+ { \voiceTwo \times 2/5 { a,4 ~a4 ~a4~ a4~ a4 }}
+ \\
+ { \voiceThree { b,8 ~ b8 ~ b8 ~ b8 }}
+ >>
+
+ \paper {
+ raggedright = ##t
+ }
}
\version "2.3.1"
+
+
\header {
- texidoc="By a manual hack for nested tuplets, an outer tuplet can be moved up."
+
+ texidoc=" Nested tuplets can be printed, using a manual hack to
+ move the outer bracket up."
+
}
#(define (make-text-checker-once text)
#(define text-checker-once #t)
\score {
- \notes\relative c'' {
+ \relative c'' {
\set tupletNumberFormatFunction = #fraction-tuplet-formatter
- \applyoutput #(outputproperty-compatibility (make-text-checker-once "2:3")
- 'extra-offset '(0 . 1.5))
- \times 2/3 {
+ \applyoutput #(lambda (gr org cur)
+ (if (equal? (ly:grob-property gr 'text) "6:4")
+ (set! (ly:grob-property gr 'extra-offset) '(0 . 1.5))))
+ \times 4/6 {
\times 2/3 {
a a a
}
/// The spanners. Array order is synced with time_scaled_musics_
Link_array<Spanner> started_spanners_;
- virtual void finalize ();
virtual void acknowledge_grob (Grob_info);
virtual bool try_music (Music*r);
virtual void start_translation_timestep ();
{
if (Note_column::has_interface (i.grob_))
{
- for (int j =0; j <started_spanners_.size (); j++)
+ for (int j =0; j < started_spanners_.size (); j++)
if (started_spanners_[j])
Tuplet_bracket::add_column (started_spanners_[j], dynamic_cast<Item*> (i.grob_));
}
}
}
-void
-Tuplet_engraver::finalize ()
+Tuplet_engraver::Tuplet_engraver ()
{
}
-
-
-Tuplet_engraver::Tuplet_engraver (){}
-
ENTER_DESCRIPTION (Tuplet_engraver,
/* descr */ "Catch Time_scaled_music and generate appropriate bracket ",
/* creats*/ "TupletBracket",