Thanks a lot, Kevin. That did it.
I further modified it to avoid the
programming error: No spacing entry from Item to `time-signature'
and included the other entries present in the default, so it now reads
as in the attachment.
Best regards, Simon
Am 23.02.2015 15:49, schrieb Kevin Barry:
OK so the space-alist property is what needed changing. This should do
what you want
\version "2.18.2"
\score {
\relative {
\override Score.BreakAlignment #'break-align-orders =
#(make-vector 3 '(left-edge breathing-sign clef key-cancellation
key-signature ambitus time-signature staff-bar cue-clef custos))
\override Staff.KeySignature.space-alist =
#'((ambitus extra-space . 1) (time-signature extra-space . 1.15))
\override Staff.Ambitus.space-alist = #'((key-signature
extra-space . 1))
\time 3/8 \key c \minor
es'8 g c
}
\layout {
\context { \Staff
\consists "Ambitus_engraver" }
}
}
On Mon, Feb 23, 2015 at 1:27 PM, Kevin Barry <barr...@gmail.com
<mailto:barr...@gmail.com>> wrote:
On Mon, Feb 23, 2015 at 12:32 PM, Simon Albrecht
<simon.albre...@mail.de <mailto:simon.albre...@mail.de>> wrote:
Thus I’d like to place the ambitus just before the time
signature, after clef and key signature. How can I do that?
Hi Simon,
This should get your part of the way towards what you want. It
puts the ambitus after the key signature, but produces an error
and non-optimal spacing. The property you need to change is
BreakAlignment, which determines the order in which these things
appear. Hopefully someone else can help with the error.
\version "2.18.2"
\score {
\relative {
\override Score.BreakAlignment #'break-align-orders =
#(make-vector 3 '(left-edge breathing-sign clef
key-cancellation key-signature ambitus time-signature staff-bar
cue-clef custos))
\time 3/8 \key c \minor
es'8 g c
}
\layout {
\context { \Staff
\consists "Ambitus_engraver" }
}
}
\version "2.19.8"
\score {
\relative {
\override Score.BreakAlignment #'break-align-orders =
#(make-vector 3 '(left-edge breathing-sign clef key-cancellation key-signature ambitus time-signature staff-bar cue-clef custos))
\override Staff.KeySignature.space-alist =
#'((ambitus extra-space . 1)
(time-signature extra-space . 1.15))
\override Staff.Ambitus.space-alist =
#'((key-signature extra-space . 1)
(staff-bar extra-space . 1.1)
(cue-clef extra-space . 0.5)
(right-edge extra-space . 0.5)
(time-signature extra-space . 1.15)
(first-note fixed-space . 2.5))
\time 3/8 \key c \minor
es'8 g c
}
\layout {
\context { \Staff
\consists "Ambitus_engraver" }
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user