Re: beginning-of-measure padding value?

2007-07-27 Thread Valentin Villenave
2007/7/27, Kieren MacMillan [EMAIL PROTECTED]:

 Final (?) note/tip on this: if anyone else finds Lilypond's default
 beginning-of-measure spacing too small in general (i.e., even without
 modifiers like accidentals and arpeggios), you can add a little
 more space using:

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

Great!
Can you add it to the LSR please? This way, it'll be much easier to
find for everyone...

Thanks

V.Villenave


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


Re: beginning-of-measure padding value?

2007-07-27 Thread Kieren MacMillan

Han-Wen (et al.): Thanks for 2.11.28!

Joe: Thanks for the spacing fixes, which have appeared in 2.11.28 --  
things look *so* much better now (in particular, I've been testing  
initial accidentals and arpeggios), and I've been able to extract my  
(incredibly numerous) tweaks!


Final (?) note/tip on this: if anyone else finds Lilypond's default  
beginning-of-measure spacing too small in general (i.e., even without  
modifiers like accidentals and arpeggios), you can add a little  
more space using:


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


Of course, adjust the numeric value as you see fit.

Hope this helps!
Kieren.

p.s. On a side-note, can anyone explain to me the difference between  
first-note and next-note in the BarLine space-alist?



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


Re: beginning-of-measure padding value?

2007-07-27 Thread Trevor Bača
On 7/27/07, Mats Bengtsson [EMAIL PROTECTED] wrote:
 Kieren MacMillan wrote:

  p.s. On a side-note, can anyone explain to me the difference between
  first-note and next-note in the BarLine space-alist?

 See the documentation for the break-aligned-interface
 in the program reference.

Just thinking out loud here ...

It's only been in the last couple of months that I've learned how to
use the space-alist attribute of some of the preferatory grobs (and
also BarLine). And it occurs to me that nowhere in the user manual do
we really discuss this (quite useful) attribute? Is that, in fact, the
case?

If so, maybe a good Samaritan act for somebody (including possibly me
when I get some time in the fall) would be to add a subsection to
section 11.6 Horizontal spacing called something like 11.6.6
Setting preferatory spacing. Chapter 11 on spacing has truly come
along tremendously in 2.11 and this might be a nice extension to that
work. Examples of each of the attributes in the
break-alignable-interface, break-aligned-interface and
break-alignment-interface would go a long way to exhibiting full
control over stacking and space what shows up at the beginnings of
lines and measures.

(Somebody please correct me, however, if we do discuss the space-alist
sufficiently somewhere in the docs that I might have missed.)


Trevor.



-- 
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: beginning-of-measure padding value?

2007-07-10 Thread Joe Neeman
On Monday 18 June 2007 19:26, Joe Neeman wrote:
 On Monday 09 April 2007 20:38, Kieren MacMillan wrote:
  [ Lilypond 2.11.12 ; Mac OS X 10.4.9 ]
 
  Hello, all!
 
  In recent versions of Lilypond, I find that the first element of
  every measure is generally too close to the preceding barline for my
  taste -- i.e., there isn't enough left-padding on the first note or
  rest or whatever (n.b., the spacing issue is especially egregious
  when the first item is an accidental, arpeggio, or other note
  attachment).

 I've had some lilypond hacking time recently, so I've been digging into the
 spacing code. The stuff I'm trying to do is nowhere near complete and I
 don't yet understand the code fully, but I've put what I have so far in
 the jneeman branch of the git repository. If anyone is sufficiently
 motivated and technically able to build lilypond from git, I'd appreciate
 some feedback on the spacing changes.

To follow this up, I just merged my spacing stuff into the main branch. That 
means that the new code will be present in version 2.11.28. Once it is 
released, it would be a big help if people could test the spacing stuff and 
find bugs. Of course, those of you following git can do so straight away.



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


Re: beginning-of-measure padding value?

2007-07-10 Thread Han-Wen Nienhuys

2007/7/10, Joe Neeman [EMAIL PROTECTED]:



To follow this up, I just merged my spacing stuff into the main branch. That
means that the new code will be present in version 2.11.28. Once it is
released, it would be a big help if people could test the spacing stuff and
find bugs. Of course, those of you following git can do so straight away.


I'll try to build a new release this week.

--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: beginning-of-measure padding value?

