lilypond-user
[Top][All Lists]
Advanced

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

Re:title on a separate page (Susan Dittmar) (David Nalesnik)


From: Frederick Dennis
Subject: Re:title on a separate page (Susan Dittmar) (David Nalesnik)
Date: Thu, 8 Oct 2009 04:06:13 +0430



Dear All,
When I tried to add the titlepage code to
the LSR, I got a message from Firefox
that lsr.dsi.unimi.it had an out-of-date
certificate and could not be trusted(?)
I have altered the music so it is now
public domain, hopefully.

%start file
\version "2.12.2"

%The next bit is scheme code to define \vspace
#(define-markup-command (vspace layout props amount) (number?)
  "This produces a invisible object taking vertical space."
    (ly:make-stencil "" (cons -1 1) (cons 0 amount))
    (ly:make-stencil "" (cons -1 1) (cons amount amount)))

\paper {
 print-page-number=##f
 ragged-bottom=##t
 ragged-last-bottom=##t
 print-all-headers = ##t

}

#(set-global-staff-size 14)

\header {
    title = \markup \center-column
    { \vspace #64 \fontsize #10 "The Conqueror Worm" }
subtitle =  \markup \center-column { \vspace #64 \fontsize #12 "Evanescence" }
 copyright = "Evanescence (http://www.evanescence.com/)"
 tagline = ##f
}

melody = \relative c' {
 a'1 ~
 a2.  a16( gis) a(  b)
 c2~  c8( e) d( c)
 b4. b8 d4 b
 a2 c
 e4. e,8 e4 e
 c'2 b4( a)
 g2. g4
 a1 ~
 a4 b c2
}

textI = \lyricmode {
 Lo! __ 'tis __ a __ ga -- la __ night
 With -- in the lone -- some lat -- ter years!
An an -- gel __ throng, be -- winged, __ be -- dight
}

guitar = \chordmode {
 a1:m f a:m g a:m e
 a:m g f r
}

\book {
\pageBreak

 \score {
     
  <<
    \new ChordNames { \set chordChanges = ##t \guitar }
    \new Voice = "one" { \clef treble \melody }
    \new Lyrics \lyricsto "one" { \textI }
  >>
  \layout { indent = 0.0\cm }
  \header {
     title = "The Conqueror Worm"
     subtitle = ""
     composer = "Composed by Evanescence"
     poet = "Lyrics by Edgar Allan Poe"
     }
 }
}
%end of file
I like this code because it is short and easy to understand.
It will definitely come in useful.
Fred.

reply via email to

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