lilypond-user
[Top][All Lists]
Advanced

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

Re: How to print 2 rehearsal marks above and below same bar line


From: James
Subject: Re: How to print 2 rehearsal marks above and below same bar line
Date: Mon, 13 Dec 2010 18:33:23 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

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 <address@hidden
<mailto:address@hidden>>
*Date: *December 11, 2008 5:36:04 PM GMT+01:00
*To: *james <address@hidden
<mailto:address@hidden>>
*Cc: *lilypond-user Mailinglist <address@hidden
<mailto:address@hidden>>
*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




reply via email to

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