[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Having trouble with custom paper size/layout
From: |
Germain G. Ivanoff-Trinadtzaty |
Subject: |
Re: Having trouble with custom paper size/layout |
Date: |
Wed, 4 Jul 2007 12:48:55 +0200 |
> Arvid wrote :
...
> Slightly off-topic, the spacing can
get somewhat strange when
> typesetting multi-staff vocal music on minimal
space, like in these
> cases. Nothing I can easily reproduce in a
minimal bug report, just
> a bit too wide at times. Has anyone else
seen this? (That's with
> 2.11 and the new spacing stuff, of
course.)
>
The same happenned to me.
I wanted to have a fixed size for all the
systems, using some
\override
Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6.0 . 0.0)
in the StaffGroup (well I know this is a
"permissive" way).
And I found a strange behavior of
ragged-bottom.
The snippet I provide is not minimal, but you can play with
"paper" variables,
and see what happens.
Germain
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version
"2.11.26"
\include "english.ly"
\paper
{
#(set-paper-size
"a4")
ragged-last-bottom=##t % last page not streched
%% ragged-bottom:
%% If set
to ##t : pages are not tweaked.
%% If set to ##f (default): it should
strech pages.
%% But it should only change space between
systems.
%% Here, it happens that the systems themselves are
streched
%% (by moving the last object of the
StaffGroup).
% ragged-bottom=##t
%% it seems that
setting/unsetting or changing values of these,
%% changes the behavior
of ragged-bottom (especially for
%% the first page) :
between-system-space =
#0.1
% between-system-padding = #0.1
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\header
{
title =
"TEST"
subtitle = "subtest"
copyright = "free for public
performance"
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
AltoWords = \lyricmode
{
\repeat
unfold 48 { di da doo da
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SopranoNotes = \relative c''
{
\repeat
unfold 48 { g a bf c}
}
AltoNotes = \relative c'
{
\repeat
unfold 48 { e f g a }
}
BassNotes = \relative c'
{
\repeat
unfold 48 { c c c f,
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\score
{
\new
StaffGroup
<<
\new Staff =
Soprano
<<
\clef
"G"
\new Voice = "S" { \SopranoNotes
}
% #'(bottom up) default: ( -4 4 )
%
#'(après avant) % <0:plus bas % >0:plus
haut
\override Staff.VerticalAxisGroup #'minimum-Y-extent =
#'(-6.0 . 0.0)
% \override Staff.VerticalAxisGroup
#'Y-extent = #'(-6.0 . 0.0)
>>
\new Lyrics =
SW { s }
\new Staff =
Alto
<<
\clef
"G"
\new Voice = "A" { \AltoNotes }
%
#'(bottom up) default: ( -4 4 )
% #'(après avant) %
<0:plus bas % >0:plus haut
\override
Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6.0 .
6.0)
% \override Staff.VerticalAxisGroup #'Y-extent =
#'(-6.0 . 6.0)
>>
\new Lyrics = AW { s
}
\new Staff =
Bass
<<
\clef
"F"
\new Voice = "B" { \BassNotes }
%
#'(bottom up) default: ( -4 4 )
% #'(après avant) %
<0:plus bas % >0:plus haut
\override
Staff.VerticalAxisGroup #'minimum-Y-extent = #'(0.0 .
6.0)
% \override Staff.VerticalAxisGroup #'Y-extent = #'(0.0
. 6.0)
>>
\context Lyrics = SW \lyricsto "S" {
\AltoWords }
\context Lyrics = AW \lyricsto "A" { \AltoWords
}
>>
\layout
{
\context
{
\Score
\override
BarNumber #'padding = #2.0
}
} % layout
} %
score
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%