-\version "1.9.4"
+\version "2.1.21"
\header { texidoc=" You can write molecule callbacks in Scheme, thus
providing custom glyphs for notation elements. A simple example is
"Construct a function that will do CALLBACK and add parentheses.
Example usage:
- \property Voice.NoteHead \\override #'molecule-callback
+ \\property Voice.NoteHead \\override #'print-function
=
- #(parenthesize-callback Note_head::brew_molecule)
+ #(parenthesize-callback Note_head::print)
"
\score {
\notes \relative c' { c4 e
- \property Voice.NoteHead \override #'molecule-callback
+ \property Voice.NoteHead \override #'print-function
=
- #(parenthesize-callback Note_head::brew_molecule)
+ #(parenthesize-callback Note_head::print)
g bes
- \property Voice.NoteHead \revert #'molecule-callback
- \property Voice.Beam \override #'molecule-callback
+ \property Voice.NoteHead \revert #'print-function
+ \property Voice.Beam \override #'print-function
=
- #(parenthesize-callback Beam::brew_molecule)
+ #(parenthesize-callback Beam::print)
a8 gis8 a2.