[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Only show the opus number once when there are multiple score blocks
From: |
Brian Barker |
Subject: |
Re: Only show the opus number once when there are multiple score blocks |
Date: |
Sun, 24 Feb 2019 16:29:24 +0000 |
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