lilypond-user
[Top][All Lists]
Advanced

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

Re: Layout for dummies (fixing staves distances in a system)


From: Mats Bengtsson
Subject: Re: Layout for dummies (fixing staves distances in a system)
Date: Wed, 11 Jun 2008 09:04:44 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20061113 Debian/1.7.8-1sarge8

Jayaratna wrote:

Dear members,

I am reading this forum since sometimes, as I am doing my first steps in
Lilypond.

I am making a score in which I have two systems of eight staves each per
page (I managed to do that by setting page size to a3 and shrinking it to a4
on printing it: I guess it's not really proper, but I still have to figure
out how to change staves and font size, but this is a different problem).
It should be easier to directly reduce the size of the typeset music
so that it fits on A4 paper, by adding a line like
#(set-global-staff-size 18)
at the top of your file (default size is 20), and/or using the first
option mentioned at http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Fitting-music-onto-fewer-pages#Fitting-music-onto-fewer-pages

Lilypond keeps stretching and narrowing the space between staves, so that my
systems are floating up and down on different pages.

I found some explanations about this already here in the forum, but, as my
english is not good enough and my knowledge of Lilypond is limited, I'd need
some more help.
The first thing you should note, is that the spacing mechanisms
are very different in version 2.11 compared to version 2.10, so
many of the hints you find in the mailing list archives from the
last year are not relevant to your version of LilyPond (2.10).

Otherwise, the relevant information for you can be found at
http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Vertical-spacing#Vertical-spacing
In short, LilyPond tries to be intelligent about the spacing.

  /Mats

Here is my score block:

%*****************************Score***********************
\score {




        \new StaffGroup <<
                \new GrandStaff
                                <<
                                \new Staff { \flautoa}
                                \new Staff { \flautob}  
                                >>
                \new GrandStaff
                                <<
                                \new Staff { \Violinoa} 
                                \new Staff { \Violinob}
                                >>
                \new Staff { \Viola}
                \new Staff { \Continuo}         
                \new PianoStaff << \cembalo >>
        
        
                        >>        

        \layout{
                \context {
                        \Score
                        \override BarNumber #'padding = #2
                        %#(layout-set-staff-size 8)
                }
        
        }
%********************************************************

How do I get fixed spaces between staves in this code?

I am running Lilypond 2.10.33.

Thanks for your help,
Andrea


--
=============================================
        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]