Germain G. Ivanoff-Trinadtzaty wrote:
Thank you Rune,

You are welcome.

    % Here, the 'title' is output _almost_ at the center of the page
    % (with a little shift to the right) while the 'index' is put
    % 'gap' spaces away from 'title', on the left side.

Oh yeah, you are right.
This is caused by lilypond inserting "word-space" whitespace between objects even if you force them to zero width.

This title-definition gives the desired result.
The "myGap" is in staff spaces, that are 1/4 of the staff size. I.e. in 20 pt staff, each unit is 5 pts. I am not sure, how the "right way" is to convert this to centimetres from within the header-block.

    title = \markup {
      \override #`(word-space . ,myGap)
      \fill-line { \line {
        \with-dimensions #'(0 . 0) #'(0 . 0)
          \right-align \fromproperty #'header:myIndex
        \fromproperty #'header:myTitle
        \with-dimensions #'(0 . 0) #'(0 . 0) \strut
    }}}

-Rune


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

Reply via email to