> > - Staff.instrument markup is misaligned when \center-align is used
> 
> I'm reluctant to fix this; it needs some more serious hackery. As a
> workaround, you can use
> 
>   \pad-to #'(0 . 50) #'(0 . 0)
>      \center-align { "blah blah" }
> 
> for the instrument name.

How shall this work?  With \center-align, I get right aligned stuff.

BTW, have a look at attached snipped which uses \right-align.  Looks
fishy somehow...


    Werner

\paper {
  indent = 50.0\mm
}

\score {
  <<
    \context StaffGroup = "A" <<
      \context Staff = "a" {
        \set Staff.instrument =
          \markup {
            \pad-to-box #'(0 . 5) #'(0 . 0) {
              \right-align { "foo" } } }
        R1
      }
      \context Staff = "b" {
        \set Staff.instrument =
          \markup {
            \pad-to-box #'(0 . 5) #'(0 . 0) {
              \right-align { "foobar" } } }
        R1
      }
    >>  

    \context Staff = "c" {
      \set Staff.instrument =
          \markup {
            \pad-to-box #'(0 . 5) #'(0 . 0) {
              \right-align { "foobarbaz" } } }
      R1
    }
  >>
}

PNG image

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to