Actually, I see now that line spanners also support absolute
shifts (I didn't remember that, in spite of having worked on
that code ...). So, just do

\version "2.23.81"

{
  f'1
  ~
  - \tweak style #'line
  - \tweak bound-details.left.stencil-offset #'(0 . -0.4)
  - \tweak bound-details.right.arrow ##t
  - \tweak bound-details.right.stencil-offset #'(0 . -0.4)
  - \tweak bound-details.left.text \markup \normal-text "ord."
  - \tweak bound-details.right.text \markup \normal-text "s.p."
  \startTextSpan
  f'1
  :32
  \stopTextSpan
}




Le 16/11/2022 à 21:59, Martín Rincón Botero a écrit :
Thank you! I would've never been able to figure that out by myself! By the way, shouldn't \with-dimension(-from) be documented here https://lilypond.org/doc/v2.23/Documentation/notation/dimensions.html ?


Possibly, yes.


This is a good snippet for the repository, I think (I actually wonder why this is not the default behavior...).


I think it would be more sensible to make it the default
than to add it as a snippet. Maybe start by opening an
issue?

Jean


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to