Try putting the textspanners into a separate voice with spacer notes.
IIRC a textspanner needs to start on a 'real' note, so your
textspanner voice would need transparent noteheads and stems.

On Fri, Apr 4, 2008 at 1:13 PM, Matthew <[EMAIL PROTECTED]> wrote:
> Is it possible to produce a horizontal bracket over a single note? (currently 
> on
> v. 2.10.33)
>
> I've tried playing with OttavaBracket and TextSpanner.
>
> TextSpanner doesn't work for a single note:
> {
>  c4\startTextSpan\stopTextSpan
> }
>
> I can't get the left edge for the ottava bracket to work. I want there to be a
> left edge, identical to the right.
> {
>  #(set-octavation 1)
>  \set Staff.ottavation = #""
>  \override Staff.OttavaBracket #'stencil = #ly:ottava-bracket::print
> %left edge doesn't work
>  \override Staff.OttavaBracket #'edge-height = #'(1.2 . 1.2)
>  \override Staff.OttavaBracket #'bracket-flare = #'(0 . 0)
>  \override Staff.OttavaBracket #'dash-period = #1.0
> %left shorten does work
>  \override Staff.OttavaBracket #'shorten-pair  = #'(-0.6 . -0.6)
>  \override Staff.OttavaBracket #'staff-padding = #3.0
>  \override Staff.OttavaBracket #'minimum-length  = #1.0
>  c'4
>  #(set-octavation 0)
> }
>
>
> Thanks
>
>
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to