lilypond-user
[Top][All Lists]
Advanced

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

Re: Embedding eps over staff lines and music as graphical notation


From: Caio Giovaneti de Barros
Subject: Re: Embedding eps over staff lines and music as graphical notation
Date: Fri, 29 Apr 2016 10:27:22 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

Well, actually... Now I have another problem I didn't realize before.
In the piece I'm actually engraving the dots must cross staves and in the solution below the eps does ignore the staff above, but avoids collision with the staff below. Any suggestions?

\version "2.19.35"

impMrkp =
%\tweak staff-padding #'() %% not sure if needed
\tweak staff-padding #'()
\tweak outside-staff-priority #'()
\tweak layer #-30
\tweak Y-offset #'()
-\markup { \hspace #3 \vcenter \epsfile #X #25 #"improv.eps" }

<<
  \new Staff = "UP" {
    \relative c''' {
      \stemDown
      \textLengthOn b32[ \impMrkp \change Staff = "DOWN" b,,]
    }
  }
  \new Staff = "DOWN" {
    \relative c''' {
      s16
    }
  }
>>


Em 29-04-2016 10:01, Caio Giovaneti de Barros escreveu:


Em 28-04-2016 18:01, Thomas Morley escreveu:
2016-04-28 15:35 GMT+02:00 Caio Giovaneti de Barros <address@hidden>:
How can I insert an EPS file over the staff lines, ignoring collisions?

Is the below of some help?

\version "2.19.35"

impMrkp =
  %\tweak staff-padding #'() %% not sure if needed
  \tweak staff-padding #'()
  \tweak outside-staff-priority #'()
  \tweak layer #-30
  \tweak Y-offset #'()
  -\markup { \hspace #3 \vcenter \epsfile #X #25 #"improv.eps" }

\relative c''' {
   \textLengthOn b32[ \impMrkp b,,]
}
Yes, that did the trick. Thank you! I was not aware of \textLengthOn. Awesome.

Attachment: improv.eps
Description: image/eps


reply via email to

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