2007-06-18 Thread Joe Neeman
On Monday 09 April 2007 20:38, Kieren MacMillan wrote:
 [ Lilypond 2.11.12 ; Mac OS X 10.4.9 ]

 Hello, all!

 In recent versions of Lilypond, I find that the first element of
 every measure is generally too close to the preceding barline for my
 taste -- i.e., there isn't enough left-padding on the first note or
 rest or whatever (n.b., the spacing issue is especially egregious
 when the first item is an accidental, arpeggio, or other note
 attachment).

I've had some lilypond hacking time recently, so I've been digging into the 
spacing code. The stuff I'm trying to do is nowhere near complete and I don't 
yet understand the code fully, but I've put what I have so far in 
the jneeman branch of the git repository. If anyone is sufficiently 
motivated and technically able to build lilypond from git, I'd appreciate 
some feedback on the spacing changes.

I'll attach a PNG of the new output on an example that was provided by Kieren 
elsewhere in this thread.

Joe
attachment: test2.preview.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: beginning-of-measure padding value?

2007-06-18 Thread Adam Good

On Jun 18, 2007, at 11:26 AM, Joe Neeman wrote:

I'll attach a PNG of the new output on an example that was provided  
by Kieren

elsewhere in this thread.

Joe
test2.preview.png


Joe would you mind to post your code for this fix? Looks better indeed.

thanks

adam


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


Re: beginning-of-measure padding value?

2007-06-18 Thread Joe Neeman
On Monday 18 June 2007 20:12, Adam Good wrote:
 On Jun 18, 2007, at 11:26 AM, Joe Neeman wrote:
  I'll attach a PNG of the new output on an example that was provided
  by Kieren
  elsewhere in this thread.
 
  Joe
  test2.preview.png

 Joe would you mind to post your code for this fix? Looks better indeed.

The code is available in the jneeman branch of the public lilypond git 
repository. There are compiling instructions available on 
http://lilypond.org/doc/v2.10/Documentation/topdocs/INSTALL.html

Assuming you have the dependencies installed, you can get the code with
$ git clone git://git.sv.gnu.org/lilypond.git
$ cd lilypond
$ git checkout jneeman
$ ./autogen.sh
$ ./configure
$ make all


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


Re: beginning-of-measure padding value?

2007-06-18 Thread Han-Wen Nienhuys

Joe Neeman escreveu:

On Monday 09 April 2007 20:38, Kieren MacMillan wrote:

[ Lilypond 2.11.12 ; Mac OS X 10.4.9 ]

Hello, all!

In recent versions of Lilypond, I find that the first element of
every measure is generally too close to the preceding barline for my
taste -- i.e., there isn't enough left-padding on the first note or
rest or whatever (n.b., the spacing issue is especially egregious
when the first item is an accidental, arpeggio, or other note
attachment).


I've had some lilypond hacking time recently, so I've been digging into the 
spacing code. The stuff I'm trying to do is nowhere near complete and I don't 
yet understand the code fully, but I've put what I have so far in 
the jneeman branch of the git repository. If anyone is sufficiently 
motivated and technically able to build lilypond from git, I'd appreciate 
some feedback on the spacing changes.


Awesome that you've been able to get your fingers dirty in the spacing 
engine.  You've breached into one of the last domains of the Han-Wen 
only code.  Probably only the grace-timing code  in the iterators is 
left as the last outhold of sole Han-Wenness in Lily.


I'm glad to see that many kludges are disappearing, but a little worried 
that there might be subtle spacing corrections that disappear because of 
this. Do pay close attention to the regtest, especially all the 
spacing-*.ly files.


One of the problems of working on the spacing is that it tends to affect 
all tests, making it more difficult to see the effect of a fix.


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen



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


Re: beginning-of-measure padding value?

2007-06-18 Thread Werner LEMBERG

 Awesome that you've been able to get your fingers dirty in the spacing 
 engine.

Yeah.  Go on, Joe!

 You've breached into one of the last domains of the Han-Wen only
 code.  Probably only the grace-timing code in the iterators is left
 as the last outhold of sole Han-Wenness in Lily.

BTW, when you will be able again to give some time to your small,
helpless musical baby?


Werner


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


Re: beginning-of-measure padding value?

2007-04-24 Thread Kieren MacMillan

Hi, Graham:

Could you make up a minimal example (perhaps with some of the stuff  
below)


Will do.


Anything in particular other than this?


Here are three screenshots from my COA reed part (sorry: no time to  
make minimal examples right now, so I can't be sure how many of these  
are easily reproducible, or are artifacts of my particular score and  
engraving code).


1. Collisions: between \markup (attached to initial rest), slur, and  
\mark:




