lilypond-user
[Top][All Lists]
Advanced

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

Re: Including a logo on the title page of a book


From: Nick Payne
Subject: Re: Including a logo on the title page of a book
Date: Sat, 06 Dec 2014 17:36:03 +1100
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 05/12/2014 06:32, John McWilliam wrote:
I'm compiling a collection of pipe tunes and would like to include a logo in
the center of the title page under the heading. I've converted a jpeg file
to eps format using "save as" in Adobe Photoshop and failed using the
\markup {\epsfile #0 #20 #"Logo_LNBP.eps"} command. The logo is found in:

Logo_LNPB.eps
<http://lilypond.1069038.n5.nabble.com/file/n169194/Logo_LNPB.eps>

Does anyone have any suggestions as to how this should be down.
--------------------------------------------------------------------

\version "2.18.0"

#(set-default-paper-size "a4" 'landscape)
#(set-global-staff-size 15) % set staff-size when ready to print

date = #(strftime "%d-%m-%Y" (localtime (current-time)))
tocSection = #(define-music-function (parser location text) (markup?)
                (add-toc-item! 'tocSectionMarkup text))

\book {

\header {
     title = "Lake Norman Pipe Band"
     subtitle = "March collection"
%   \markup {\epsfile #0 #20 #"Logo_LNBP.eps"}
     copyright = \markup {
                        \line {"Compiled by John S. McWilliam,"
                                \concat { "(rev. " \date ")" }}}
   }


\paper {

     tocTitleMarkup = \markup {\huge \column {
            \fill-line { \null "Table of Contents" \null }
            \hspace #1
            }
     }
     tocItemMarkup = \tocItemWithDotsMarkup
     tocSectionMarkup = \markup {\large \column {
            \hspace #1
            \fill-line { \null \italic \fromproperty #'toc:text \null }
            \hspace #1
            }
     }
}%end paper
        
        \pageBreak %after title page            
        \markuplist \table-of-contents
        \pageBreak

        \bookpart {
                \header {
                        title = "2/4 Marches"
                        subtitle = ##f}
                \tocSection \markup { 2/4 Marches }             
                }


}%end book
In one score where I've done this without problem, the title page has a page to itself and is in a separate bookpart to the score. It just contains the following:

\header {

   title = \markup {

    \with-color #grey

    \lower #8 \left-align \center-column {

      \fontsize #4 "Sonata BWV 1003"

      \lower #1 \fontsize #1 "3. Andante"

      \lower #4 \fontsize #-1 "Johann Sebastian Bach (1685–1750)"

    }

  }

  subtitle = \markup { \epsfile #X #72 #"Bach_BWV1003_andante.eps" }

}




reply via email to

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