[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Piece/instrument names choice
From: |
Menu Jacques |
Subject: |
Re: Piece/instrument names choice |
Date: |
Thu, 10 Mar 2016 09:51:57 +0100 |
Hello Kieren,
Thanks, I was missing such ideas!
One last question: in the following, is there a way to force « CONCERTO » to
show up before the beginning of the staff, as Staff.instrumentName would?
Playing with X-offset as in:
c''1
-\tweak self-alignment-X #-4
-\markup {\fontsize #1 \bold "CONCERTO"}
moves the note and markup horizontally, but not to the left of the beginning of
the staff.
Thanks for your help!
JM
> Le 8 mars 2016 à 18:33, Kieren MacMillan <address@hidden> a écrit :
>
> 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
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user