2002-08-19 Jan Nieuwenhuizen <janneke@gnu.org>
+ * input/test/beam-control.ly:
* input/test/bar-script-visibility.ly: Update.
* lily/music.cc (internal_set_mus_property): [!NDEBUG] Remove, use
\version "1.5.68"
-
+\header{
+ texidoc="Controlling beam positions."
+}
\score {
- \context Voice \notes\relative c {
- % beam-control.fly
-
- % from upper staffline (position 4) to centre (position 0)
- \property Voice.beamVerticalPosition = #4
- \property Voice.beamHeight = #-4
+ \context Voice \notes\relative c {
+ %% from upper staffline (position 4) to centre (position 0)
+ \property Voice.Beam \override #'positions = #'(2 . 0)
[c'8 c]
- % from center to one above centre (position 2)
- \property Voice.beamVerticalPosition = #0
- \property Voice.beamHeight = #2
+ %% from center to one above centre (position 2)
+ \property Voice.Beam \override #'positions = #'(0 . 1)
[c c]
- % normal beam-algorithm
- \property Voice.beamHeight = ##f
- \property Voice.beamVerticalPosition = ##f
+ %% normal beam-algorithm
+ \property Voice.Beam \revert #'positions
+ \property Voice.Beam \revert #'positions
[c e] [e c]
-
}
- \paper { }
- \midi { }
}