Hi,
I'm creating instrumental scores for a large work, where some instruments are 
quiet during some pieces. Now, for the empty pieces, I also want to add the 
score title to the instrumental pieces, but lilypond does not print them when 
the score does not contain any music.
How can I force the score header to be printed even for empty music?

Attached is a small example, where I also want the score title of the second 
score printed.

Thanks,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/

Attachment: keep_piece_titles_for_empty_pieces.pdf
Description: Adobe PDF document

\version "2.11.35"

% #(set-default-paper-size "a4" 'landscape)
#(set-default-paper-size "a4")
#(set-global-staff-size 14.5)

\header { 
  title = "Keep score titles with empty score"
}

\paper {
  scoreTitleMarkup = \markup { \column {
    \fill-line {
      \fontsize #3 \bold \fromproperty #'header:piece
      \null
    }
  }}
}


\score {
  <<
    \context Voice << \relative c'' { c4 d c d } >>
  >>
  \header { piece = "Nr. 1 - Text" }
}

%   \chapter \IIAriePieceName
\score {
  <<
    \context Voice << {} >>
  >>
  \header { piece = "Nr. 2 - Text tacet" }
}

\score {
  <<
    \context Voice << \relative c'' { c4 d c d } >>
  >>
  \header { piece = "Nr. 3 - Text" }
}

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

Reply via email to