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]>
> Date: December 11, 2008 5:36:04 PM GMT+01:00
> To: james <[email protected]>
> Cc: lilypond-user Mailinglist <[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 |
> }
>
> /Mats
On Nov 29, 2010, at 9:20 PM, James Lowe wrote:
> Hello,
>
> Consider these two 'contrived' examples
>
> --
> \version "2.13.40"
>
> \relative c'' {
> c4 c8 c c4 bes | a2 a \bar "||"
> \once \override Score.RehearsalMark #'break-visibility =
> #begin-of-line-invisible
> \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
> \once \override Score.RehearsalMark #'direction = #DOWN
> \mark \markup { \small \bold \italic "Fine."}
> f4 f8 f f4 f | g2 g4 g |
> }
>
> \relative c'' {
> c4 c8 c c4 bes | a2 a \bar "||"
> \mark #1
> f4 f8 f f4 f | g2 g4 g |
> }
>
> --
>
> In the first {} example the 'fine.' is aligned with the bar line and in the
> second the \mark is also aligned on the same bar line, I'd like to be able to
> have a single system with the fine. 'text' \mark and a 'rehearsal mark' \mark
> below and above respectively. I say this example is contrived because this
> would be a nice *and simple* method (for me anyway) generally to align items
> without having to worry about \tweaking each time I ever transpose or add
> more bars/notes.
>
> While I realise I could 'tweak' a markup and move it horizontally, the
> align/break-visibility alignment method is a nice way of aligning to a given
> bar without trial and error and using \mark 'rehearsal.mark' is very simple.
>
> While we have an LSR example
>
> http://lsr.dsi.unimi.it/LSR/Item?id=10
>
> This uses two staves. Using a << \\ >> construct with just explicit \marks
> doesn't seem to work, and I wondered if this was possible?
>
> I hope that makes sense.
>
> James
>
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user