Re: Re-using "\with" contexts

2022-07-15 Thread Alasdair McAndrew
Dear Lukas, Pierre, David, Thank you all for your expert advice and examples. It is indeed quite straightforward - when you know how! I'll now be able to finish off my current piece, and start on the next one... cheers, Alasdair On Sat, Jul 16, 2022 at 1:21 AM David Kastrup wrote: > Alasdair

Re: Re-using "\with" contexts

2022-07-15 Thread David Kastrup
Alasdair McAndrew writes: > Hello, > > There are examples of changing a staff context in the manual, for example at > > https://lilypond.org/doc/v2.21/Documentation/snippets/pitches#pitches-creating-custom-key-signatures > > Here a new staff is instantiated; with about 10 lines of "\with" to cha

Re: Re-using "\with" contexts

2022-07-15 Thread Pierre Perol-Schneider
Hi Alasdair, See also: https://lilypond.org/doc/v2.22/Documentation/notation/defining-new-contexts.html Cheers, Pierre Le ven. 15 juil. 2022 à 16:22, Lukas-Fabian Moser a écrit : > Hi Alasdair, > > > Here a new staff is instantiated; with about 10 lines of "\with" to > > change its appearance a

Re: Re-using "\with" contexts

2022-07-15 Thread Lukas-Fabian Moser
Hi Alasdair, Here a new staff is instantiated; with about 10 lines of "\with"  to change its appearance and behaviour. However, if I wish to use several such staves, I don't want to be copying the "\with" material into each one.  Is it possible to create a new context just from such a defini

Re-using "\with" contexts

2022-07-15 Thread Alasdair McAndrew
Hello, There are examples of changing a staff context in the manual, for example at https://lilypond.org/doc/v2.21/Documentation/snippets/pitches#pitches-creating-custom-key-signatures Here a new staff is instantiated; with about 10 lines of "\with" to change its appearance and behaviour. Howe