lilypond-user
[Top][All Lists]

## Re: Increasing the horizontal space between notes

 From: Dick Schoeller Subject: Re: Increasing the horizontal space between notes Date: 05 Feb 2003 12:41:52 -0500

It seems to me that your problems with spacing stem from the following:
1) you can only break at the end of a measure
2) you don't have measures in unmetered music

So, how about if you put in bars but make them transparent.  This would
allow you to control the break points but not leave anything visible on
the printed music.  Once you've controlled the break points, the notes
are spaced out automatically.

On Tue, 2003-02-04 at 23:19, Oscar A. Valdez wrote:
> I figured out the proper syntax for changing "SpacingSpanner" properties.
> Esentially, it goes like this:
>
> \score{
>    ...
>    ...
>    \paper{
>      \translator{
>        \ScoreContext
>        SpacingSpanner \override #'spacing-increment = #2.0
>       }
>    }
> }
>
> I've tried:
>   "SpacingSpanner \override #'spacing-increment = #4.0"
> and
>   "SpacingSpanner \override #'common-shortest-duration = #(make-moment 1 8)"
> but they don't do what I want: simply increase the horizontal space between
> notes.
>
> Can anyone point out the right SpacingSpanner properties to do this?
>
> Oscar Valdez
>
>
>
> > On Monday 03 February 2003 04:40 pm, Oscar A. Valdez wrote:
> > > In my case, I'm not sure "\break" would work: I'm working with
> > > unmetered music (no bars) that combines notes and lyrics.
> > >
> > > I've looked at "Horizontal Spacing" under "Global Layout" in the
> > > manual, and, as you say, it looks fairly advanced, but it seems like
> > > the way to go for me.
> > >
> > > The section mentions two properties of "SpacingSpanner":
> > > "spacing-increment" and "shortest-duration-space". What is the syntax
> > > for these properties? How and where should they be set?
> > >
> > > Thank you.
> > >
> > > Oscar Valdez
> > >
> > > El sáb, 01-02-2003 a las 23:55, Graham Percival escribió:
> > > > On Fri, 31 Jan 2003 23:44:35 -0600
> > > >
> > > > "Oscar A. Valdez" <address@hidden> wrote:
> > > > > How can I modify the horizontal space between notes?
> > > >
> > > > There is a section on "horizontal spacing" in the manual (under
> > > > "global layout"), but it's fairly advanced stuff.
> > > >
> > > > An easy solution is to have fewer bars per line -- adding a few
> > > > "\break"s will let you control how many bars per line.  Fewer bars
> > > > will mean more space between notes.  In some circumstances this
> > > > isn't a very good solution, but if you have a fairly simple score,
> > > > it should work out all right.
> > > >
> > > > Cheers,
> > > > - Graham
> >
> > \break is highly recommended, but if a particular measure is not wide
> > enough, there are tricks you could use, probably more than these:
> >
> > 1.  Put some spaces in text above or below notes, like this:
> > { }{ } or \ \ \ \,
> >
> > 2.  Add invisible rests or 32nd notes or something like
> > that. (remove the appropriate engravers of the added voice).
> >
> > The invisible voice is the way most likely to swim over the
> > shifting sands of syntax, and there's no programming.
> >  ;-)  DaveA
> >
--
Dick Schoeller