lilypond-user
[Top][All Lists]
Advanced

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

Re: staffSize music function unreliable at LP v2.19.16


From: SoundsFromSound
Subject: Re: staffSize music function unreliable at LP v2.19.16
Date: Tue, 3 Mar 2015 14:27:07 -0700 (MST)

Cynthia Karl wrote
> The following snippet:
> 
> \version "2.19.15"
> 
> staffSize = #(define-music-function (parser location new-size) (number?)
> #{
>   \set fontSize = #new-size
>   \override StaffSymbol #'staff-space = #(magstep new-size)
>   \override StaffSymbol #'thickness   = #(magstep new-size)
> #})
> 
>     Ab = \relative c' { f4 g a b  }
> 
>     \score {
>         \new Staff  \with { \staffSize #2  { \Ab }
>       \layout {       }
>     }
> 
> produces at LP v2.19.15:
> 
> 
> 
> but at LP v2.19.16 produces:
> 
> 
> 
> Besides being wrong (see, e.g., "Behind Bars" by Elaine Gould, p.13), this
> causes many scores to require an additional page.
> 
> Applying convert-ly to the above snippet changes only the \version number.
> 
> I tried all values for new-size between -8 and +8; the only ones that
> failed were -4 and 2.
> 
> (The staffSize music-function was kindly contributed by Eluze in 2013 on
> this list to overcome limitations of layout-set-staff-size.)
> 
> 
> 
> 
> 
> _______________________________________________
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> Screen Shot 2015-03-03 at 8.24.10 AM.png (12K)
> <http://lilypond.1069038.n5.nabble.com/attachment/172534/0/Screen%20Shot%202015-03-03%20at%208.24.10%20AM.png>
> Screen Shot 2015-03-03 at 8.24.24 AM.png (12K)
> <http://lilypond.1069038.n5.nabble.com/attachment/172534/1/Screen%20Shot%202015-03-03%20at%208.24.24%20AM.png>

Hi all,

I'm not able to reproduce this on my Debian (KDE) machine using Frescobaldi
2.17.2 and LilyPond 2.19.16.

I'm trying...maybe I'm missing something? Sorry, trying to help!

Ben



-----
composer | sound designer 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/staffSize-music-function-unreliable-at-LP-v2-19-16-tp172534p172550.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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