lilypond-user
[Top][All Lists]
Advanced

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

Re: Custom dynamic mark on several lines


From: Aaron Hill
Subject: Re: Custom dynamic mark on several lines
Date: Sun, 30 Aug 2020 13:46:09 -0700
User-agent: Roundcube Webmail/1.4.2

On 2020-08-30 1:29 pm, Claire Meyer wrote:
Thank you very much ! Would you know as well how to center it vertically on
the second line ?

Depending on what you are doing, \vcenter \column { ... } might work.

Alternately, you could use a combination of \column and \dir-column. Consider:

%%%%
\version "2.20.0"

\markup {
  baseline >

  \column { 1 2 3 }

  \column {
    \override #`(direction . ,UP)
    \dir-column { 2 1 }
    3
  }

  \override #`(direction . ,UP)
  \dir-column { 3 2 1 }

  < >

  \vcenter \column { 1 2 3 }

  < baseline
}
%%%%

The last example shows how \vcenter does not quite align the same as the other option. But again, it might not matter in context so it is worth trying as it is simpler.


-- Aaron Hill

Attachment: dynmark.cropped.png
Description: PNG image


reply via email to

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