2. Collision: dynamic indication in one (single-staff) system with  
slur, articulation, and \mark in the following system:






3. Collisions: \repeat tremolo:



Minimal example for #3:

\version 2.11.12
\paper { ragged-right = ##t }
\score
{
{ \time 6/4 \repeat tremolo 24 { b'32 d'' } | }
}

Cheers,
Kieren.

p.s. I'd be using something beyond 2.11.12, but every version I've  
tried has fontconfig problems, which none of the tips on the list(s)  
have solved for me...  =\___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: beginning-of-measure padding value?

2007-04-24 Thread Trevor Bača

On 4/24/07, Kieren MacMillan [EMAIL PROTECTED] wrote:


p.s. I'd be using something beyond 2.11.12, but every version I've
tried has fontconfig problems, which none of the tips on the list(s)
have solved for me...  =\


Hi Kieren,

You're on a Mac under OS X, yes?

I had fontconfig drama right around .18 or so (though it may have been
earlier) and what fixed it on my OS X box was deleting ~/.fontconfig.
(The tip came from one of James's mail on 27 February, so you've
probably already tried this. But just in case.)


--
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: beginning-of-measure padding value?

2007-04-22 Thread John Mandereau
Le dimanche 22 avril 2007 à 04:17 -0700, Graham Percival a écrit :
 Kieren MacMillan wrote:
  Hi, Mats --
  
  This is a typical situation where you want to use
  \override Score.SpacingSpanner #'average-spacing-wishes = ##f
  
  Thanks for that tip -- I'm finally getting it with regard to 
  average-spacing-wishes.
 
 Great!  Once your show opens, could you have a look at the 2.11 docs and 
 see whether #'average-spacing-wishes is sufficiently well documented? 
 (err, wait until 2.11.23 is out; I there's been some changes to the 
 Spacing chapter recently)

If you don't want to wait for .23, you can have a look at
http://john.mandereau.free.fr/lilypond-doc/Documentation/
where I regularly (at least once a week) upload the documentation built
from Git master branch (actually it's lilypond/translation, but the two
branches are often merged, and are identical right now).  I primilarly
do this for translators, but it may also be useful to docs helpers.

HTH,
John




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


Re: beginning-of-measure padding value?

2007-04-21 Thread Kieren MacMillan

Hi, Mats --


This is a typical situation where you want to use
\override Score.SpacingSpanner #'average-spacing-wishes = ##f


Thanks for that tip -- I'm finally getting it with regard to  
average-spacing-wishes.


However, that doesn't fix the fact that Lilypond's spacing is  
generally too close at the beginning of measures.


For example, here's a snippet which has no key signature, but  
exhibits serious spacing problems in every bar, regardless of whether  
a time or key signature is present:


\version 2.11.11
\include english.ly

\paper
{
ragged-right = ##t
}

theMusic = \relative
{
\time 4/4
c e g bf df1\arpeggio
c e g bf df2.\arpeggio c e g4\arpeggio
af'8. af16 a4 a2
\time 3/8 aff8. af16 a8
}

\score
{
\theMusic
}


Until about 2.9, I felt like each version of LIlypond required  
progressively less tweaking on my part to produce good-looking scores.

Since 2.9, it seems like it's required *more* work on my part.  =(

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


Re: beginning-of-measure padding value?

2007-04-19 Thread Kieren MacMillan

Hello, all --


I hope you have seen the earlier followups in this email thread [...]


Fair enough, but it's a *lot* more work in recent versions to have a  
acceptable-looking score (with respect to initial measure spacing)  
than it was in previous versions.


For example, I've included a screenshot of untweaked Lilypond output  
for an instrumental part I cranked out yesterday -- you'll see that  
the initial spacing is totally unacceptable without a good deal of  
tweaking (the rests are almost completely swallowed by the key  
signature); in other parts of the score, it is nearly impossible to  
distinguish the barline from the left-hand side of the leading flat;  
etc.


Cheers,
Kieren.

p.s. Once the show opens (this weekend), and I have more time, I'll  
submit specific bug reports...



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


Re: beginning-of-measure padding value?

2007-04-19 Thread Mats Bengtsson

In this specific example, it seems that you have an extremely wide
key signature in one stave and none at all in the other stave. This is
a typical situation where you want to use
\override Score.SpacingSpanner #'average-spacing-wishes = ##f
since by default, LilyPond takes an average value of the ideal spacing for
each separate stave (see also
http://lists.gnu.org/archive/html/bug-lilypond/2005-12/msg00043.html,
which shows that this specific problem has been present at least since 
version 2.6).


  /Mats

Kieren MacMillan wrote:

Hello, all --


I hope you have seen the earlier followups in this email thread [...]


Fair enough, but it's a *lot* more work in recent versions to have a 
acceptable-looking score (with respect to initial measure spacing) 
than it was in previous versions.


For example, I've included a screenshot of untweaked Lilypond output 
for an instrumental part I cranked out yesterday -- you'll see that 
the initial spacing is totally unacceptable without a good deal of 
tweaking (the rests are almost completely swallowed by the key 
signature); in other parts of the score, it is nearly impossible to 
distinguish the barline from the left-hand side of the leading flat; etc.


Cheers,
Kieren.

p.s. Once the show opens (this weekend), and I have more time, I'll 
submit specific bug reports...







--
=
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: beginning-of-measure padding value?

2007-04-18 Thread Mats Bengtsson

I hope you have seen the earlier followups in this email thread,
for example
http://lists.gnu.org/archive/html/lilypond-user/2007-04/msg00161.html
which shows a setting that gives a layout more close to that
in 2.10.

   /Mats

jba wrote:


This has also frustrated me, and none of the solutions recommended is ideal.
What bothers me is that it looks great in 2.10 (no flats touch barlines),
but I now depend on features in 2.11. It happens with sharps but is
especially apparent in flats, which, in the most recent versions, nearly
touch the barline if they immediately follow one.

I'll submit a lilypond file if the issue is not reproducible, but it's
strange that 2.11 passes this test:
http://lilypond.org/doc/v2.11/input/regression/lily-438f5f0b8d.ly

Other than this trivial problem, I'm really starting to like lilypond.
Thanks guys!


Kieren MacMillan wrote:
 


[ Lilypond 2.11.12 ; Mac OS X 10.4.9 ]

Hello, all!

In recent versions of Lilypond, I find that the first element of  
every measure is generally too close to the preceding barline for my  
taste -- i.e., there isn't enough left-padding on the first note or  
rest or whatever (n.b., the spacing issue is especially egregious  
when the first item is an accidental, arpeggio, or other note  
attachment).


Is there a single setting I can adjust to globally increase the space  
at the beginning of measures?


I tried BarLine right-padding and space-after type options, but they  
all left unwanted space after the last barline of a given system...
There's also a nice hint on the list which assists with the  
attachments, but I'd prefer a global option.


Thanks,
Kieren.


___
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: beginning-of-measure padding value?

2007-04-16 Thread jba

This has also frustrated me, and none of the solutions recommended is ideal.
What bothers me is that it looks great in 2.10 (no flats touch barlines),
but I now depend on features in 2.11. It happens with sharps but is
especially apparent in flats, which, in the most recent versions, nearly
touch the barline if they immediately follow one.

I'll submit a lilypond file if the issue is not reproducible, but it's
strange that 2.11 passes this test:
http://lilypond.org/doc/v2.11/input/regression/lily-438f5f0b8d.ly

Other than this trivial problem, I'm really starting to like lilypond.
Thanks guys!


Kieren MacMillan wrote:
 
 [ Lilypond 2.11.12 ; Mac OS X 10.4.9 ]
 
 Hello, all!
 
 In recent versions of Lilypond, I find that the first element of  
 every measure is generally too close to the preceding barline for my  
 taste -- i.e., there isn't enough left-padding on the first note or  
 rest or whatever (n.b., the spacing issue is especially egregious  
 when the first item is an accidental, arpeggio, or other note  
 attachment).
 
 Is there a single setting I can adjust to globally increase the space  
 at the beginning of measures?
 
 I tried BarLine right-padding and space-after type options, but they  
 all left unwanted space after the last barline of a given system...
 There's also a nice hint on the list which assists with the  
 attachments, but I'd prefer a global option.
 
 Thanks,
 Kieren.
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
 

-- 
View this message in context: 
http://www.nabble.com/beginning-of-measure-padding-value--tf3546661.html#a10025146
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: beginning-of-measure padding value?

2007-04-11 Thread Mats Bengtsson


Since you want to change the spacing after the time signature, you should
modify the space-alist property for the TimeSignature:

 \override TimeSignature #'space-alist = #'(
   (first-note . (fixed-space . 12.0)) ; Default = 2.0
   (right-edge . (extra-space . 0.5))
   (staff-bar . (minimum-space . 2.0)))

  /Mats

Trevor Bača wrote:


Hi Kieren, hi Mats,

As long as we're somewhat on the topic, how do we get more space
before the first note of each *line* (as opposed to each measure)?

Here's an example:

%%% BEGIN %%%

\version 2.11.20

\new Score \with {
  \override BarLine #'space-alist = #'(
 (time-signature extra-space . 0.75)
 (custos minimum-space . 2.0)
 (clef minimum-space . 1.0)
 (key-signature extra-space . 1.0)
 (key-cancellation extra-space . 1.0)
 (first-note fixed-space . 10.3)
 (next-note semi-fixed-space . 10)
 (right-edge extra-space . 0.0))
} {
  \new Staff {
 c'4 c'4 c'4 c'4
 d'4 d'4 d'4 d'4
  }
}

%%% END %%%

There's more space before the ds (because of next-note); but how can
we get more space before the cs?

(Side question: isn't there some way to set individual pairs in an
alist separately? I seem to remember there being a way to do that, but
can't find anything on a quick manual scan.)




--
=
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: beginning-of-measure padding value?

2007-04-11 Thread Trevor Bača

On 4/11/07, Mats Bengtsson [EMAIL PROTECTED] wrote:


Since you want to change the spacing after the time signature, you should
modify the space-alist property for the TimeSignature:

  \override TimeSignature #'space-alist = #'(
(first-note . (fixed-space . 12.0)) ; Default = 2.0
(right-edge . (extra-space . 0.5))
(staff-bar . (minimum-space . 2.0)))


Ah, good. This is what I was looking for.

Reference example of moving over first note on the line (when there's
a time signature):

%%% BEGIN %%%

\version 2.11.20

\new Score \with {
  \override TimeSignature #'space-alist = #'(
 (first-note fixed-space . 10.0)
 (right-edge extra-space . 0.5)
 (staff-bar minimum-space . 2.0))
} {
  \new Staff {
 c'4 c'4 c'4 c'4
 d'4 d'4 d'4 d'4
  }
}

