Here's my proposal for dots stable alignment for outside staff rests:

\version "2.21.0"
#(set-global-staff-size 100)
\paper { left-margin = 20 tagline = "" }

\markuplist {
  \concat {
    \musicglyph #"rests.8"
    \combine
    \translate #'(.5 . 2.75)
    \musicglyph #"dots.dot"
    \with-dimensions-from \null
    \translate #'(-1.5 . 2.75)
    \with-color #red
    \draw-line #'(3 . 0)

    \hspace #2
    \musicglyph #"rests.7"
    \combine
    \translate #'(.5 . 2.75)
    \musicglyph #"dots.dot"
    \with-dimensions-from \null
    \translate #'(-1.5 . 2.75)
    \with-color #red
    \draw-line #'(3 . 0)

    \hspace #2
    \musicglyph #"rests.6"
    \combine
    \translate #'(.5 . 1.75)
    \musicglyph #"dots.dot"
    \with-dimensions-from \null
    \translate #'(-1.5 . 1.75)
    \with-color #red
    \draw-line #'(3 . 0)
  }
  \vspace #.5
  \concat {
    \musicglyph #"rests.5"
    \combine
    \translate #'(.5 . 1.75)
    \musicglyph #"dots.dot"
    \with-dimensions-from \null
    \translate #'(-1.5 . 1.75)
    \with-color #red
    \draw-line #'(3 . 0)

    \hspace #2
    \musicglyph #"rests.4"
    \combine
    \translate #'(.5 . .75)
    \musicglyph #"dots.dot"
    \with-dimensions-from \null
    \translate #'(-1.5 . .75)
    \with-color #red
    \draw-line #'(3 . 0)

    \hspace #2
    \musicglyph #"rests.3"
    \combine
    \translate #'(.5 . .75)
    \musicglyph #"dots.dot"
    \with-dimensions-from \null
    \translate #'(-1.5 . .75)
    \with-color #red
    \draw-line #'(3 . 0)
  }
  \vspace #.5
  \concat {
    \musicglyph #"rests.2"
    \combine
    \translate #'(.5 . .75)
    \musicglyph #"dots.dot"
    \with-dimensions-from \null
    \translate #'(-1.5 . .75)
    \with-color #red
    \draw-line #'(3 . 0)

    \hspace #2
    \musicglyph #"rests.1o"
    \combine
    \translate #'(.5 . .6)
    \musicglyph #"dots.dot"
    \with-dimensions-from \null
    \translate #'(-1.5 . .6)
    \with-color #red
    \draw-line #'(3 . 0)

    \hspace #2
    \musicglyph #"rests.0o"
    \combine
    \translate #'(.5 . -.6)
    \musicglyph #"dots.dot"
    \with-dimensions-from \null
    \translate #'(-1.5 . -.6)
    \with-color #red
    \draw-line #'(3 . 0)
  }
}

Cheers,
Pierre
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to