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{}
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user