I have a little score fitting just in one page with this command
#(set-global-staff-size 20)
I want to insert it in a \book of various scores for clarinet
beginners, but this book has a different global size :
#(set-global-staff-size 32)
My goal is to have the same result in both cases.
According to the docs, I know that i have to play with :
#(layout-set-staff-size staffsizetofind)
fontSize = #fontsizetofind
\override StaffSymbol #'staff-space = #(magstep
fontsizetofind)
I have made a lot of trials without success. There is perhaps other
tweakings that i have missed.
I would appreciate some tricks to find the appropriate values or the
way to get that ?
Gilles
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.11.34"
#(set-global-staff-size 20) % original size
%% #(set-global-staff-size 32) % new size
%% #(define staffsizetofind ?)
%% #(define fontsizetofind ?)
frag = \relative c' {
c d8 e f e d b
}
\score {
\new Staff { \repeat "unfold" 60 \frag c'1 \bar "|." }
\layout {
%% #(layout-set-staff-size staffsizetofind)
\context {
\Staff
%% fontSize = #fontsizetofind
%% \override StaffSymbol #'staff-space = #(magstep
fontsizetofind)
}
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user