lilypond-user
[Top][All Lists]
Advanced

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

Re: Producing a title page


From: Richard Shann
Subject: Re: Producing a title page
Date: Thu, 30 Jan 2014 18:02:41 +0000

Nicholas Sceaux created code for doing this, which has been adapted
inside Denemo. So you could use that directly, or use Denemo to create
your title page and just steal the LilyPond code from there. There is an
example of the sort of title page you can get here:
http://imslp.org/wiki/Pavana_%26_Galliarda_Dolorosa_%28Philips,_Peter%29

this also includes table of contents etc. The source code is on the
Denemo website.

HTH,

Richard


On Thu, 2014-01-30 at 17:48 +0000, David Sumbler wrote:
> Having now got LilyPond 2.18.0 set up on my two machines, thanks to all
> the help from the list, I have now started trying to adjust the output
> of the pieces I have so far produced.
> 
> I have used \header blocks for title, composer etc., and these are
> working as I would wish.
> 
> However, I should like to produce a separate title page which precedes
> the music, but everything I have tried so far doesn't work.  Usually I
> either get additional text added to the first page of music, or I get no
> title above the music itself.
> 
> Of course, I could easily create a title page in LibreOffice or similar,
> but as LilyPond seems to have sufficient markup capabilities to do
> anything I am likely to want on a title page, it seems a shame not to
> keep the whole thing in the one place.
> 
> What I would like to do is to have some items (e.g. title, composer)
> appearing on page 1, and some of the same ones appearing above the music
> which starts on page 2 (or perhaps page 3 in some cases).  I imagine it
> is possible to set things up so that the data only appears once in the
> file - e.g. "Title" appears once in the .ly file, but appears both on
> the title page (page 1) and on the first page of music.
> 
> Here is an abbreviated example of one of my efforts:
> 
> 
> \version "2.18.0"
> 
> \book {
>     \paper {
>       indent = 0\mm
>       scoreTitleMarkup = \markup {
>           \fill-line {
>               \null
>               \fontsize #3 \bold \fromproperty #'header:piece
>               \null
>           }
>       }
>       first-page-number = #2
>     }
> 
>     \header {
>       title       = "Partita"
>       subtitle    = "for solo marimba"
>     }
> 
>     \score {
>       { c'1 c' }
>       \header { piece = "I.  Allemande" }
>       \layout { }
>     }
>     \pageBreak
> 
>     \score {
>       { d'1 d' }
>       \header { piece = "II.  Courante" }
>       \layout { }
>     }
> }
> 
> 
> How should I alter this to get a title page showing "Partita" and "for
> solo marimba" on a title page preceding the music pages?
> 
> David
> 
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

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