Am Fr., 8. Aug. 2025 um 20:46 Uhr schrieb Knute Snortum <[email protected]>:
>
> Hi everyone,
>
> I am trying to move the left parenthesis in a single note in a chord to the 
> left.  Basically, I have this:
>
>     <\parenthesize f a!>4
>
> The natural from the a note obscures the left parenthesis so I'm trying to 
> move it to the left.  Here is what I've tried:
>
> %%% Start
> \version "2.24.4"
>
> \relative c' {
>   <\single \override Parentheses.X-extent = #'(-5 . 0) \parenthesize f a!>4
>   s
>   <
>     \single \override Parentheses.parenthesis-friends = #'(accidental-grob)
>     \parenthesize f a!
>   >
> }
> %%% End
>
> Neither one works.  Does anyone know how to move the parenthesis?  Thanks.
>
> --
> Knute Snortum
>

I'd rather move the Accidental. Both below:

{
  \once \override Parentheses.stencils =
    #(grob-transformer 'stencils
      (lambda (grob orig)
        (cons (ly:stencil-translate-axis (car orig) -1 X) (cdr orig))))
  <\parenthesize f a!>4

  \once \override Staff.AccidentalPlacement.right-padding = 0.5
  <\parenthesize f a!>4
}

HTH,
  Harm

Reply via email to