Hi James,
2014-07-30 1:49 GMT+02:00 James Harkins <[email protected]>:
> In some places, I have a \markup-style mark over the same barline, and at
> the same barline, I also want a rehearsal mark (produced by \mark
> \default). Unfortunately it seems only one \mark is allowed at any given
> moment.
>
> This is a type of markup-style marking I mean:
>
> \mark \markup { \fontsize #-2 { \note #"4." #1 "=" \note #"2" #1 } }
>
> ... where you wouldn't want the score to print the duration equivalence
> over every staff, just at the top. And of course rehearsal marks shouldn't
> go over every staff either.
>
> Is there any workaround?
>
A mini example would have been great here...
Maybe this snippet could help ? http://lsr.di.unimi.it/LSR/Item?id=202
Somerhing like :
\version "2.18.2"
#(define (format-mark-box-letters-markup-style mark context)
(markup #:line
(#:center-column
(#:line
(#:fontsize -2 (#:note "4." 1)
#:fontsize -2 "="
#:fontsize -2 (#:note "2" 1))
#:bold #:box (#:markletter (- (ly:context-property context
'rehearsalMark) 2))
))))
markDefaultMarkupStyle = {
\set Score.markFormatter = #format-mark-box-letters-markup-style
\once\override Score.RehearsalMark.baseline-skip = #4
\mark\default
}
myMusic = \relative c'' {
\repeat unfold 4 a
\markDefaultMarkupStyle
\repeat unfold 4 a
}
\new StaffGroup <<
\myMusic
\myMusic
\myMusic
>>
HTH,
Pierre
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user