bug-lilypond
[Top][All Lists]
Advanced

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

Re: Setting staff size for individual scores


From: Trevor Daniels
Subject: Re: Setting staff size for individual scores
Date: Mon, 29 Aug 2011 09:07:32 +0100

Patrick

Thanks for raising this, but it is a known problem, see
http://code.google.com/p/lilypond/issues/detail?id=216.

Do actually need different scores to have different
spacing?

Trevor

----- Original Message ----- From: "Patrick Karl" <address@hidden>
To: <address@hidden>
Sent: Saturday, August 27, 2011 3:26 AM
Subject: Setting staff size for individual scores


Reading the documentation in Notation:4.2.2: Setting the staff size, one thinks that one can set the staff size for all scores in an input file by using the set-global-staff-size function, or one can set the
staff size for each individual score in an input file by using the
layout-set-staff-size function.   Then comes the "Known issues and
warnings" subsection: |layout-set-staff-size| does not change the
distance between the staff lines.

I find that a little confusing. How can layout-set-staff-size change the staff size without causing the distance between the staff lines to change? It appears that all layout-set-staff-size does is choose the
font(s) that would be needed for the specified staff size without
changing the staff size at all.  One can produce some really ugly
engraving with, e.g., the following snippet:

music = \relative c' {
        a b c d e f g a
}
\score {
        \new Staff {  \music }
        \layout { #(layout-set-staff-size 60) }
}

On the other hand, the following snippet produces beautiful engraving:

#(set-global-staff-size 60)
music = \relative c' {
        a b c d e f g a
}
\score {
        \new Staff {  \music }
        \layout {}
}

So, I guess my question is: if set-global-staff-size can change the
distance between staff lines to match the fonts chosen, why can't
layout-set-staff-size do the same?  Or, alternatively, why does
layout-set-staff-size even exist if it can't do that?



--------------------------------------------------------------------------------


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



--------------------------------------------------------------------------------


No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1392 / Virus Database: 1520/3859 - Release Date: 08/26/11





reply via email to

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