lilypond-user
[Top][All Lists]
Advanced

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

Titles


From: Ralph Palmer
Subject: Titles
Date: Tue, 16 Dec 2008 08:53:33 -0500

Hi, All -

I'm trying to put together tune sets, and I can't get the titling right. What I would like is something like:

                 Set Title
                     Tune 1 Title
Meter                                            Composer
                         Notes
                         Notes
                         Notes

                     Tune 2 Title
Meter                                             Composer
                         Notes
                         Notes
                         Notes

I don't always have a meter or composer, but I think I know how to deal with that. With some help from Valentin, I've come close, using his suggestion:

\paper{
 scoreTitleMarkup = \markup { \column {
     \fill-line {
       \fromproperty #'header:meter
       \fromproperty #'header:poet
     }
   }
 }
}

However, this puts the tune title on the left, directly above the meter. I've looked at the 2.11 documentation under markup, titles, custom titles, and text, and I've done some fooling around, but I've had no success. Can anyone help?

I'm currently using

% Tune set, for the Shelburne Falls Mocha Maya session

\version "2.11.61"

\include "english.ly"


\include "Tune1.ly"
\include "Tune2.ly"


\paper {
    scoreTitleMarkup = \markup {
            \fill-line {
                { \column {
                    \fromproperty #'header:piece
                    \fromproperty #'header:meter
                    }
                    { \fromproperty #'header:composer
                    }
                }
            }
        }
}

\book {
    % Title of set.
    \header {
        subtitle = "Tune Set"
    }

    % 1st tune
    \score {
        { \Tune1 }
        \layout {
            indent = #0
            \context {
                %prevent tunes from printing on two pages
                \override NonMusicalPaperColumn #'page-break-permission = ##f
            }
        }

        % Title, meter, and composer of this tune
        \header {
        piece = "Tune 1"
        meter = "Meter"
        composer = "Composer Tune 1"
        }
    }

    % 2nd tune
    \score {
        { \Tune2 }
        \layout {
            indent = #0
            \context {
                %prevent tunes from printing on two pages
                \override NonMusicalPaperColumn #'page-break-permission = ##f
            }
        }   
        % Title, meter, and composer of this tune.
        \header {
            piece = "Tune 2"
            composer = "Composer 2"
        }

    }


}

Thanks for your help,

Ralph


--
Ralph Palmer
Montague City, MA
USA
address@hidden

reply via email to

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