Re: minimum after-BarLine space in 2.11

2007-11-08 Thread Mats Bengtsson



Wilbert Berendsen wrote:

Op woensdag 7 november 2007, schreef Kieren MacMillan:
  

\override BarLine #'space-alist #'next-note = #'(semi-fixed-space . 1.2)



Just a question to improve my Lily understanding: Can this also be written as:

\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. On the other 
hand, it's an

undocumented feature that you can use this syntax in this situation.

 /Mats


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: minimum after-BarLine space in 2.11

2007-11-08 Thread Carl Sorensen
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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: minimum after-BarLine space in 2.11

2007-11-08 Thread Mats Bengtsson

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
lilypond-user@gnu.org
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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: minimum after-BarLine space in 2.11

2007-11-08 Thread Kieren MacMillan

Hi,


I think that Kieren had probably assumed I would put it in \layout{}


Yes -- your last few posts implied that you put most tweaks there...


I suppose that it would work with just BarLine if it were
placed inside the \layout block after \context { \Score ...


Correct!

Best regards,
Kieren.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: minimum after-BarLine space in 2.11

2007-11-08 Thread Monk Panteleimon
Mats Bengtsson wrote:
 
 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.
 

When I added the Score. context-indicator (?) to Kieren's
original suggestion, it had the intended result. I think that Kieren
had probably assumed I would put it in \layout{} but I wasn't doing
that, so I added Score. and it worked. 
Here's the tweak in full for inside \score{{}} :

\override Score.Barline #'space-alist #'next-note = 
#'(semi-fixed-space . 1.2)


I suppose that it would work with just BarLine if it were
placed inside the \layout block after \context { \Score ...

Right?
-- 
Monk Panteleimon
Hermitage of the Holy Cross
Wayne, WV, USA
[EMAIL PROTECTED]

+
 IC + XC
+ + + + +
 NI + KA
+


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


minimum after-BarLine space in 2.11

2007-11-07 Thread Monk Panteleimon
It appears that 2.11 leaves has minimum space after a barline, allowing
the first note of a measure to be set closer to the barline than in 2.10.
In my case this makes the beginning of some measures look crammed
against the barline, especially where lyrics are also involved. 

I have refered to the program reference and have been unable to find a 
property that controls the minimum amount of space after a barline. 
I tried kern, thin-kern and space-alist (all of it, changing only
first-note fixed-space), but to no avail.

Any suggestions?
Thanks.
-- 
Monk Panteleimon
Hermitage of the Holy Cross
Wayne, WV, USA
[EMAIL PROTECTED]

+
 IC + XC
+ + + + +
 NI + KA
+


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Fwd: minimum after-BarLine space in 2.11

2007-11-07 Thread Damian leGassick

wrong 'reply' - see below

d




out of interest, where would i find this in the new docs?

cheers

d






On 7 Nov 2007, at 18:09, Kieren MacMillan wrote:


Howdy!

I have refered to the program reference and have been unable to  
find a

property that controls the minimum amount of space after a barline.
I tried kern, thin-kern and space-alist (all of it, changing only
first-note fixed-space), but to no avail.
Any suggestions?


\override BarLine #'space-alist #'next-note = #'(semi-fixed- 
space . 1.2)


Hope this helps!
Kieren.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user






___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: minimum after-BarLine space in 2.11

2007-11-07 Thread Kieren MacMillan

Howdy!


I have refered to the program reference and have been unable to find a
property that controls the minimum amount of space after a barline.
I tried kern, thin-kern and space-alist (all of it, changing only
first-note fixed-space), but to no avail.
Any suggestions?


\override BarLine #'space-alist #'next-note = #'(semi-fixed-space . 1.2)

Hope this helps!
Kieren.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: minimum after-BarLine space in 2.11

2007-11-07 Thread Kieren MacMillan

Hi Wilbert,

Just a question to improve my Lily understanding: Can this also be  
written as:

\override BarLine #'space-alist #'next-note #'semi-fixed-space = 1.2


I'm not sure... there are several analogous shortcuts for other  
constructs, but I don't know if it works here.

Hopefully someone else can be of more assistance.

Best regards,
Kieren.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: minimum after-BarLine space in 2.11

2007-11-07 Thread Wilbert Berendsen
Op woensdag 7 november 2007, schreef Kieren MacMillan:
 \override BarLine #'space-alist #'next-note = #'(semi-fixed-space . 1.2)

Just a question to improve my Lily understanding: Can this also be written as:

\override BarLine #'space-alist #'next-note #'semi-fixed-space = 1.2

?

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user