lilypond-user
[Top][All Lists]
Advanced

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

Re: Same score in 2 books having differents global-staff-size


From: Mats Bengtsson
Subject: Re: Same score in 2 books having differents global-staff-size
Date: Fri, 16 Nov 2007 17:31:46 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

Here's a simple example:

\score{
\relative c'{c d e f }
\layout{ragged-right = ##t }
}

\score{
\relative c'{c d e f }
\layout{
 ragged-right = ##t
 #(layout-set-staff-size 26)}
}


   /Mats

Gilles THIBAULT wrote:
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

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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