[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TesxtSpanner
From: |
Valentin Villenave |
Subject: |
Re: TesxtSpanner |
Date: |
Sat, 14 Jul 2007 03:17:43 +0200 |
2007/7/14, Peter Terpstra <address@hidden>:
from the lilypond documentation i got this:
\override NoteColumn #'force-hshift = #0.3
<e,-0>4 <e'-1>4 <e,-0>2 | d'4\rest <e-1>2 <fis-3>4 % 3
d\rest <g-0> <a,-0>2 |
\textSpannerUp
\override TextSpanner #'bound-details #'left #'text = "II "
And now?
Hi Peter,
two things:
-first, apparently LilyPond is expecting a Scheme expression here: typing
#"II"
instead of
"II"
will correct your output error
-but anyway your snippet is incomplete; you have to make the
TextSpanner object *exist* by adding some \startTextSpan and
\stopTextSpan commands after your \override instruction, like in the
"other guitar issues" example.
Maybe the Documentation should mention the #"XX" syntax (though it
works perfectly well without it, as long as you add anything after the
\override line);
Graham, if you think this is worth it, here's a small patch. I checked
the other examples, but none is to be corrected (all examples but this
one use a nested \markup block, and don't need any correction).
Regards,
Valentin