At 16:59 24/02/2019 +1100, Robert White wrote:
I have a Lilypond file with two score blocks like the following:

    \version "2.18.2"

    \header {
      title = "Two minuets"
      opus = "Op. 1"
    }

    \score {
      \header {
        piece = "No. 1: Minuet in D major"
      }
      % Music here...
    }

    \score {
      \header {
        piece = "No. 2: Minuet in G major"
      }
      % Music here...
    }

The problem is that the opus number is shown for every score block. How can I make Lilypond only show it once?

Two workarounds:

o Insert
opus = ""
in the headers blocks of all score blocks except the first. This doesn't quite work, as the remaining opus prints as part of the first score, on the same line as the first piece. But you could choose instead to abandon opus and use
title = "Two minuets, Op. 1".

o Omit opus from the global header and modify the score block headers to include:
piece = "Op. 1 No. 1: Minuet in D major"
and
piece = "Op. 1 No. 2: Minuet in G major"

Brian Barker

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to