lilypond-user
[Top][All Lists]
Advanced

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

Re: Spacing between two sections of the same staff and custom bar number


From: Xavier Scheuer
Subject: Re: Spacing between two sections of the same staff and custom bar numbers
Date: Sun, 26 Dec 2010 09:40:04 +0100

On 26 December 2010 01:33, Iwillnotexist Idonotexist <address@hidden> wrote:
>
> Hello Lilypond users,
>
> I have been trying, lately, to typeset a one-page score to make it resemble
> as much as possible the original. The original sheet has (almost) exactly
> the same music as that generated by the attached .ly file, with two
> exceptions. After quite a lot of time trying everything I could, I still
> cannot figure out:
>
> 1. How to manually set the distance between two sections of the same staff.
> In my attachment, the bar numbers 1-8, 9-18, 19-25, 26-38, 39-45, 46-55,
> 56-64, 65-73 and 74-82 make up the nine sections of the very same staff.
> Now, as you can see after compiling, the staff sections are quite close, and
> I would like to manually increase the distance between them. How does one
> proceed to do this? I cannot use the staff-staff-spacing,
> staffgroup-staff-spacing or any of those properties, since they apply to
> spacing between staves, not between sections of the same staff. So is there
> any \override or property I can use?

Hi!

Please use  system-system-spacing , which defines the space between 2
systems (whereas  staff-staff-spacing  defines the space between 2
staves within a system).

\paper {
  system-system-spacing =
    #'((basic-distance . 16)
       (minimum-distance . 10)
       (padding . 1)
       (stretchability . 60))
  % default:
  %    (basic-distance . 12)
  %    (minimum-distance . 8)
  %    (padding . 1)
  %    (stretchability . 60)
}

See NR 4.1.4 Flexible vertical spacing \paper variables
http://lilypond.org/doc/v2.13/Documentation/notation/flexible-vertical-spacing-_005cpaper-variables.html


> 2. How to order Lilypond to draw bar numbers below the staff and at specific
> locations, and to box a subset of them and place them above the staff
> instead.

Which locations?
At the beginning of the line or do you want to print these at specific
locations (i.e. specific bar numbers) within the middle of a line?
What would be the purpose of this?
You can change  BarNumber #'direction  at specific places using

  \once \override Score.BarNumber #'direction = #DOWN

_each time_ (i.e. at each bar) you want to print the bar number down.
You should also change Bar number visibility at the same time:

  \once \override Score.BarNumber #'break-visibility = #'#(#t #t #t)

http://lilypond.org/doc/v2.13/Documentation/notation/bars.html#bar-numbers

But I asked your purpose because I think you want something more like
RehearsalMark.
http://lilypond.org/doc/v2.13/Documentation/notation/bars.html#rehearsal-marks

Cheers,
Xavier

-- 
Xavier Scheuer <address@hidden>



reply via email to

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