lilypond-user
[Top][All Lists]
Advanced

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

Re: markups and accents inside staff


From: David Kastrup
Subject: Re: markups and accents inside staff
Date: Sun, 31 Jul 2022 16:44:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Jim Cline <jcline@physics.mcgill.ca> writes:

> Apologies in advance; this seems like it must be simple, but I cannot
> find the answer.  I would like to be able to move an accent closer to
> the note head, possibly using markup since it would also be nice to
> know how to get markups to print over the staff lines.  Here is an
> example:
>
> %%%
> \version "2.20.0"
> \relative c {
>   \time 3/4
>   \mergeDifferentlyDottedOn
>   <<{<g'' c f>4\arpeggio e' d}\\{ g,8._> dis16 a2}>>|
> }
>
> The accent prints below the beam, and I would like it higher, closer
> to the note head, even if there is some collision with the stem or the
> staff.
> But \vspace in markup does not allow me to do it.  --Jim

You can always write something like

%%%
\version "2.20.0"
\relative c {
  \time 3/4
  \mergeDifferentlyDottedOn
  <<{<g'' c f>4\arpeggio e' d}\\{ g,8._\tweak extra-offset #'(0.5 . 3)  -> 
dis16 a2}>>|
}

but frankly, it quite evades me why you would consider this desirable
over the default output.

-- 
David Kastrup



reply via email to

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