[Top][All Lists]
[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: |
Gilles Filippini |
Subject: |
Re: Howto have the number of volte printed out above an end-repeat bar? |
Date: |
Mon, 11 Oct 2010 21:36:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100913 Iceowl/1.0b1 Icedove/3.0.7 |
Xavier Scheuer a écrit , Le 11/10/2010 16:08:
>> Can I ask how do you achieve the right aligned 'repeat 4 times' in this
>> score?
>
> I would do something like that:
>
> \relative c'' {
> \repeat volta 4 {
> c1
> % displayed at the end of a line and at the end of the score
> \once \override Score.RehearsalMark #'break-visibility =
> #end-of-line-visible
> % \override Score.RehearsalMark #'break-visibility =
> #begin-of-line-invisible
> % right aligned (default value: #CENTER)
> \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
> % normal size (default value: #+1)
> \once \override Score.RehearsalMark #'font-size = #0
> % printed below the Staff (if wanted)
> % \once \override Score.RehearsalMark #'direction = #-1
> \mark \markup "4X"
> }
> }
Xavier and James, you made my day \o/
After a few more tests I came up with this snippet which works in both
cases, end of line or not:
\relative c'' {
\repeat volta N {
...
}
\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 "Repeat N times"
}
Now all I need is to put this into a conditional statement so that the
markup doesn't appear when using \unfoldRepeats.
Thanks,
_g.
- Howto have the number of volte printed out above an end-repeat bar?, pini, 2010/10/10
- Re: Howto have the number of volte printed out above an end-repeat bar?, Vicente Solsona, 2010/10/11
- Re: Howto have the number of volte printed out above an end-repeat bar?, Gilles Filippini, 2010/10/11
- Re: Howto have the number of volte printed out above an end-repeat bar?, Vicente Solsona, 2010/10/11
- Re: Howto have the number of volte printed out above an end-repeat bar?, Vicente Solsona, 2010/10/11
- Re: Howto have the number of volte printed out above an end-repeat bar?, Gilles Filippini, 2010/10/11
- Re: Howto have the number of volte printed out above an end-repeat bar?, Vicente Solsona, 2010/10/11
- Message not available
- Re: Howto have the number of volte printed out above an end-repeat bar?, Vicente Solsona, 2010/10/12
RE: Howto have the number of volte printed out above an end-repeat bar?, James Lowe, 2010/10/10