lilypond-user
[Top][All Lists]
Advanced

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

Re: Spacing issue with magnifyStaff


From: Torsten Hämmerle
Subject: Re: Spacing issue with magnifyStaff
Date: Mon, 3 Sep 2018 06:18:35 -0700 (MST)

Hi foxfanfare,

That's exactly the reason why I never use \magnifyStaff.
Just have a look at the treble clef and time signature sticking together in
the upper stave, that's because if the lowest stave seems to govern the
overall spacing.

When needing single cue-size staves in a score (no matter where), I always
use the old-fashioned method of setting fontSize plus staff-space.
That way, the overall spacing of the score will not be corrupted - at the
expense that the cue-sized staves' spacing is too wide, but it has to "too
wide" in order to propery align with the rest of the score.

Here's your original example setting fontSize and staff-space (using
fontSize -4, the exact match of your 4/7 factor would have been
-4.844129532345624644651815903391...) :)

HTH,
Torsten

%%%%%%%%%%
\version "2.19.81"

<<
  \new Staff
  <<
    \new Voice
    \relative c'' {
      \voiceOne
      a16(^"CORRECT" fis a c e gis c a c gis e c gis e g gis) |
      a16( fis a c e gis c a c gis e c gis e bes' b) |
    }
    \new Voice
    \relative c' {
      \voiceTwo
      c16 a c e gis b e r f c a fis c r r8 |
      c16 a c e gis b e r f c a fis c r r8 |
    }
  >>
  \new Staff
  \relative c' {
    \tuplet 3/2 4 { a8 8 8 8 8 8 8 8 8 8 8 8 }
    R1
  }

>>

<<
  \new Staff
  <<
    \new Voice
    \relative c'' {
      \voiceOne
      a16(^"WRONG SPACING" fis a c e gis c a c gis e c gis e g gis) |
      a16( fis a c e gis c a c gis e c gis e bes' b) |
    }
    \new Voice
    \relative c' {
      \voiceTwo
      c16 a c e gis b e r f c a fis c r r8 |
      c16 a c e gis b e r f c a fis c r r8 |
    }
  >>
  \new Staff \with {
    fontSize = -4
    \override StaffSymbol.staff-space = #(magstep -4)
  }
  \relative c' {
    \tuplet 3/2 4 { a8 8 8 8 8 8 8 8 8 8 8 8 }
    R1
  }

>>

\paper {
  ragged-right = ##f
}
%%%%%%%%%%



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html



reply via email to

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