[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to change the alignment of the dashed line in \cresc
From: |
Valentin Petzel |
Subject: |
Re: How to change the alignment of the dashed line in \cresc |
Date: |
Tue, 30 Nov 2021 13:12:29 +0000 (UTC) |
Hello Lib,
just remove the overrides to left.Y and right.Y. But having the line centered
but the cresc raised will look a bit weird. Maybe experiment by setting the Y
values to something between 0 and -1.
Cheers,
Valentin
30.11.2021 13:37:43 Lib Lists <listslib@gmail.com>:
> Hi Valentin,
> thank you so much for your help! However, with your solution, the \ff
> gets aligned (more or less) with the bottom of the line, while I'd
> want it to be aligned with the 'cresc.' text as in the original
> example. I tried to experiment changing the values of your solution,
> but couldn't manage to realign the 'ff'.
>
> Cheers,
> Lib
>
> On Tue, 30 Nov 2021 at 14:01, Valentin Petzel <valentin@petzel.at> wrote:
>>
>> Hello Lib, try this:
>>
>> \version "2.22.1"
>> {
>> \override DynamicTextSpanner.bound-details.left.Y = #-1
>> \override DynamicTextSpanner.bound-details.right.Y = #-1
>> \override DynamicTextSpanner.bound-details.left.stencil-offset = #'(-0.75
>> . 0)
>> c'1\cresc
>> d'
>> e'\ff
>> }
>>
>> Cheers,
>> Valentin
>>
>> Am Dienstag, 30. November 2021, 12:35:25 CET schrieb Lib Lists:
>>> Hello,
>>> I'm trying to change the vertical alignment of the dashed line so that
>>> it is at the same level with the bottom of the text 'cresc.', instead
>>> of being at the centre.
>>>
>>> I checked the documentation for the DynamicTextSpanner but couldn't
>>> find the right property to change.
>>>
>>> \version "2.22.1"
>>> {
>>> c'1\cresc
>>> d'
>>> e'\ff
>>> }
>>>
>>> Thank you for any hint!
>>> Cheers,
>>> Lib