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: Germain G. Ivanoff-Trinadtzaty
Subject: Re: [layout tweaks] 1. fill-line
Date: Wed, 20 Jun 2007 00:38:26 +0200


Instant reply ! Well done !
 
I'll find a way to convert spaces to mm.
So \hspace disappeared. But \struts appeared !
Having a look at lily's help ; well it deals with _height_ of a box.
Here is probably the last improvement to be done.
Indeed, 'myTitle' and 'mySubtitle' are still misaligned...
 
Am I boring you with this insignificant detail ?
(well ...this programming challenge ?)
 
Germain
 
%%%
 
\version "2.11.26"
\header
{
    myIndex = "№ 210"
    myGap = #8.0
    myTitle = "|AZERTYUIOP|"
    mySubtitle = "|AZERTYUIOP|"
    title = \markup \large {
    \override #`(word-space . ,myGap)    % what is it for a comma ?
    \fill-line { \line {
        \with-dimensions #'(0 . 0) #'(0 . 0)
        \right-align \fromproperty #'header:myIndex
        \fromproperty #'header:myTitle
%       \with-dimensions #'(0 . 0) #'(0 . 0) \strut        % almost done
%       \with-dimensions #'(0 . ,myGap) #'(0 . 0) \strut   % doesn't compile
%       \with-dimensions #'(0 . 8) #'(0 . 0) \strut        % bad
%       \with-dimensions #'(0 . 0) #'(0 . 0) "        "    % (myGap spaces) no
        \with-dimensions #'(0 . 0) #'(0 . 0) " "           % still missing smthg
    }}}
    % exact center :
    subtitle = #mySubtitle
}
\score {c''}
\layout{}

reply via email to

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