lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: minimum after-BarLine space in 2.11


From: Mats Bengtsson
Subject: Re: minimum after-BarLine space in 2.11
Date: Thu, 08 Nov 2007 14:47:31 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

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
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]