lilypond-user
[Top][All Lists]
Advanced

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

Re: Howto have the number of volte printed out above an end-repeat bar?


From: Vicente Solsona
Subject: Re: Howto have the number of volte printed out above an end-repeat bar?
Date: Mon, 11 Oct 2010 23:57:42 +0200
User-agent: Opera Mail/10.61 (Linux)

On Mon, 11 Oct 2010 21:40:30 +0200, Gilles Filippini <address@hidden> wrote:
To me the "standard" way would be to have the Volta_engraver doing this
for me, and taking care not to do it when inside \unfoldrepeats {}.

afaik \unfoldRepeats is intended mainly for the output...

maybe you could just override the visibility of the mark when using \unfoldRepeats:

\version "2.12.3"

music = \relative c'' {
  \repeat volta 4 { ais b c d a b c d}
  \once \override Score.RehearsalMark #'break-visibility =
     #begin-of-line-invisible
  \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
  \once \override Score.RehearsalMark #'font-size = #0
  \mark \markup "4x"
}

\score
{
  \new Staff {
    \music  % the mark woild be visible
    \once \override Score.RehearsalMark #'transparent = ##t
    \unfoldRepeats {\music} % the mark
   }
}

the problem is that surprisingly (at least for me) this prints the last mark and not the first :-S

this could be a bug. If nobody disagrees, I'll report that to the bug list.

greetings,

Vicente




reply via email to

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