lilypond-user
[Top][All Lists]
Advanced

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

Re: [layout tweaks] 1. fill-line


From: Rune Zedeler
Subject: Re: [layout tweaks] 1. fill-line
Date: Tue, 19 Jun 2007 02:23:10 +0200
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

Germain G. Ivanoff-Trinadtzaty wrote:

. I want to get <title> and <subtitle> centered on the page,
while <index> is placed on the left of <title>.
. I could not place <index> at a _fixed_ position from the _variable_
position of <title>'s first character.

\version "2.10.1"
\header {
  thetitle = "This is the title"
  index = "3.14159"
  subtitle = "Subtitle"

  title = \markup \fill-line { \line {
    \with-dimensions #'(0 . 0) #'(0 . 0)
      \right-align \normal-text \normalsize \fromproperty #'header:index
    \hspace #4.0
    \fromproperty #'header:thetitle
    \hspace #4.0
  } }
}
\score {
  { c' d' e' f' }
}


-Rune




reply via email to

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