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: i...@kierenmacmillan.info


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to