On Monday 06 June 2005 00.17, Fairchild wrote:
> This code is effective:
> %%%%%%%%%%%%%%%%%%%%%%%%
> \version "2.4.3"
> Mag = #3
> BigOn = \override NoteHead #'font-size = \Mag
> \score {\relative c'' {
> c c c c
> \BigOn
> c c c c
> }}
> %%%%%%%%%%%%%%%%%%%%%%%%
>
> This shows what I'd like, but it doesn't work:
> %%%%%%%%%%%%%%%%%%%%%%%%
> \version "2.4.3"
> BigOn = \override NoteHead #'font-size = \Mag
> \score {\relative c'' {
> c c c c
> Mag = #3
> \BigOn
> c c c c
> }}
> %%%%%%%%%%%%%%%%%%%%%%%%
>
> That is, is there a way to pass a parameter into a define
> from within \score?
Sorry, this is not possible. If you really need it, you can play around with
\include:
Mag = #3
BigOn = \include "BigOn.ly"
.. and let BigOn.ly contain only the "\override.. " line.
Erik
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user