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 <caio.bar...@gmail.com>:
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.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to