bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 2336 in lilypond: Patch: Add layout changing command \layout-f


From: lilypond
Subject: Re: Issue 2336 in lilypond: Patch: Add layout changing command \layout-from for getting context defs from music
Date: Sat, 25 Feb 2012 06:33:02 +0000


Comment #11 on issue 2336 by address@hidden: Patch: Add layout changing command \layout-from for getting context defs from music
http://code.google.com/p/lilypond/issues/detail?id=2336

I don't think that
\midi { \layout-properties-from { \tempo 4 = 80 } }
is clearer.

First, \midi is not \layout. Second, there is no such thing as either layout or output properties. What is changed are context definitions, with _either_ command. The difference is that the preexisting command produces context modifications for a single context definition, while the new command modifies several context definitions within an output definition.

Of course, I bungled the syntax in the example: it is not really that symmetrical. You have to write
\midi {
  \Score { \with \context-like { \tempo 4 = 80 } }
}
in order to use the context mod produced by the previous \settingsFrom.




reply via email to

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