thanx mats, that works, but only if i use this construct:
%% PARENTHESES FUNCTION COPIED HERE FROM molecule-hacking.ly
openbracket = {
\property Voice.NoteHead \override #'molecule-callback
=
#(parenthesize-callback Note_head::brew_molecule)
}
closebracket = {
\property Voice.NoteHead \revert #'molecule-callback
}
% --------------------------------------------------------------------
\score {
\notes \relative c''' {
a4
<{c4} \context Voice = bottom {\openbracket c, \closebracket}>
}
}
is there anyway to get this construct a bit neater? i'm not bothered
about typing this a few times, but i was wondering if there's a way to
pass values to a scheme function, say like so (in a bad form of pseudo
code):
function makeBracketChord(noteOne . noteTwo) = {
<{noteOne}
\context Voice = b {
\openbracket noteTwo \closebracket
}
>
}
and then calling in a score context:
\makeBracketChord(c4 . c,)
greetz,
simon.
--
Confucius say, man who live in glass house shower in basement.
_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user