[Top][All Lists]

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

Re: Drawing a single box around multiple notes

From: andersvi
Subject: Re: Drawing a single box around multiple notes
Date: Fri, 31 Oct 2008 13:29:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>>>> "MS" == Mike Solomon <address@hidden> writes:

    MS> If there is any way to enclose these notes within a single box,
    MS> please let me know.  I can do it in an svg editor if need be,
    MS> but it'd be ideal to be able to do it in Lilypond.

One way around is to draw a box using \markup and tweak the dimensions
manually as outlined below.  A better solution would be to define a
music-function drawing the box based on the dimensions of the music fed
to it.

\relative c'' {
  \override Stem #'transparent = ##t
  \override Beam #'transparent = ##t

  b16[-\markup {
    \with-dimensions #'(0 . 0) #'(0 . 0)
    \with-dimensions #'(-2 . 30) #'(-2 . 7)
  a b c a b b a g a b a]



reply via email to

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