Eluze wrote
> I don't think LP fails, it's just that the vertical spacing isn't
> corrected with the \staffSize macro (which btw can be simplified to
> 
> 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)
>   #})
> 
> and then it can be used in any context owning a font size engraver)

Nice simplification and generalization!  I've updated the following
"staffSize" snippet with this revised version of the code.  (Let me know if
this is not a good idea for some reason.)
http://lsr.dsi.unimi.it/LSR/Item?u=1&id=862

Thanks,
-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Lyric-Staff-spacing-fails-with-smaller-lyrics-tp152155p152256.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to