[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Argument transfer?
From: |
Erik Sandberg |
Subject: |
Re: Argument transfer? |
Date: |
Mon, 6 Jun 2005 17:53:49 +0200 |
User-agent: |
KMail/1.8 |
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