lilypond-devel
[Top][All Lists]
Advanced

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

Re: LilyPond 2.7.38 released, final release candidate


From: Werner LEMBERG
Subject: Re: LilyPond 2.7.38 released, final release candidate
Date: Fri, 17 Mar 2006 17:12:12 +0100 (CET)

> > - 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


reply via email to

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