A square bracket on the left indicates that the player should not
arpeggiate the chord. To draw these brackets, set the
-@code{molecule-callback} property of @code{Arpeggio} or
+@code{print-function} property of @code{Arpeggio} or
@code{PianoStaff.Arpeggio} objects to @code{\arpeggioBracket}, and use
@code{\arpeggio} statements within the chords as before:
@lilypond[fragment,relative,verbatim]
\property PianoStaff.Arpeggio \override
- #'molecule-callback = \arpeggioBracket
+ #'print-function = \arpeggioBracket
<c' e g c>\arpeggio
@end lilypond
PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=1
-PATCH_LEVEL=20
-MY_PATCH_LEVEL=hwn1
+PATCH_LEVEL=21
+MY_PATCH_LEVEL=
\property Score.BarNumber \override #'break-visibility = #end-of-line-invisible
\property Score.barNumberVisibility = #(every-nth-bar-number-visible 4)
\property Score.BarNumber \override #'print-function =
- #(make-molecule-boxer 0.1 0.25 0.25 Text_item::brew_molecule)
+ #(make-molecule-boxer 0.1 0.25 0.25 Text_item::print)
\property Score.BarNumber \override #'font-size = #2
\repeat unfold 9 { c1 } \bar "|."
\version "2.1.21"
\header {
texidoc = "@cindex Boxed Molecule
-You can override the molecule callback to draw a box around
-arbitrary grobs. " }
+
+You can override the print-function to draw a box around arbitrary grobs. " }
\score { \notes \relative c'' {
\score { \notes \relative c'
{
- \property Staff.TimeSignature \override #'print-function = #Text_item::brew_molecule
+ \property Staff.TimeSignature \override #'print-function = #Text_item::print_function
\property Staff.TimeSignature \override #'text = #tsMarkup
SCM noteHeadProperties = updated_grob_properties (daddy_trans_, ly_symbol2scm ("NoteHead"));
SCM value = ly_cdr (scm_sloppy_assq (source_callback, noteHeadProperties));
execute_pushpop_property (daddy_trans_, ly_symbol2scm ("NoteHead"),
- atarget_callback, value);
+ target_callback, value);
}
/*
(if (equal? nm object-name)
(begin
- (ly:set-grob-property! grob 'print-function Balloon_interface::brew_molecule)
+ (ly:set-grob-property! grob 'print-function Balloon_interface::print_function)
(ly:set-grob-property! grob 'balloon-original-callback cb)
(ly:set-grob-property! grob 'balloon-text text)
(ly:set-grob-property! grob 'balloon-text-offset off)
;; syntax, description and example.
;;
-(define-public brew-new-markup-molecule Text_item::brew_molecule)
+(define-public brew-new-markup-molecule Text_item::print)
(define-public interpret-markup Text_item::interpret_markup)
(else "")))
)
- (let ((slur (Slur::brew_molecule grob))
+ (let ((slur (Slur::print grob))
(text (fontify-text (ly:get-default-font grob) letter)))
(let ((x (/ (- (cdr (ly:molecule-get-extent slur 0))