bug-lilypond
[Top][All Lists]
Advanced

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

Re: Outside staff dotted rests (v2.20 & 2.21)


From: Pierre Perol-Schneider
Subject: Re: Outside staff dotted rests (v2.20 & 2.21)
Date: Fri, 5 Jun 2020 13:58:06 +0200

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


reply via email to

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