Sorry, I was just confused when I wrote my previous answer.
Also, I hadn't actually tried any example in LilyPond. If you do,
you will soon realize that:

- None of the commands given below do anything useful, since you have to
 replace BarLine by Score.BarLine.

- The construct
\override Score.BarLine #'space-alist #'next-note #'semi-fixed-space = 1.2
does not work and results in an error message. The reason, I think, is that this setting just adds a new entry to the alist and LilyPond gets confused when
 it finds two different settings for next-note in the space-alist.

  /Mats

Carl Sorensen wrote:
Mats Bengtsson <mats.bengtsson <at> ee.kth.se> writes:

Wilbert Berendsen wrote:
Op woensdag 7 november 2007, schreef Kieren MacMillan:
\override BarLine #'space-alist #'next-note = #'(semi-fixed-space . 1.2)
\override BarLine #'space-alist #'next-note #'semi-fixed-space = 1.2
It's not equivalent to Kieren's answer, but it's much better, since it keeps all the
other settings of the space-alist for BarLine objects.


According to my (somewhat limited) understanding, I believe that both constructs
keep the rest of the space-alist settings.  The first construct would set the
next note property to '(semi-fixed-space . 1.2) and eliminate any other elements
in the next-note property, if they exist.  The second construct would update
only the semi-fixed-space element of the next-note property, retaining any other
values that might exist.

Is my understanding incorrect?

My mental model is that
\override ItemHavingProperties #'foo #'bar #'baz #'frob = value

will set the frob property in the baz subchain of the bar subchain of the foo
alist-chain.

It would also be possible to  set

\override ItemHavingProperties #'foo #'bar #'baz = #'(frob . value)

but this will set the baz subchain value to (frob . value) and eliminate any
other items in the baz subchain.

If I'm wrong, please help me understand things.

Thanks,

Carl



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to