2005-10-21 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * Documentation/user/*.itely: remove minimumVerticalExtent.
+
* scm/define-grobs.scm (all-grob-descriptions): remove
RemoveEmptyVerticalGroup
The first system shows all staves in full. If empty staves should be
removed from the first system too, set @code{remove-first} to true in
-@internalsref{RemoveEmptyVerticalGroup}.
+@internalsref{VerticalAxisGroup}.
@example
-\override Score.RemoveEmptyVerticalGroup #'remove-first = ##t
+\override Score.VerticalAxisGroup #'remove-first = ##t
@end example
To remove other types of contexts, use @code{\AncientRemoveEmptyStaffContext}
\alias Voice % So that \cresc works, for example.
\consists "Output_property_engraver"
- minimumVerticalExtent = #'(-1 . 1)
+ \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
pedalSustainStrings = #'("Ped." "*Ped." "*")
pedalUnaCordaStrings = #'("una corda" "" "tre corde")
\context {
% a little smaller so lyrics
% can be closer to the staff
- \Staff minimumVerticalExtent = #'(-3 . 3)
+ \Staff
+ \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
}
}
}
% a little smaller so lyrics
% can be closer to the staff
\Staff
- minimumVerticalExtent = #'(-3 . 3)
+ \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
}
}
\layout @{
indent = 2.0\cm
\context @{ \Staff
- minimumVerticalExtent = #'(-6 . 6
+ \override VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 6)
@}
\context @{ \Voice
\override TextScript #'padding = #1.0
By changing these, you can put staves closer together, and thus put
more systems onto one page.
-@c TODO: junk explanation of minimumVerticalExtent
-
Normally staves are stacked vertically. To make staves maintain a
distance, their vertical size is padded. This is done with the
-property @code{minimumVerticalExtent}. It takes a pair of numbers, so
+property @code{minimum-Y-extent}. It takes a pair of numbers, so
if you want to make it smaller than its default @code{#'(-4 . 4)},
-then you could set
+then you could set. When applied to a
+@internalsref{VerticalAxisGroup}, it controls the size of a horizontal
+line, such as a staff or a line of lyrics.
@example
-\set Staff.minimumVerticalExtent = #'(-3 . 3)
+\override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
@end example
@noindent
This sets the vertical size of the current staff to 3 staff spaces on
-either side of the center staff line. The argument of
-@code{minimumVerticalExtent} is interpreted as an interval, where the
-center line is the 0, so the first number is generally negative. The
-staff can be made larger at the bottom by setting it to @code{(-6 . 4)}.
+either side of the center staff line. The value @code{(-3 . 3)} is
+interpreted as an interval, where the center line is the 0, so the
+first number is generally negative. The staff can be made larger at
+the bottom by setting it to @code{(-6 . 4)}.
The spacing of staves in a system may also be tuned per system. This is
done with the command
To change the amount of space between systems, use
@code{betweensystemspace}. A score with only one staff is still
-considered to have systems, so setting @code{betweensystemspace}
-will be much more useful than changing @code{minimumVerticalExtent}.
+considered to have systems, so setting @code{betweensystemspace} will
+be much more useful than changing @code{minimum-Y-extent} of a Staff
+context.
@example
\paper @{
@inputfileref{input/regression/,alignment-vertical-spacing.ly}.
-@refbugs
-
-@code{minimumVerticalExtent} is syntactic sugar for setting
-@code{minimum-Y-extent} of the @internalsref{VerticalAxisGroup} of the
-current context. It can only be changed score wide.
-
-
@node Vertical spacing of piano staves
\remove Time_signature_engraver
\override Stem #'transparent = ##t
\override Stem #'Y-extent-callback = ##f
- minimumVerticalExtent = #'(-4.0 . 5.0)
+ \override VerticalAxisGroup #'minimum-Y-extent = #'(-4.0 . 5.0)
} \mus
\context Lyrics \nam
>>
\override Stem #'Y-extent-callback = ##f
\override StaffSymbol #'line-count = #2
\override StaffSymbol #'staff-space = #2
- minimumVerticalExtent = #'(-3.0 . 4.0)
+ \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.0 . 4.0)
drumStyleTable = #timbales-style
} \mus
\context Lyrics {
\remove "Key_engraver"
\remove "Time_signature_engraver"
\remove "Staff_symbol_engraver"
- minimumVerticalExtent = ##f
+ \override VerticalAxisGroup #'minimum-Y-extent = ##f
}
}
}
r"\\revert \1 #'\2", str)
str = re.sub (r"([XY]-extent)-callback", r'\1', str)
str = re.sub (r"RemoveEmptyVerticalGroup", "VerticalAxisGroup", str)
- str = re.sub (r"\\set ([a-zA-Z]+\.)?minimumVerticalExtent",
+ str = re.sub (r"\\set ([a-zA-Z]*\.?)minimumVerticalExtent",
r"\\override \1VerticalAxisGroup #'minimum-Y-extent",
str)
str = re.sub (r"minimumVerticalExtent",