Centering horizontally is very simple: I use \fill-line and just one text.
There's anything as simple to center the text vertically as well?
So far I only managed to get it working with a silly workaround:
\column and a long list of \line { \null } (see attached example).
I'm sure there's some better solution, can you help me to find it?
Thanks!
Federico
--
http://gnurag.net/blog/
http://fsfe.org/
http://groups.fsf.org/wiki/LibrePlanetItalia
\version "2.13"
%% TODO Put the text in the middle of the page
\markup {
\fill-line {
\rounded-box \pad-markup #2
\fontsize #8
\bold \smallCaps "Chapter 1"
}
}
\pageBreak
%% Silly and awful solution
\markup {
\fill-line {
\column {
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line { \null }
\line \huge \bold { Chapter 1 }
}
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user