lilypond-user
[Top][All Lists]
Advanced

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

RE: Titles


From: Nick Payne
Subject: RE: Titles
Date: Wed, 17 Dec 2008 02:53:00 +1100

See http://www.mail-archive.com/address@hidden/msg42832.html. Just add composer and notes after each separate header block:

 

\version "2.11.65"

\paper {

                ragged-bottom = ##t

                ragged-last-bottom = ##t

                }

                \header {

                                 title = "Overall Title"

                                }

                \markup \null

                \bookpart { \header {

                                title = \markup  "Piece One"

                                composer = "Person One"

                                }

                                \relative c' { \time 4/4 c d e f g a g f e }

                }

                \bookpart {        

                                \header {

                                                title = \markup "Piece Two"

                                                composer = "Person Two"

                                }

                                \relative c' { \time 5/4 c d e f g a g f e }

                }

                \bookpart {         \header {

                                title = \markup  "Piece Three"

                                composer = "Person Three"

                }

                                \relative c' { \time 3/4 c d e f g a g f e }

                }

 

Nick

 

From: address@hidden [mailto:address@hidden On Behalf Of Ralph Palmer
Sent: Wednesday, 17 December 2008 00:54
To: lilypond-user Mailinglist
Subject: Titles

 

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

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.18/1850 - Release Date: 15/12/2008 17:04


reply via email to

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