lilypond-user
[Top][All Lists]
Advanced

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

Including a logo on the title page of a book


From: John McWilliam
Subject: Including a logo on the title page of a book
Date: Thu, 4 Dec 2014 12:32:31 -0700 (MST)

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




-----
John McWilliam
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Including-a-logo-on-the-title-page-of-a-book-tp169194.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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