lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntactic synonyms, or no?


From: Erik Sandberg
Subject: Re: Syntactic synonyms, or no?
Date: Wed, 11 Jan 2006 13:51:02 +0100
User-agent: KMail/1.8.3

On Friday 30 December 2005 12.13, Han-Wen Nienhuys 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.
>
> > ... or is there a reason to prefer one to the other?
>
> it saves on typing if you have many \scores

Also, there are some limitations with the \with construct (for example, 
\consists and \remove commands are ignored IIRC)

-- 
Erik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]