lilypond-user
[Top][All Lists]
Advanced

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

Re: Dotted \markup \note - tweaking the dot position


From: Lukas-Fabian Moser
Subject: Re: Dotted \markup \note - tweaking the dot position
Date: Wed, 8 Dec 2021 11:49:16 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Hi Adam,

Am 22.11.21 um 03:37 schrieb Adam M. Griggs:
Hello again,

I'm working with version 2.23.4.

Looking at the documentation for \note and \note-by-number
(https://lilypond.org/doc/v2.23/Documentation/notation/music), it
lists style, flag-style and font-size as overridable if I'm reading it
correctly.

In a dotted \markup \note, a dotted minim for example, is it possible
for me to vertically shift the dot?

if https://gitlab.com/lilypond/lilypond/-/merge_requests/1052 gets merged, it will be possible to do:

\version "2.23.6"

{
  \once \override Timing.TimeSignature.stencil =
  #(lambda (grob)
     (grob-interpret-markup grob
      #{
        \markup
        \override #'(baseline-skip . 1)
        \override #`(dots-direction . ,UP)
        \center-column
        {
          \number 3
          \with-dimensions-from \note { 4 } #DOWN
          \note { 4. } #DOWN
        }
      #}))
  \time 9/8
  \repeat unfold 9 c'8
}

yielding

It compiles without error also with current LilyPond, but then you only get

Lukas


reply via email to

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