lilypond-user
[Top][All Lists]
Advanced

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

Re: box around notes


From: MarcM
Subject: Re: box around notes
Date: Wed, 7 Jan 2015 18:43:53 -0700 (MST)

i tried examples in this old post but none of them compile in 2.19.15.

I created a sample example.

Is it possible to set the box to wrap around the notes without having to set
the dimensions?

How can we move the notes so the box does not overlap with the repeat sign
in the second example?

<http://lilypond.1069038.n5.nabble.com/file/n170210/Screen_Shot_2015-01-07_at_8.png>
 

\version "2.19.15"

melody = \relative c'' {
  \set fingeringOrientations = #'(left)
  %1
  \repeat volta 2 {
    <g-3  c-2 f-1>1 -\markup {
              \with-dimensions #'( 0 . 0)    #'(0 . 0)
      \box    \with-dimensions #'(-2 . 2.5)  #'(0 . 5.5)
      \null
    }
    d8-4 g,-0 d' g,  d'-4 g,-0 d' g,
  }

  %2
  \repeat volta 2 {
    <d'-4  c'-2 f-1>1 -\markup {
                 \with-dimensions #'( 0 . 0)    #'(0 . 0)
      \box       \with-dimensions #'(-2 . 2.5)  #'(0 . 5.5)
      \null}
    g8-3 d-0 g d      g8-4 d-0 g d
  }
}

\score {
  \new Staff { \melody }
}







--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/box-around-notes-tp35581p170210.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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