Nick, Matts and James (et al)

On 30/11/2010 01:12, Nick Payne wrote:
On 30/11/10 10:53, James Bailey wrote:
Hello, I asked this exact same question almost exactly two years ago!
Here is the response I got from Mats. It worked for me, even if it was
a bit fiddly:
*From: *Mats Bengtsson <[email protected]
<mailto:[email protected]>>
*Date: *December 11, 2008 5:36:04 PM GMT+01:00
*To: *james <[email protected]
<mailto:[email protected]>>
*Cc: *lilypond-user Mailinglist <[email protected]
<mailto:[email protected]>>
*Subject: **Re: two simultaneous marks*

Well, one trick is to draw both marks as a single markup command with
a sufficiently large
vertical separation, and then move it downwards so that the upper
mark appears above the
staff and the lower one below. Example:

\version "2.10.0"
\relative c'{ c d e f
\once \override Score.RehearsalMark #'extra-offset = #'(0 . -9)
\once \override Score.RehearsalMark #'baseline-skip = #9
\mark \markup \column{\box A
\italic fine }
g f e d | c1 |
}

Better to use \mark \markup \left-align \ center-column, in order to get
both marks vertically centred on the bar line:

\version "2.13.40"

\relative c'{
c d e f |
\once \override Score.RehearsalMark #'extra-offset = #'(0 . -9)
\once \override Score.RehearsalMark #'baseline-skip = #9
\mark \markup \left-align \center-column { \box A \italic fine }
g f e d |
c1 |
}

Thanks to all. I have added this to the LSR.

James


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to