+2002-06-07 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * scripts/convert-ly.py: add tuplet-X-visibility rules.
+
+ * Documentation/user/refman.itely (Tuplets): update
+ tuplet-X-visibility properties.
+
2002-06-05 Han-Wen Nienhuys <hanwen@cs.uu.nl>
* lily/beam.cc (shift_region_to_valid): fix stupido bug.
after slope-damping and concaveness check, so that short-stems are
not violated.
-2002-06-01 Jan Nieuwenhuizen <janneke@gnu.org>
-
- * lily/beam.cc (quanting): Increase REGION_SIZE to 4 by default.
- While we'd rather not pay the performance penalty, we certainly
- don't want silly bugs. This should be looked into.
-
2002-05-31 Jan Nieuwenhuizen <janneke@gnu.org>
* stepmake/aclocal.m4: Fix for ash as /bin/sh.
@lilypondfile[printfilename]{tie-accidental.ly}
+
+@section Tuplets
+
@lilypondfile[printfilename]{tup.ly}
+@lilypondfile[printfilename]{tuplet-properties.ly}
+
@lilypondfile[printfilename]{tuplet-beam.ly}
@lilypondfile[printfilename]{tuplet-staffline-collision.ly}
instead.
The typesetting of brackets and numbers is controlled by the properties
-@code{tuplet-bracket-visibility} and @code{tuplet-number-visibility}.
+@code{bracket-visibility} and @code{number-visibility}.
@lilypond[fragment, relative, singleline, verbatim]
-\property Voice.TupletBracket \set #'tuplet-bracket-visibility = ##t
+\property Voice.TupletBracket \set #'bracket-visibility = ##t
\times 2/3{c'8 d e} \times 2/3{d4 e8}
-\property Voice.TupletBracket \set #'tuplet-bracket-visibility = #'if-no-beam
+\property Voice.TupletBracket \set #'bracket-visibility = #'if-no-beam
\times 2/3{c d e} \times 2/3{d4 e8}
-\property Voice.TupletBracket \set #'tuplet-bracket-visibility = ##f
+\property Voice.TupletBracket \set #'bracket-visibility = ##f
\times 2/3{c d e} \times 2/3{d4 e8}
-\property Voice.TupletBracket \set #'tuplet-number-visibility = ##f
+\property Voice.TupletBracket \set #'number-visibility = ##f
\times 2/3{c d e} \times 2/3{d4 e8}
-\property Voice.TupletBracket \set #'tuplet-number-visibility = #'if-no-beam
+\property Voice.TupletBracket \set #'number-visibility = #'if-no-beam
\times 2/3{c d e} \times 2/3{d4 e8}
@end lilypond
MAJOR_VERSION=1
MINOR_VERSION=5
PATCH_LEVEL=59
-MY_PATCH_LEVEL=mb1
+MY_PATCH_LEVEL=uu1
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
--- /dev/null
+\header {
+texidoc = "Tuplet bracket formatting supports numerous options:
+NB should have no bracket, B should have bracket.
+"
+}
+
+
+\version "1.5.50"
+
+
+\score {
+ \context Voice \notes\relative c'' {
+
+ \times 2/3 { c'8 c,, c }
+ \times 2/3 { c'8 c'' c,, }
+
+
+ \times 2/3 { [c8^"NB" c c] }
+
+ \times 2/3 { c8^"B" [c c] }
+ \times 2/4 { r8_"B" [c, c'] r8 }
+
+ \property Voice.TupletBracket \override #'bracket-visibility = #'if-no-beam
+ \times 2/3 { [c8 c c] }
+
+ \property Voice.TupletBracket \override #'direction = #1
+ \property Voice.TupletBracket \override #'number-visibility = ##f
+ \times 2/3 { c8^""^""^"up, no digit" [c c] }
+ \property Voice.TupletBracket \revert #'number-visibility
+
+ \property Voice.TupletBracket \override #'bracket-visibility = ##t
+ \property Voice.TupletBracket \override #'edge-height = #'(0.0 . 0.0)
+ \property Voice.TupletBracket \override #'shorten-pair = #'(2.0 . 2.0)
+ \times 4/6 { c_"shorter, no edges" f b b f c}
+ \property Voice.TupletBracket \revert #'edge-height
+ \property Voice.TupletBracket \revert #'shorten-pair
+ \property Voice.TupletBracket \override #'edge-width = #'(-0.5 . 0.5)
+ \times 2/3 { b^""^""^"angled edges" b b }
+ \property Voice.TupletBracket \revert #'direction
+ \times 2/3 { b b b }
+
+ }
+}
+++ /dev/null
-\version "1.5.50"
-
-
-\score {
- \context Voice \notes\relative c'' {
-
- \times 2/3 { c'8 c,, c }
- \times 2/3 { c'8 c'' c,, }
-
-
- \times 2/3 { [c8 c c] }
- \times 2/3 { c8 [c c] }
-
- \times 2/3 { [c8 c c] }
- \times 2/4 { r8 [c, c'] r8 }
-
-
-
- \property Voice.TupletBracket \override #'bracket-visibility = #'if-no-beam
- \times 2/3 { [c8 c c] }
- \property Voice.TupletBracket \override #'direction = #1
- \property Voice.TupletBracket \override #'number-visibility = ##f
- \times 2/3 { c8 [c c] }
- \property Voice.TupletBracket \revert #'number-visibility
-
- \property Voice.TupletBracket \override #'bracket-visibility = ##t
- \property Voice.TupletBracket \override #'edge-height = #'(0.0 . 0.0)
- \property Voice.TupletBracket \override #'shorten-pair = #'(2.0 . 2.0)
- \times 4/6 { c f b b f c}
- \property Voice.TupletBracket \revert #'edge-height
- \property Voice.TupletBracket \revert #'shorten-pair
- \property Voice.TupletBracket \override #'edge-width = #'(-0.5 . 0.5)
- \times 2/3 { b b b }
- \property Voice.TupletBracket \revert #'direction
- \times 2/3 { b b b }
-
- }
-}
};
-
+/*
+ Hmm. this isn't necessary, since grace beams and normal beams are
+ always nested.
+ */
bool
Beam_engraver::valid_start_moment()
{
conversions.append (((1,5,49), conv, 'noAutoBeaming -> autoBeaming'))
+if 1:
+ def conv (str):
+ str = re.sub ('tuplet-bracket-visibility', 'bracket-visibility', str)
+ str = re.sub ('tuplet-number-visibility', 'number-visibility', str)
+ return str
+
+ conversions.append (((1,5,52), conv, 'tuplet-X-visibility -> X-visibility'))
if 1:
def conv (str):
return str
- conversions.append (((1,5,56), conv, 'Pitch::transpose->ly-transpose-pitch'))
+ conversions.append (((1,5,56), conv, 'Pitch::transpose -> ly-transpose-pitch'))
if 1:
def conv (str):