lilypond-user
[Top][All Lists]
Advanced

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

Re: increase vertical space


From: Thomas Morley
Subject: Re: increase vertical space
Date: Tue, 30 Oct 2012 23:43:55 +0100

Hi Peter,

2012/10/30 Eluze <address@hidden>:
> Hi,
>
> Peter O'Doherty-2 wrote
>> Is it possible to increase the space between staves, to avoid clashing,
>> for specific systems, i.e. not the whole piece?
>
> as a general rule you can override the behavior of all specific contexts
> (like Staff, Voice,…) in the \layout section.
>
> to override the behavior in just one staff you can specify eg.
>
> \new Staff \with {\override NoteHead #'color = red } {…your music…}
>
> for your purpose I would think that
>
> \new Staff \with {
>   \override VerticalAxisGroup #'staff-staff-spacing = #'(
>         (basic-distance . 2)
>         (minimum-distance . .5)
>         (padding . .5)
>         (stretchability . 55)
>       )
> }
>
> with adapted numbers could help!
>
> Eluze

or

if you want to affect only a single line of the score, use

\overrideProperty #"Score.NonMusicalPaperColumn"
  #'line-break-system-details #'((alignment-distances . (30)))

see also:
http://lilypond.org/doc/v2.16/Documentation/notation-big-page#explicit-staff-and-system-positioning

Please note that the Syntax for that will probably change soonish.

Example:

\version "2.16.0"

musI = \relative c' {
  \repeat "unfold" 6 { c4 d e f }
  \break
          \overrideProperty #"Score.NonMusicalPaperColumn"
            #'line-break-system-details #'((alignment-distances . (30)))
  \repeat "unfold" 38 { c4 d e f }
  \bar "|."
}

musII = \relative c' {
  \repeat "unfold" 44 { c4 d e f }
}

\score {
        <<
        \new Staff \musI
        \new Staff \musII
        >>
}


HTH,
 Harm



reply via email to

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