bug-lilypond
[Top][All Lists]
Advanced

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

layout-set-staff-size strange look: bug or feature?


From: sdfgsdhdshd
Subject: layout-set-staff-size strange look: bug or feature?
Date: Thu, 3 Jan 2008 06:10:30 -0800 (PST)

As i need to have several scores in the same pdf, each one with its own size,
i tried to use layout-set-staff-size as explained in § 5.2.1.

I endup with the code below (reduced to be as minimal as possible).
-- If i don't write the layout-set-staff-size line (or comment it below),
the result is OK.
-- If i add the layout-set-staff-size line below, the height of the staves
look like greater than expected, and the items on the staves smaller than
expected. ==> proportions problem

What is wrong in this code?
(XP + lilypond 2.11.36 and 2.11.37)




%%%%%%%%%%%%%%% Reduced code
\include "italiano.ly"
\version "2.11.37"

#(ly:set-option 'point-and-click #f)

\paper
{
        printallheaders = ##f
        scoreTitleMarkup = \bookTitleMarkup
}

\header
{
        title="Title"
}

%%% FIRST PART

MusiqueFirstSoprano =
{
        \clef treble \key sol \major \time 3/4 \stemUp
        la'4 do''4 re''4 la'4 do''4 re''4 fad''4 si'4 si'4 si'4 mi''4 do''4 
mi''4
mi''4 mi''4
}

MusiqueFirstBasse =
{
        \clef bass \key sol \major \time 3/4 \stemDown
        fad4 si,4 sol,4 si,4 re4 la,4 mi,4 re,4 la,4 si,4 re4 sol,4 sol,4 la,4 
la,4
}


\score
{
        <<
                \new ChoirStaff
                <<
                        \new Staff = Femmes
                        <<
                                \new Voice = Sopranos { \voiceOne << 
\autoBeamOff \MusiqueFirstSoprano
>> }
                        >>
                        \new Staff = Hommes
                        <<
                                \new Voice = Basses { \voiceOne << \autoBeamOff 
\MusiqueFirstBasse >> }
                        >>
                >>
        >>
        
        \header
        {
                title="First part"
        }
        
        \layout
        {
                %If you comment this line, the proportions are good. 
                #(layout-set-staff-size 15.000000)
        }
}

%%% SECOND PART
%%% Identical

%%% THIRD PART
%%% Identical

%%% ...

-- 
View this message in context: 
http://www.nabble.com/layout-set-staff-size-strange-look%3A-bug-or-feature--tp14597530p14597530.html
Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com.





reply via email to

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