lilypond-user
[Top][All Lists]
Advanced

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

Re: Reduce extra space at end of stave


From: NickS
Subject: Re: Reduce extra space at end of stave
Date: Wed, 21 Dec 2022 19:12:18 +0000 (UTC)

Thanks for the suggestion Mark... adding ragged-right = ##t stretches out the stave across the page width (175mm), ragged-right = ##f reverts to the default behaviour (stave 78mm wide), with still too much clear space at the end (18.75mm, the same as the clear space between the chords). It's just this last space I'd like to reduce (by ~50%).

I've also tried setting line-width, and that reduces the overall width of the stave but also shrinks the spacing between the chords, with the same proportion of space after the last chord too.

I've also tried  \override Staff.BarLine.extra-spacing-width = #'(4 . 0) but that has no effect.


On Wednesday, 21 December 2022 at 18:23:20 GMT, Mark Stephen Mrotek <carsonmark@ca.rr.com> wrote:

Nick,

 

Include

\ragged-right = ##f

In the layout block.

 

Mark

 

From: lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org] On Behalf Of NickS
Sent: Wednesday, December 21, 2022 6:09 AM
To: lilypond-user@gnu.org
Subject: Reduce extra space at end of stave

 

In the below minimal example, please how do I reduce the extra space at the end of the stave (between the last chord and the barline)? I'm happy with the proportional, uniform and strict spacing between the chords, and the space between the clef and first chord - these all match up with external graphics - it's just that the space at the end of the stave extends further than I need. Thanks.

Nick

 

\version "2.20.0"

\new Staff
{
    \new Voice
    {
        \time 3/4 <c' e' g'>4 <e' g' c''> <g' c'' e''> |
    }
}

\layout
{
    \context { \Score    proportionalNotationDuration = #(ly:make-moment 1/20) }
    \context { \Staff \remove Separating_line_group_engraver }
    \override Score.SpacingSpanner.uniform-stretching = ##t
    \override Score.SpacingSpanner.strict-note-spacing = ##t
    \override Staff.TimeSignature #'stencil = ##f
    \override Score.Clef.extra-spacing-width = #'(0 . 4.5)
}

 

 

 


reply via email to

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