lilypond-user
[Top][All Lists]
Advanced

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

Re: Piece/instrument names choice


From: Kieren MacMillan
Subject: Re: Piece/instrument names choice
Date: Tue, 8 Mar 2016 12:33:27 -0500

Hi Jacques,

> I have to assign the instrument name to « poet », and the piece name to « 
> instrumentName ».
> That’s what seems not too clean to me…

You don’t HAVE to assign those that way… You can simply redefine 
bookTitleMarkup (or scoreTitleMarkup, as you wish) to reflect exactly what you 
want, e.g.,

%%%%  SNIPPET BEGINS
\version "2.19.36"

\paper {
  scoreTitleMarkup = ##f
  bookTitleMarkup = \markup \override #'(baseline-skip . 4) \fill-line {
    \center-column {
      \abs-fontsize #21 \fromproperty #'header:title
      \fill-line {
        \abs-fontsize #15 \fromproperty #'header:instrument
        \override #'(baseline-skip . 3) \center-column {
          \abs-fontsize #15 \fromproperty #'header:key-for-title
          \abs-fontsize #14 \fromproperty #'header:opus
        }
        \override #'(baseline-skip . 2.25) \center-column {
          \abs-fontsize #12 \fromproperty #'header:composer
          \abs-fontsize #10 \concat { ( \fromproperty #'header:catalogue-number 
) }
        }
      }
    }
  }
}

\header {
  title = "CLARINET CONCERTO NO. 1"
  key-for-title = "C Minor"
  opus = "Op. 26"
  instrument = "Bassoon II"
  composer = "L. Spohr"
  catalogue-number = "00841"
}

\score {
  { c''1 }
}
%%%%  SNIPPET ENDS

Hope that helps!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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