CVSROOT: /cvsroot/lilypond Module name: lilypond Branch: Changes by: Han-Wen Nienhuys <[EMAIL PROTECTED]> 05/10/03 12:10:53
Modified files: . : ChangeLog Documentation/topdocs: NEWS.tely Documentation/user: global.itely Log message: * Documentation/user/global.itely (Vertical spacing): document alignment-extra-space and fixed-alignment-extra-space. * Documentation/topdocs/NEWS.tely (Top): add entry. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/ChangeLog.diff?tr1=1.4151&tr2=1.4152&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/Documentation/topdocs/NEWS.tely.diff?tr1=1.93&tr2=1.94&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/Documentation/user/global.itely.diff?tr1=1.38&tr2=1.39&r1=text&r2=text Patches: Index: lilypond/ChangeLog diff -u lilypond/ChangeLog:1.4151 lilypond/ChangeLog:1.4152 --- lilypond/ChangeLog:1.4151 Mon Oct 3 11:30:40 2005 +++ lilypond/ChangeLog Mon Oct 3 12:10:52 2005 @@ -1,5 +1,10 @@ 2005-10-03 Han-Wen Nienhuys <[EMAIL PROTECTED]> + * Documentation/user/global.itely (Vertical spacing): document + alignment-extra-space and fixed-alignment-extra-space. + + * Documentation/topdocs/NEWS.tely (Top): add entry. + * input/regression/alignment-vertical-spacing.ly: new file. * python/convertrules.py (conv): add rule. Index: lilypond/Documentation/topdocs/NEWS.tely diff -u lilypond/Documentation/topdocs/NEWS.tely:1.93 lilypond/Documentation/topdocs/NEWS.tely:1.94 --- lilypond/Documentation/topdocs/NEWS.tely:1.93 Mon Oct 3 11:30:40 2005 +++ lilypond/Documentation/topdocs/NEWS.tely Mon Oct 3 12:10:52 2005 @@ -46,9 +46,34 @@ @itemize @bullet @item -Vertical alignments of staves may be tuned for individual systems -easily. +Vertical alignments of staves can now be tuned easily for individual +systems. [EMAIL PROTECTED] +#(set-global-staff-size 13) +\relative c'' << + \new PianoStaff << + \new Voice { + \set PianoStaff.instrument = #"piano" + \set PianoStaff.instr = #"pn" + c1_"normal" + + \overrideProperty + #"Score.NonMusicalPaperColumn" + #'line-break-system-details + #'((fixed-alignment-extra-space . 15)) + c + + } + { + c1\break + c\break + } + >> +>> [EMAIL PROTECTED] lilypond + +This feature was sponsored by Nicolas Sceaux. @item Vertical spacing for page layout can now be tuned for each system @@ -62,7 +87,7 @@ } @end lilypond -This feature was sponsored by Trevor BaÄa and Nicolas Sceaux. +These features were sponsored by Trevor BaÄa and Nicolas Sceaux. @item The slope of a stem-tremolo may be set manually Index: lilypond/Documentation/user/global.itely diff -u lilypond/Documentation/user/global.itely:1.38 lilypond/Documentation/user/global.itely:1.39 --- lilypond/Documentation/user/global.itely:1.38 Sun Oct 2 14:55:58 2005 +++ lilypond/Documentation/user/global.itely Mon Oct 3 12:10:52 2005 @@ -483,6 +483,8 @@ By changing these, you can put staves closer together, and thus put more systems onto one page. [EMAIL PROTECTED] 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 @@ -500,6 +502,40 @@ 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 + [EMAIL PROTECTED] +\overrideProperty +#"Score.NonMusicalPaperColumn" +#'line-break-system-details +#'((alignment-extra-space . 15)) [EMAIL PROTECTED] example + [EMAIL PROTECTED] +at the line break before the system to be changed. The distance [EMAIL PROTECTED] is distributed over all staves that have a fixed distance +alignment. For example, + [EMAIL PROTECTED], fragment, relative=2, staffsize=13] +\new StaffGroup << + \new Staff { + c1\break + + \overrideProperty + #"Score.NonMusicalPaperColumn" + #'line-break-system-details + #'((fixed-alignment-extra-space . 15)) + + c\break + } + \new Staff { c c } +>> [EMAIL PROTECTED] lilypond + +The distance for @code{alignment-extra-space} may also be negative. + + 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} @@ -535,7 +571,7 @@ for page spacing, @lilypond[verbatim] -#(set-default-paper-size "a6") +#(set-default-paper-size "a7" 'landscape) \paper { annotatespacing = ##t } { c4 } @end lilypond @@ -588,7 +624,7 @@ The difference is demonstrated in the following example, @lilypond[quote,verbatim] -\relative << +\relative c'' << \new PianoStaff \with { \override VerticalAlignment #'forced-distance = #7 } << @@ -603,10 +639,40 @@ @end lilypond +It is also possible to change the distance between for each system +individually. This is done by including the command [EMAIL PROTECTED] [EMAIL PROTECTED] +\overrideProperty +#"Score.NonMusicalPaperColumn" +#'line-break-system-details +#'((fixed-alignment-extra-space . 15)) [EMAIL PROTECTED] example + [EMAIL PROTECTED] +at the line break before the system to be changed. The distance [EMAIL PROTECTED] is distributed over all staves that have a fixed distance +alignment. For example, + [EMAIL PROTECTED], fragment, relative=2, staffsize=13] +\new PianoStaff << + \new Staff { + c1\break + + \overrideProperty + #"Score.NonMusicalPaperColumn" + #'line-break-system-details + #'((fixed-alignment-extra-space . 15)) + + c\break + } + \new Staff { c c } +>> [EMAIL PROTECTED] lilypond + +The distance for @code{fixed-alignment-extra-space} may also be +negative. [EMAIL PROTECTED] cannot be changed per system. @node Horizontal spacing @subsection Horizontal Spacing _______________________________________________ Lilypond-cvs mailing list Lilypond-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-cvs