%%% END %%%


Incidentally, if you remove Time_signature_engraver, the TimeSignature
#'space-alist does nothing:

%%% BEGIN %%%

version 2.11.20

\new Score \with {
  % this override does nothing ...
  \override TimeSignature #'space-alist = #'(
 (first-note fixed-space . 10.0)
 (right-edge extra-space . 0.5)
 (staff-bar minimum-space . 2.0))
} {
  \new Staff \with {
 % ... because of this remove
 \remove Time_signature_engraver
  } {
 c'4 c'4 c'4 c'4
 d'4 d'4 d'4 d'4
  }
}

%%% END %%%


However, since the order of preferatory material is [clef - time
signature - key signature], and since there is now neither a key
signature nor time signature, it's still possible to scoot the first
note over using the first-note attribute in the Clef #'space-alist:

%%% BEGIN %%%

\version 2.11.20

\new Score \with {
  \override Clef #'space-alist = #'(
 (ambitus extra-space . 2.0)
 (staff-bar extra-space . 0.7)
 (key-cancellation minimum-space . 3.5)
 (key-signature minimum-space . 3.5)
 (time-signature minimum-space . 4.2)
 (first-note minimum-fixed-space . 15.0) % this is the scooted value
 (next-note extra-space . 0.5)
 (right-edge extra-space . 0.5))
} {
  \new Staff \with {
 \remove Time_signature_engraver
  } {
 c'4 c'4 c'4 c'4
 d'4 d'4 d'4 d'4
  }
}

