---

** [issues:#5382] Feature request: let \layout accept several \layouts stored 
in variables**

**Status:** New
**Created:** Mon Jul 16, 2018 05:42 AM UTC by pkx166h
**Last Updated:** Mon Jul 16, 2018 05:42 AM UTC
**Owner:** nobody


On Sun, 15 Jul 2018 09:24:22 +0200, Malte Meyn <[email protected]> wrote:

> Hi list,
> 
> it’s possible to write something like
> 

~~~
ambitus = \layout {
  \context {
    \Voice
    \consists Ambitus_engraver
  }
}

\score {
  \relative { c' d e f g a b c }
  \ambitus
}
~~~
> 
> or put the \layout variable in a \layout block:

~~~
\score {
  \relative { c' d e f g a b c }
  \layout { \ambitus }
}
~~~

> Now it would be nice if \layout could accept several such \layout variables:

~~~
musicaFicta = \layout {
  \context {
    \Voice
    suggestAccidentals = ##t
  }
}

\score {
  \relative { c' d e f g a b c }
  \layout {
    \ambitus
    \musicaFicta
  }
}
~~~

> Currently, that gives an “error: bad expression type” for \musicaFicta. 
> If not putting \ambitus and \musicaFicta in another \layout layer, that 
> will give two scores, one with Ambitus_engraver and one with 
> suggestAccidentals.

Also see: thread: 
http://lists.gnu.org/archive/html/bug-lilypond/2018-07/msg00043.html 


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
  • [Lilypond-... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto

Reply via email to