In message <c62c777e.9200%c_soren...@byu.edu>, Carl D. Sorensen <c_soren...@byu.edu> writes


On 5/9/09 4:21 PM, "Anthony W. Youngman" <lilyp...@thewolery.demon.co.uk>
wrote:
So - is there a function that combines stencils? Or where can I find the
code for \default (I did look ...) so I can try and write a defaultPlus
function that takes a string argument ... I found the LSR example that
combines the rehearsal mark with segnos, codas etc but that looks an
awful palaver...

There is a function that combines stencils:

(ly:stencil-add stencil-one stencil-two)

Thanks! My immediate problem has been solved by \tempo, but this will hopefully be a start into me playing with scheme properly.

There are also functions (stack-stencils axis dir padding stils) and
(stack-stencils-padding-list axis dir padding-list stils)

You can find these functions in

scm/stencil.scm

and

lily/stencil-scheme.cc (which is only available in the source code, but
can be found at the git repository if you don't have the source code on your
machine).

I've got a git repo on my gentoo system (if I can remember where it is and how to update it :-)

Thank you very much.

Cheers,
Wol
--
Anthony W. Youngman - anth...@thewolery.demon.co.uk



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to