On 25/04/2015 00:44, Thomas Morley wrote:
Thanks. That looks great EXCEPT I can't get it to work for me :-( I run
your example, and it's bang on. I try to do the same in my part, and it
don't work :-(
You've got a rehearsal mark, followed by a right-aligned text markup. I
copy your right-aligned markup syntax, and it just doesn't work for me
:-( I can't copy your example exactly, unfortunately, because you start
with a rehearsal mark and I start with markup - I can't convert the
markup to a mark because I've already got a mark there ...
s2*8 \mark \markup { \musicglyph #"scripts.segno" }
\repeat volta 2 {
<>^\markup { "Allegretto con Moto"} s2*7
\override Score.TextScript.self-alignment-X = #RIGHT
\textLengthOn
<>^"Take 2nd on D.S."
} \alternative { { s2 } { s2 } }
As you can see, unless I'm going blind or something, I've copied your
syntax for right-aligned markup exactly (I copy-n-pasted it). So why the
devil isn't it working :-( because "Take 2nd" is still in the first time
bar :-(
Cheers,
Wol
Play around with:
{
\set Staff.instrumentName = "default "
R1
\mark "REHEARSALMARK"
c4
<>^"TEXTSCRIPT"
c2.
}
{
\set Staff.instrumentName = "tweaked "
R1
\once
\override Score.RehearsalMark.self-alignment-X = #LEFT
\markLengthOn
\mark "REHEARSALMARK"
c4
\override Score.TextScript.self-alignment-X = #RIGHT
\textLengthOn
<>^"TEXTSCRIPT"
c2.
}
Cheers,
Harm
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user