Am Sa., 19. Okt. 2024 um 18:22 Uhr schrieb Sebastian M <[email protected]>:
>
> that works, but it doesn't look good. I assume the registers aren't layed out 
> properly.
>
> --
> Seb.
>
> On Sat, Oct 19, 2024 at 4:10 PM Knute Snortum <[email protected]> wrote:
>>
>> On Sat, Oct 19, 2024 at 7:01 AM Sebastian Menge <[email protected]> wrote:
>>>
>>> Hope it is OK to post this here...
>>>
>>> The output of the following snippet looks wrong:
>>>
>>> \version "2.24.3"
>>> #(use-modules (lily accreg))
>>> {
>>>   \discant "10"
>>>   c'2. \fermata
>>> }
>>>
>>> I'd expect the fermata on top of the note, and the register on top of the 
>>> staff.
>>
>>
>> You can change the direction of almost any grob with the underscore 
>> character (_), so try:
>>
>> c'2. _\fermata
>>
>>
>> --
>> Knute Snortum
>>
>>

No bug. Try:

#(use-modules (lily accreg))
{
  \override TextScript.parent-alignment-X = #CENTER

  \discant "10"
  c'2. \fermata

  c'2. ^\markup \draw-line #'(0 . 2) \fermata

  c'2. -\tweak self-alignment-X #CENTER  ^"!" \fermata
}

HTH,
  Harm

Reply via email to