[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.13.61 2 rehearsal marks
From: |
Neil Puttock |
Subject: |
Re: 2.13.61 2 rehearsal marks |
Date: |
Mon, 9 May 2011 19:38:47 +0100 |
On 9 May 2011 02:49, Paul Scott <address@hidden> wrote:
> I need to to place a fermata over a bar line at the end of a line and have a
> rehearsal mark at the beginning of the next line. I would normally use
> \mark to place the fermata over the bar line but then I don't know how to
> reuse \mark for the rehearsal mark.
This is how I'd do it:
\version "2.13.61"
\relative c' {
c1
\mark \default
c1
\mark \default
\once \override Score.RehearsalMark #'break-visibility = #all-visible
\once \override Score.RehearsalMark #'stencil =
#(lambda (grob)
(and (= (ly:item-break-dir grob) LEFT)
(set! (ly:grob-property grob 'text)
(make-musicglyph-markup "scripts.ufermata")))
(ly:text-interface::print grob))
\break
c1
}
Cheers,
Neil