There's a way, but it's rather messy.
Here's some code to give you a start. Essentially you draw a
coloured box
with \markup, experiment to get the right size, move it into the
right
position, and place it in layer 2 to put it above everything else,
and
then make the box white. If you add this when everything else is
stable
it is just about do-able. One problem is it pushes the volta marks
too
high. Offhand I don't know how to prevent this.
\alternative {
{ r1
% move to right position
-\tweak #'extra-offset #'(-2 . -1.5)
% place in higher layer
-\tweak #'layer #2
^\markup {
% specify color
\with-color #white % start with a visible colour
% specify size
\filled-box #'(0 . 10) #'(0 . 1) #0
}
|
}
----- Original Message -----
From: "Maestraccio" <maestrac...@gmail.com>
To: <bug-lilypond@gnu.org>
Sent: Friday, March 20, 2009 12:10 AM
Subject: How to chop a slur over a rest in a 1. volta repeat
I'm not top posting.
Recently I stumbled upon this problem and did not find a
satisfying answer
in neither the Documentation segment nor in the archives:
-------------------------------------------------
\version "2.10.33"
\paper{ ragged-right=##t }
\relative c'' {
\repeat volta 2 {
c,2^\markup {tacet la 1 \hspace #-1.5 \raise #1.0 {ma} volta}\p(
b a g4) g'8( f |e4 c d2) |r4 e8( c cis4 a' |
}
\alternative {
{r1 |}
{c,!2 b) |}
}
}
-------------------------------------------------
Please note the important "tacet la 1ma volta" line, which
indicates rests
during the first occurrence of this part.
It is a fragment taken from a bigger score and printing the whole
thing twice
(which may seem obvious here) is not a solution.
I experimented with "laissezVibrer" and "repeatTie", but these
commands
really end and rebegin the tie (not even a slur) "al niente"
(among other
drawbacks) instead of chopping the slur in two at a thick point.
Is there a way of radically ending a slur at a predefined point at
a certain
thickness (and beginning it likewise at the other end) or somehow
interrupting/blanking/hiding the slur over this 1. volta rest?
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond