lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accent on single note of chord?


From: Thomas Morley
Subject: Re: Accent on single note of chord?
Date: Sun, 25 Sep 2022 00:23:09 +0200

Am Sa., 24. Sept. 2022 um 22:44 Uhr schrieb Jean Abou Samra
<jean@abou-samra.fr>:
>
>
>
> Le 24/09/2022 à 22:34, Andy Bradford a écrit :
> > Thus said Jean Abou Samra on Sat, 24 Sep 2022 22:17:26 +0200:
> >
> >> Are you asking this because you  saw this notation in a printed score,
> >> or because you want to use it even though it's nonstandard?
> > Yes, the attachment  that I included in my original  email was a snippet
> > from an  actual printed score. I  can certainly imagine that  just the C
> > from the chord wants additional emphasis over the rest of the chord.
>
>
>
> OK, I didn't know this notation at all.
>
> Here's how I'd do it:
>
> \version "2.22.2"
>
> leftAccent =
>    \tweak side-axis #X
>    \tweak X-offset #ly:side-position-interface::x-aligned-side
>    \tweak Y-offset 0
>    \tweak before-line-breaking
>    #(lambda (grob)
>       (let ((head (ly:grob-parent grob X)))
>         (ly:grob-set-parent! grob Y head)))
>    \tweak padding 0.5
>    \tweak extra-spacing-width #'(-0.5 . 0)
>    ->
>
> \relative {
>      <g-1 b-2 e-5>4 <g b e>
>      <g-1 c-3\leftAccent e-5>
> }
>
>
>
>

Maybe more general:
https://lilypondforum.de/index.php/topic,1082.msg5860.html#msg5860
Scroll up a bit for an image.


Cheers,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]