|
From: | Harald Christiansen |
Subject: | Re: Custom / Fine tuning vertical space between piano staff lines |
Date: | Mon, 20 Jun 2016 09:00:39 +1000 |
staffgroup-staff-spacing
http://lilypond.org/doc/v2.18/Documentation/internals/staffgrouper
applied only \once between two staff groups.
But what I tried didn't work.
...
Hi Harald,
while a custom positioning of one or two staves seems like a reasonable
way to go, your question sounds a bit different:
>> I need to add some supplemental white space between piano staff lines
>> (to avoid a crowded look and near clashes).
LilyPond already tries to avoid clashes and I think instead of moving or
spacing staves, this is the point to tweak the result: You can add
padding or increase the extent of an object. Then LilyPond will take
this into account when spacing the score.
Here is an example:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18.2"
\new PianoStaff <<
\new Staff {
a1 \break
\once \override NoteHead.minimum-Y-extent = #'(-20 . 0)
% or: \tweak #'minimum-Y-extent #'(-20 . 0)
a b \break
c
}
\new Staff { \clef "bass" a b' c' c }
>>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
It adds 20 staff spaces to the bounding box of the note a on the
negative side (-20). If you compile with Frescobaldi's "display
skylines" option, you can see the box in aqua color (light blue).
The note head might not be the best example but you can choose the
object that is closest to the upper/lower staff, the one that you want
to have more space.
I could not find the setting which I suppose is similar to
\papger { annotate-spacing = ##t }
such that you can directly use the normal lilypond and see the skylines.
Maybe someone can point me to it...
Cheers,
Joram
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
Nihil verus. Omnia possibilia.
[Prev in Thread] | Current Thread | [Next in Thread] |