lilypond-user
[Top][All Lists]
Advanced

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

Re: several short pieces with scored titles


From: Mats Bengtsson
Subject: Re: several short pieces with scored titles
Date: Thu, 16 Aug 2007 16:29:59 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

I have just added the following explanation and example to the LSR. Hopefully
it answers your question as well.

By default, only the piece and opus fields from the \header{...} block are typeset above each separate score, if you have multiple \score{...} blocks in your input file. As is mentioned in the manual, you can change this by setting the paper variable printallheaders, so that the full title is printed over each score. The corresponding \header{...} block should then be included within the corresponding \score{...} block, otherwise you will get an additional title (the title for the full book) above the first individual score title. This example shows how to get rid of the extra book level title. Note that a top level \header{...} block is useful if some titling information is the same for all scores and you do not want to repeat the information several times in the input file.

\header{
 composer = "The One and Only"
}


\score{
{c' d' e' f'}
\header{
 title = "First piece"
}
}

\score{
{c' d' e' f'}
\header{
 title = "Second piece"
}
}

\paper{
 printallheaders=##t
 bookTitleMarkup = ##f
}


  /Mats

Norman wrote:
I need to put a title with a score for several short pieces. Several pieces can
fit on one page. I am able to put a score within a title at the top of the page
but can't do it for pieces that are not at the top the page.


\version "2.10.25"


tuning = \markup {
    \score {
        \new Staff \with {
            \remove Time_signature_engraver
        } {
            d'
        }
        \layout { ragged-right = ##t }
    }
}


\header { subtitle = "D"
        subsubtitle = \markup {  \tuning }  }

{ a a a a }



tuning = \markup {
    \score {
        \new Staff \with {
            \remove Time_signature_engraver
        } {
            e''
        }
        \layout { ragged-right = ##t }
    }
}


\header {
    subtitle = "E"
subsubtitle = \markup { \tuning } }
{ a a a a }     
        




_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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