%%% END %%%


So the relevant observation seems to be: there's no general way to say
move the first note of the lline over 12 units; instead, first
figure out what the last (rightmost) preferatory grob is
(immediately before the first note) and then change the first-note
attribute of the #'space-alist of that rightmost preferatory grob.

Thanks, Mats.


--
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: beginning-of-measure padding value?

2007-04-10 Thread Mats Bengtsson



Kieren MacMillan wrote:

[ Lilypond 2.11.12 ; Mac OS X 10.4.9 ]

Hello, all!

In recent versions of Lilypond, 
Could you be more specific. Are you talking about recent 2.11.x versions 
or ...?
I find that the first element of every measure is generally too close 
to the preceding barline for my taste -- i.e., there isn't enough 
left-padding on the first note or rest or whatever (n.b., the spacing 
issue is especially egregious when the first item is an accidental, 
arpeggio, or other note attachment).
After some search, I noticed that the fix to 
http://code.google.com/p/lilypond/issues/detail?id=10

included the following change:
http://git.sv.gnu.org/gitweb/?p=lilypond.git;a=commitdiff;h=4882689987e5f33926fff2cbee0dced4d5de9c7c#patch7
which might be what you have reacted on.
To get the previous value of this specific setting, you can do
 \override Score.BarLine #'space-alist = #'(
   (time-signature . (extra-space . 0.75))
   (custos . (minimum-space . 2.0))
   (clef . (minimum-space . 1.0))
   (key-signature . (extra-space . 1.0))
   (key-cancellation . (extra-space . 1.0))
   (first-note . (fixed-space . 1.3))
   (next-note . (semi-fixed-space . 1.3)) % Changed 
