[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Syntactic synonyms, or no?
From: |
Trevor Bača |
Subject: |
Re: Syntactic synonyms, or no? |
Date: |
Fri, 30 Dec 2005 05:56:31 -0600 |
On 12/30/05, Han-Wen Nienhuys <address@hidden> wrote:
> Trevor Bača wrote:
> > Is ...
> >
> > \new Score {
> > - music -
> > \layout {
> > \context {
> > \Score
> > \override Foo #'bar = #value
> > }
> > }
> > }
> >
> > ... exactly equivalent to ...
> >
> > \new Score \with {
> > \override Foo #'bar = #value
> > } {
> > - music -
> > }
>
>
> yes.
OK. Thank you.
> > ... or is there a reason to prefer one to the other?
>
> it saves on typing if you have many \scores
Ah. True.
FWIW, I really like \new Score { ... } and somehow missed it when I
first learning the input sytax! Guess this is why it's a good idea to
go back and reread the manual (which just keeps getting better, much
like the code itself, imo).
--
Trevor Bača
address@hidden