[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Specifying piece titles in Score context
From: |
Michael Seifert |
Subject: |
Specifying piece titles in Score context |
Date: |
Sun, 4 Aug 2019 18:28:14 -0400 |
I’m trying to compile some parts and a full score from a set of
included files. I’m running into a problem that I’m sure must be solvable; I
just can’t figure out where it is in the documentation.
Specifically: many of the parts include several bars of rest, so I
need to have skipBars = ##t in all my scores. So I can do something like this:
—————
\version "2.18.2"
\header {
title = "Symphony"
}
\new Score
{
\set Score.skipBars = ##t
\relative c' { \repeat unfold 2 {c4 d e f} R1*10 \repeat unfold 2 {c4 d e f}}
% \header { piece = "I."}
}
\new Score
{
\set Score.skipBars = ##t
\relative c' { \repeat unfold 2 {f4 e d c} R1*10 \repeat unfold 2 {f4 e d c}}
% \header { piece = "II."}
}
—————
But if I do this, I can’t figure out how to include the
movement-specific headers; uncommenting the commented lines in the snippet
above returns an error about an “unexpected \header”.
As far as I can tell, all of the examples in the documentation
involving multiple scores with different titles use the \score { … } construct
instead of the \new Score { … } construct. If I do that, I can get multiple
pieces with headers, but I can’t change the skipBars property; uncommenting
the commented lines in the snippet below also throws an error concerning
“unexpected MUSIC_FUNCTION”:
—————
\version "2.18.2"
\header {
title = "Symphony"
}
\score
{
%\set Score.skipBars = ##t
\relative c' { \repeat unfold 2 {c4 d e f} R1*10 \repeat unfold 2 {c4 d e f}}
\header { piece = "I."}
}
\score
{
% \set Score.skipBars = ##t
\relative c' { \repeat unfold 2 {f4 e d c} R1*10 \repeat unfold 2 {f4 e d c}}
\header { piece = "II."}
}
————
How do I get parts including multiple scores *and* with condensed multi-rests
in each one?
Mike Seifert
New London, CT
- Specifying piece titles in Score context,
Michael Seifert <=