lilypond-user
[Top][All Lists]
Advanced

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

Re: Spacing issue with magnifyStaff


From: Malte Meyn
Subject: Re: Spacing issue with magnifyStaff
Date: Mon, 3 Sep 2018 15:28:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0



Am 03.09.18 um 15:18 schrieb Torsten Hämmerle:
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...):)

If you want the exact 4/7 factor without using -4.8441..., you can replace

   \new Staff \with {
     fontSize = -4
     \override StaffSymbol.staff-space = #(magstep -4)
   }

by

  \new Staff \with {
    fontSize = #(magnification->font-size 4/7)
    \override StaffSymbol.staff-space = #4/7
  }

magnification->font-size is just the inverse of magstep ;)



reply via email to

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