Re: aligning text in text spanner

2022-11-17 Thread Werner LEMBERG
> I volunteer for opening an issue ;-). I have barely any idea of how > those commands work, much less of how to explain them to someone > else. Then do so, please! Werner

Re: aligning text in text spanner

2022-11-17 Thread Martín Rincón Botero
I volunteer for opening an issue ;-). I have barely any idea of how those commands work, much less of how to explain them to someone else. www.martinrinconbotero.com > > On Nov 17, 2022 at 7:58 AM, mailto:w...@gnu.org)> wrote: > > > > > By the way, shouldn'

Re: aligning text in text spanner

2022-11-16 Thread Werner LEMBERG
> By the way, shouldn't \with-dimension(-from) be documented here > https://lilypond.org/doc/v2.23/Documentation/notation/dimensions.html > ? I don't think so. However, it makes probably sense to mention related markup commands in the 'See also' section. Do you volunteer for a MR? :-) We

Re: aligning text in text spanner

2022-11-16 Thread Jean Abou Samra
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.ar

Re: aligning text in text spanner

2022-11-16 Thread Martín Rincón Botero
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 ? This is a good snippet for the repository, I think (I actually wonder why this is not the defau

Re: aligning text in text spanner

2022-11-16 Thread Jean Abou Samra
Le 16/11/2022 à 16:26, Martín Rincón Botero a écrit : Hello, the following code produces text on both sides of the spanner that looks vertically well aligned with the upper limit of its box instead of the inferior one: {   f'1   ~   - \tweak style #'line   - \tweak bound-details.left.stencil

aligning text in text spanner

2022-11-16 Thread Martín Rincón Botero
Hello, the following code produces text on both sides of the spanner that looks vertically well aligned with the upper limit of its box instead of the inferior one: { f'1 ~ - \tweak style #'line - \tweak bound-details.left.stencil-align-dir-y #CENTER - \tweak bound-details.right.arrow ##