Re: Override multiple properties in one statement?

2022-06-30 Thread Ahanu Banerjee
Thanks; I think you are right about it being convoluted, and I will just continue using explicit \tweak and \override statements. Cheers, -Ahanu On Thu, Jun 30, 2022 at 4:18 PM Jean Abou Samra wrote: > > > Le 30/06/2022 à 22:04, Ahanu Banerjee a écrit : > > Hello, > > > > Is it possible to

Re: Override multiple properties in one statement?

2022-06-30 Thread David Kastrup
Ahanu Banerjee writes: > Hello, > > Is it possible to override or tweak multiple properties of one object at > once, using one statement? i.e., without typing "\tweak" or "\override" > multiple times? (Of course, defining a new function consisting of multiple > statements is possible, but it's

Re: Override multiple properties in one statement?

2022-06-30 Thread Jean Abou Samra
Le 30/06/2022 à 22:04, Ahanu Banerjee a écrit : Hello, Is it possible to override or tweak multiple properties of one object at once, using one statement? i.e., without typing "\tweak" or "\override" multiple times?  (Of course, defining a new function consisting of multiple statements is

Override multiple properties in one statement?

2022-06-30 Thread Ahanu Banerjee
Hello, Is it possible to override or tweak multiple properties of one object at once, using one statement? i.e., without typing "\tweak" or "\override" multiple times? (Of course, defining a new function consisting of multiple statements is possible, but it's not practical when there are many

Re: \override multiple properties?

2020-02-02 Thread David Kastrup
Aaron Hill writes: > On 2020-02-02 2:26 am, David Kastrup wrote: >> Aaron Hill writes: >> >>> Music functions certainly give you the most flexibility, although >>> there are simple cases where you can use 2.19's \etc keyword as a >>> shorthand to defining the function yourself: >>> >>>

Re: \override multiple properties?

2020-02-02 Thread Aaron Hill
On 2020-02-02 2:26 am, David Kastrup wrote: Aaron Hill writes: Music functions certainly give you the most flexibility, although there are simple cases where you can use 2.19's \etc keyword as a shorthand to defining the function yourself: \version "2.19" stemColor = \override

Re: \override multiple properties?

2020-02-02 Thread David Kastrup
Aaron Hill writes: > Music functions certainly give you the most flexibility, although > there are simple cases where you can use 2.19's \etc keyword as a > shorthand to defining the function yourself: > > > \version "2.19" > > stemColor = \override Stem.color = \etc > > { d'8 \stemColor

Re: \override multiple properties?

2020-02-01 Thread Aaron Hill
On 2020-02-01 6:46 pm, Bric wrote: In my case i am needing to override a series of notes and then revert. (So, don't want to use "\once"). I have already used your construct, coupling it with reverting directives grouped the same way (with a named group): emphasizeStem = { \override

Re: \override multiple properties?

2020-02-01 Thread Bric
> On February 1, 2020 at 7:06 PM Aaron Hill wrote: > related \overrides into their own music variable or function, if there > needs to be some parameterization: > > > \version "2.18" > > emphasizeStem = { >\override Stem.thickness = #3.0 >\override Stem.color = #'(0.5 0.3 0.2)

Re: \override multiple properties?

2020-02-01 Thread Aaron Hill
On 2020-02-01 7:54 am, David Kastrup wrote: Bric writes: Is it possible to override multiple with just one "\override" directive? something like this (wrong syntax): \override { Voice.Stem.thickness = #3.0 Voice.Stem.color = #(rgb-color 0.3 0.1 0.1) } to reduce

Re: \override multiple properties?

2020-02-01 Thread David Kastrup
Bric writes: > The documentation examples are showing single property overrides, like so: > > \override Voice.Stem.thickness = #3.0 > > Is it possible to override multiple with just one "\override" directive? > > something like this (wrong syntax): > > \override { Voice.Stem.thickness = #3.0 >

\override multiple properties?

2020-02-01 Thread Bric
The documentation examples are showing single property overrides, like so: \override Voice.Stem.thickness = #3.0 Is it possible to override multiple with just one "\override" directive? something like this (wrong syntax): \override { Voice.Stem.thickness = #3.0 Voice.Stem.color =