[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: DynamicsStaff spacing itself too far from the music
From: Timothy Lanfear <timothy () lanfear ! me>
Date: 2023-02-28 20:16:29
Message-ID: 90225275-1ec0-9d39-f6ff-07e0ee4f65b7 () lanfear ! me
[Download RAW message or body]
On 28/02/2023 17:53, Richard Shann wrote:
> In a complex score with a DynamicsStaff placed above the music for
> markups and another below for the dynamics an unusually large space
> opened up below the music and above the dynamics.
> I pared the complex score down to this MWE:
>
A Dynamics context by default is centred between the staves above and
below. Adjusting this behaviour might be what you need.
\version "2.24"
marks = {
%This line is needed.
\repeat unfold 40 {s1 }
}
music = {
\repeat unfold 80 {c''1 }
}
dyns = {
\repeat unfold 80 { <> \f c''1 }
}
\paper {
%this line is needed.
system-system-spacing.minimum-distance = 15
}
\score {
<< \new Dynamics \with { \override
VerticalAxisGroup.staff-affinity = #DOWN } <<\marks >>
\new Staff << \music >>
\new Dynamics \with { \override
VerticalAxisGroup.staff-affinity = #UP } << \dyns >>
>>
}
--
Timothy Lanfear, Bristol, UK.
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 28/02/2023 17:53, Richard Shann
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:139aceec83f3616d7d8261a4b5307365d8e917be.camel@rshann.plus.com">
<pre class="moz-quote-pre" wrap="">In a complex score with a DynamicsStaff \
placed above the music for markups and another below for the dynamics an unusually \
large space opened up below the music and above the dynamics.
I pared the complex score down to this MWE:
</pre>
</blockquote>
<p>A Dynamics context by default is centred between the staves
above and below. Adjusting this behaviour might be what you need.</p>
<p>\version "2.24"<br>
<br>
marks = {<br>
%This line is needed.<br>
\repeat unfold 40 {s1 }<br>
}<br>
music = {<br>
\repeat unfold 80 {c''1 }<br>
}<br>
dyns = {<br>
\repeat unfold 80 { <> \f c''1 }<br>
}<br>
\paper {<br>
%this line is needed.<br>
system-system-spacing.minimum-distance = 15<br>
}<br>
<br>
\score {<br>
<< \new Dynamics \with { \override
VerticalAxisGroup.staff-affinity = #DOWN } <<\marks >><br>
\new Staff << \music >><br>
\new Dynamics \with { \override
VerticalAxisGroup.staff-affinity = #UP } << \dyns >><br>
>><br>
}<br>
<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Timothy Lanfear, Bristol, UK.</pre>
<div id="grammalecte_menu_main_button_shadow_host" style="width:
0px; height: 0px;"></div>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic