lilypond-user
[Top][All Lists]
Advanced

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

Re: \markup text defs between \score blocks


From: Nicolas Sceaux
Subject: Re: \markup text defs between \score blocks
Date: Mon, 22 Aug 2005 19:49:53 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Mats Bengtsson <address@hidden> writes:

> How about redefining the function that prints the page footer
> and include something like \fromproperty #'header:footnotes.
> Then you could do
> \score{
>    some music
>    \header{
>      ...
>      footnotes = ...
>    }
> }
>
> The default definition can be found in the function
> oddFooterMarkup in the file .../ly/titling-init.ly
>
>     /Mats

I'm not sure that would work (now). Here is a failed attempt:

----8<-----
\version "2.7.6"
\paper {
  noteFooterMarkup = \markup \fill-line {
    \fromproperty #'header:footnotes
    \hspace #1
    bla
  }
  #(define make-footer (marked-up-headfoot 'noteFooterMarkup 'noteFooterMarkup))
}

\header {
%  printallheaders = ##t
  footnotes = "book footnotes"
}

\score {
  { c' }
  \header {
    breakbefore = ##t
    footnotes = "1st score footnotes"
    piece = "1st score"
  }
}

\score {
  { d' }
  \header {
    breakbefore = ##t
    footnotes = "2nd score footnotes"
    piece = "2nd score"
  }
}
----8<-----

What is printed on both pages is "book footnotes".

nicolas




reply via email to

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