lilypond-user
[Top][All Lists]
Advanced

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

help with side-position interface?


From: Shevek
Subject: help with side-position interface?
Date: Wed, 1 Feb 2012 21:26:04 -0800 (PST)

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.




reply via email to

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