line-positions.
* input/regression/staff-line-positions.ly: new file.
+2006-01-07 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/bar-line.cc (calc_bar_size): inspect staff->extent (Y_AXIS)
+ for determining bar size.
+
+ * lily/staff-symbol.cc (print): place lines at distance line-positions
+
+ * scm/define-grob-properties.scm (all-user-grob-properties): add
+ line-positions.
+
+ * lily/staff-symbol.cc (height): new function.
+
+ * input/regression/staff-line-positions.ly: new file.
+
2006-01-06 Graham Percival <gpermus@gmail.com>
* input/test/add-staccato.ly: remove reference to old file.
@itemize @bullet
+
+@item Positions of staff lines may now be set individually, for
+example
+
+@lilypond[raggedright]
+\new Staff \relative c' {
+ \override Staff.StaffSymbol #'line-positions = #'(-7 -2 0 3 9)
+ g c f b e a
+}
+@end lilypond
+
+This feature was sponsored by Andrea Valle.
+
+
@item A MusicXML importer is included now.
It was sponsored by among others, Mark van den Borre,
PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=7
-PATCH_LEVEL=26
-MY_PATCH_LEVEL=1
+PATCH_LEVEL=27
+MY_PATCH_LEVEL=
--- /dev/null
+\header {
+
+ texidoc = "The vertical positions of staff lines may be specified
+ individually, by setting the @code{line-positions} property of the
+ StaffSymbol."
+
+}
+
+\version "2.7.26"
+
+
+\new Staff \relative c' {
+ \override Staff.StaffSymbol #'line-positions = #'(-7 -2 0 3 9)
+ g c f b e a
+}
+
+
(line-break-system-details ,list?
"Alist of properties to use when this
column is the start of a system.")
-
+
(line-count ,integer? "The number of staff lines.")
+ (line-positions ,list? "Vertical positions of staff lines.")
(measure-length ,ly:moment? "Length of a
measure. Used in some spacing situations.")
(StaffSymbol
. (
-
+ (Y-extent . ,Staff_symbol::height)
(stencil . ,Staff_symbol::print)
-
(line-count . 5)
(ledger-line-thickness . (1.0 . 0.1))
(layer . 0)