lilypond-user
[Top][All Lists]
Advanced

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

RE: Ambitus placed after clef and key signature


From: Daniel Rosen
Subject: RE: Ambitus placed after clef and key signature
Date: Tue, 06 Nov 2012 02:42:19 +0000

Works perfectly, thanks!

DR


-----Original Message-----
From: Thomas Morley [mailto:address@hidden 
Sent: Monday, November 05, 2012 7:40 PM
To: Daniel Rosen
Cc: address@hidden
Subject: Re: Ambitus placed after clef and key signature

2012/11/6 Daniel Rosen <address@hidden>:
> I'm trying to find a way to print an ambitus between the key signature and 
> time signature, as here (http://www3.cpdl.org/wiki/images/3/37/TALL-SA1.pdf). 
> Is this possible?
>
> DR
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user

Hi Daniel,

you have to change BreakAlignment #'break-align-orders In addition there is 
need to redefine the spacing of the new order for KeySignature #'space-alist 
Ambitus #'space-alist Clef #'space-alist Perhaps more, I merely tested a small 
example:

\version "2.16.0"

\layout {
  \context {
    \Voice
    \consists "Ambitus_engraver"
  }
}

\override Score.BreakAlignment #'break-align-orders =
  #(make-vector 3 '(left-edge
       breathing-sign
       clef
       key-cancellation
       key-signature
       staff-bar
       ambitus
       time-signature
       cue-clef
       custos))

       \override Score.KeySignature #'space-alist =
         #'((time-signature extra-space . 1.15)
            (staff-bar extra-space . 1.1)
            (cue-clef extra-space . 0.5)
            (ambitus extra-space . 1.0)
            (right-edge extra-space . 0.5)
            (first-note fixed-space . 2.5))


       \override Score.Ambitus #'space-alist =
         #'((cue-end-clef extra-space . 0.5)
            (clef extra-space . 0.5)
            (cue-clef extra-space . 0.5)
            (key-signature extra-space . 0.0)
            (staff-bar extra-space . 0.0)
            (time-signature extra-space . 0.8)
            (first-note fixed-space . 0.0))

       \override Score.Clef #'space-alist =
         #'((cue-clef extra-space . 2.0)
            (staff-bar extra-space . 0.7)
            (ambitus extra-space . 1.0)
            (key-cancellation minimum-space . 3.5)
            (key-signature minimum-space . 3.5)
            (time-signature minimum-space . 4.2)
            (first-note minimum-fixed-space . 5.0)
            (next-note extra-space . 1.0)
            (right-edge extra-space . 0.5))

       \key f\major
       f4 g a bes c d e g
}



HTH,
  Harm



reply via email to

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