[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lyric-Staff-spacing fails with smaller lyrics
From: |
Paul Morris |
Subject: |
Re: Lyric-Staff-spacing fails with smaller lyrics |
Date: |
Sun, 13 Oct 2013 09:34:39 -0700 (PDT) |
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.