lilypond-user
[Top][All Lists]
Advanced

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

How can I reuse an outline in a score


From: Sebastian Menge
Subject: How can I reuse an outline in a score
Date: Thu, 5 Sep 2024 13:28:54 +0200

Hi

I am writing arrangements for accordion and create the score and the individual voices using \book.

To save effort and give some structure / consistency I want to reuse certain things like
- time signatures
- \marks

I used an "\outline" consisting of silence and the time signatures and marks and put it in parallel inside the staff but then the layout gets wrong, because the "silence" somehow influences the layout algorithm. (see below)

Is there a more clever way to organize this?

Is there perhaps an introduction on how to write scores for smaller ensembles efficiently?

Thanks, Sebastian. 


%%%%%%%%%
outline =
{
   \numericTimeSignature
   \time 4/4 s1*2
   \time 3/4 s2.
   \time 4/4 s1
   \time 4/4 s1 \mark \markup { \box { 55 } }
   \time 3/4 s2.
   \time 2/4 s2
%%%%%%%%%%

and then 


%%%%%%%%%%%%
\book
{
  \bookOutputSuffix  "Akk2"
  \score
  {
   
    \new Staff
        {
          \set Staff.instrumentName = \akkIIName
          \set Staff.shortInstrumentName = \akkIIShort
          \clef "treble"
          \global
          <<
             \musicAII  \\
             \outline
          >>
        }
  }
}
%%%%%%%%%%%%%%

reply via email to

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