lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distance of a grob from its reference point


From: Aaron Hill
Subject: Re: Distance of a grob from its reference point
Date: Thu, 16 Jan 2020 15:30:52 -0800
User-agent: Roundcube Webmail/1.3.8

On 2020-01-16 2:43 pm, Paolo Prete wrote:
On Thu, Jan 16, 2020 at 11:35 PM Aaron Hill <address@hidden>
wrote:



You forgot to \revert outside-staff-padding *before* applying
extra-offset.


Right, But even with \revert, the issue remains, because in any case the
value of 0.56 for outside-staff-padding doesn't produce a shift. See:

This time, you omitted the overrides to prevent padding and staff-padding from influencing the test:

%%%%
\version "2.19.45"
notes = \fixed c''' { \ottava 1 f4 4 4 \ottava 0 f, }

{
  % Make sure these properties do not influence
  % anything while testing outside-staff-padding.
  \override Staff.OttavaBracket.padding = 0
  \override Staff.OttavaBracket.staff-padding = 0

  \override Staff.OttavaBracket.outside-staff-padding = 0.56
  \notes

  \revert Staff.OttavaBracket.outside-staff-padding
  \override Staff.OttavaBracket.extra-offset = #'(0 . 0.1)
  \notes
}
%%%%

<!-- . . . -->
<text transform="translate(16.4358, 1.1684)" font-family="serif" font-style="italic" font-size="2.2001" text-anchor="start" fill="currentColor">
<tspan>8va</tspan>
</text>
<!-- . . . -->
<text transform="translate(29.4875, 1.1684)" font-family="serif" font-style="italic" font-size="2.2001" text-anchor="start" fill="currentColor">
<tspan>8va</tspan>
</text>
<!-- . . . -->

Mind you, this is all purely a test scenario, not a practical one. In practice, you'll have all of the spacing properties to contend with. While it might be possible to adjust a single property to effect the change you need in one spot, that same property might be not be sufficient in other situations.


-- Aaron Hill



reply via email to

[Prev in Thread] Current Thread [Next in Thread]