RE: Is it possible to have a single \override for same context/Grob for different property values?

2011-01-25 Thread James Lowe
Hello, -Original Message- From: Carl Sorensen [mailto:c_soren...@byu.edu] Sent: 25 January 2011 00:17 To: Neil Puttock Cc: James Lowe; lilypond-devel Subject: Re: Is it possible to have a single \override for same context/Grob for different property values? On 1/24/11 5:15

Re: Is it possible to have a single \override for same context/Grob for different property values?

2011-01-24 Thread Neil Puttock
On 24 January 2011 17:30, James Lowe james.l...@datacore.com wrote: So I wondered if it is possible to save some lines of code/simplify overrides for the same context/Grob such that I can write 'something like' \override context.GrobName ( ( #'property1 = #value1) (#'property2 = #value2)

Re: Is it possible to have a single \override for same context/Grob for different property values?

2011-01-24 Thread Carl Sorensen
On 1/24/11 4:55 PM, Neil Puttock n.putt...@gmail.com wrote: On 24 January 2011 17:30, James Lowe james.l...@datacore.com wrote: So I wondered if it is possible to save some lines of code/simplify overrides for the same context/Grob such that I can write 'something like' \override

Re: Is it possible to have a single \override for same context/Grob for different property values?

2011-01-24 Thread Neil Puttock
On 25 January 2011 00:10, Carl Sorensen c_soren...@byu.edu wrote: If you use pairs, instead of lists, for the property overrides then the override list is a standard  alist: \overrideGrobProps #'Accidental #`((color . ,red) (font-size . 4) (extra-offset . (1.5 . 3))) Yup, but then you have

Re: Is it possible to have a single \override for same context/Grob for different property values?

2011-01-24 Thread Carl Sorensen
On 1/24/11 5:15 PM, Neil Puttock n.putt...@gmail.com wrote: On 25 January 2011 00:10, Carl Sorensen c_soren...@byu.edu wrote: If you use pairs, instead of lists, for the property overrides then the override list is a standard  alist: \overrideGrobProps #'Accidental #`((color . ,red)