I'm experimenting with using the side-position interface to manage collisions
between RehearsalMarks and MetronomeMarks, according to
http://lilypond.org/doc/v2.14/Documentation/notation/aligning-objects#using-the-side_002dposition_002dinterface.
In my test file, setting x-offset to
#ly:side-position-interface::x-aligned-side causes the staff lines to do
funky things. What am I doing wrong?

\version "2.14.2"
\language "english"

global = {
\tempo "For example blah blah blah"
s1*2
\mark \default
s1*2
}

foo = \relative c' {
  c4 d e f |
  g f e d |
  c e g b |
  d2 c2 |
}

\score {
  \new Staff << \global \foo >>
  \layout {
    \context {
      \Score
      \override RehearsalMark #'side-axis = #0
      \override RehearsalMark #'direction = #1
      \override RehearsalMark #'X-offset =
#ly:side-position-interface::x-aligned-side
      \override MetronomeMark #'side-axis = #0
      \override MetronomeMark #'direction = #-1
      \override MetronomeMark #'X-offset =
#ly:side-position-interface::x-aligned-side
    }
  }
}          
-- 
View this message in context: 
http://old.nabble.com/help-with-side-position-interface--tp33248109p33248109.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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

Reply via email to