lilypond-user
[Top][All Lists]
Advanced

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

Re: headers and spacing


From: David Bobroff
Subject: Re: headers and spacing
Date: Fri, 01 Aug 2008 07:26:26 +0000
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

Herbert,

This seems to work. I was trying to use \column for title/instrument which didn't work. As for the spacing getting fouled; I suspect it may have been something else doing that.

Thanks again,

David

Herbert Niemeyer wrote:
In my first answer I assumed 3 columns as header: Page#, Title, Author with no distinction between odd and even pages. (Since I have 3 columns I don't need the extra " "...) Now, let me assume that you need the Page# altering, and the myTitle (1st row) with the myInstrument in a second row, but both myTitle and myInstrument centered. And yes, in this case you need the extra " ". Please try the following. If that doesn't do what you want, please let me know what spacing is fouled.
...when I use this the spacing gets fouled a bit...
Snippet:
   myTitle = "Title"
   myInstrument = "a instrument"
   oddHeaderMarkup = \markup
   \fill-line {
       " "
\on-the-fly #not-first-page {\center-align {\myTitle \tiny \myInstrument}} \on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string
   }
   evenHeaderMarkup = \markup
   \fill-line {
\on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string \on-the-fly #not-first-page {\center-align {\myTitle \tiny \myInstrument}}
       " "
   }
Herbert



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






reply via email to

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