from the new default 0.9

   (right-edge . (extra-space . 0.0)))


   /Mats



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


Re: beginning-of-measure padding value?

2007-04-10 Thread Graham Percival

Mats Bengtsson wrote:



Kieren MacMillan wrote:
In recent versions of Lilypond, 
Could you be more specific. Are you talking about recent 2.11.x versions 
or ...?


http://code.google.com/p/lilypond/issues/detail?id=242
was reported with .12, but it's still present in .21.

Cheers,
- Graham


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


Re: beginning-of-measure padding value?

2007-04-10 Thread Kieren MacMillan

Hi, Graham!


http://code.google.com/p/lilypond/issues/detail?id=242
was reported with .12, but it's still present in .21.


On that page, HW talks about average-spacing-wishes.
That sounds like something in which I (and other 'Ponderers) might be  
interested -- where is this setting documented?


Thanks!
Kieren.


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


Re: beginning-of-measure padding value?

2007-04-10 Thread Mats Bengtsson

See http://lists.gnu.org/archive/html/bug-lilypond/2005-12/msg00027.html
with followups.

  /Mats

Kieren MacMillan wrote:

Hi, Graham!


http://code.google.com/p/lilypond/issues/detail?id=242
was reported with .12, but it's still present in .21.


On that page, HW talks about average-spacing-wishes.
That sounds like something in which I (and other 'Ponderers) might be 
interested -- where is this setting documented?


Thanks!
Kieren.


--
=
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: beginning-of-measure padding value?

2007-04-10 Thread Trevor Bača

On 4/10/07, Mats Bengtsson [EMAIL PROTECTED] wrote:



Kieren MacMillan wrote:
 [ Lilypond 2.11.12 ; Mac OS X 10.4.9 ]

 Hello, all!

 In recent versions of Lilypond,
Could you be more specific. Are you talking about recent 2.11.x versions
or ...?
 I find that the first element of every measure is generally too close
 to the preceding barline for my taste -- i.e., there isn't enough
 left-padding on the first note or rest or whatever (n.b., the spacing
 issue is especially egregious when the first item is an accidental,
 arpeggio, or other note attachment).
After some search, I noticed that the fix to
http://code.google.com/p/lilypond/issues/detail?id=10
included the following change:
http://git.sv.gnu.org/gitweb/?p=lilypond.git;a=commitdiff;h=4882689987e5f33926fff2cbee0dced4d5de9c7c#patch7
which might be what you have reacted on.
To get the previous value of this specific setting, you can do
  \override Score.BarLine #'space-alist = #'(
(time-signature . (extra-space . 0.75))
(custos . (minimum-space . 2.0))
(clef . (minimum-space . 1.0))
(key-signature . (extra-space . 1.0))
(key-cancellation . (extra-space . 1.0))
(first-note . (fixed-space . 1.3))
(next-note . (semi-fixed-space . 1.3)) % Changed
from the new default 0.9
(right-edge . (extra-space . 0.0)))


Hi Kieren, hi Mats,

As long as we're somewhat on the topic, how do we get more space
before the first note of each *line* (as opposed to each measure)?

Here's an example:

%%% BEGIN %%%

\version 2.11.20

\new Score \with {
  \override BarLine #'space-alist = #'(
 (time-signature extra-space . 0.75)
 (custos minimum-space . 2.0)
 (clef minimum-space . 1.0)
 (key-signature extra-space . 1.0)
 (key-cancellation extra-space . 1.0)
 (first-note fixed-space . 10.3)
 (next-note semi-fixed-space . 10)
 (right-edge extra-space . 0.0))
} {
  \new Staff {
 c'4 c'4 c'4 c'4
 d'4 d'4 d'4 d'4
  }
}

%%% END %%%

There's more space before the ds (because of next-note); but how can
we get more space before the cs?

(Side question: isn't there some way to set individual pairs in an
alist separately? I seem to remember there being a way to do that, but
can't find anything on a quick manual scan.)


--
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user