lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ottava: remove dashed line


From: Reinhold Kainhofer
Subject: Re: ottava: remove dashed line
Date: Fri, 20 Nov 2009 19:31:23 +0100
User-agent: KMail/1.12.3 (Linux/2.6.31-14-generic; KDE/4.3.3; i686; ; )

Am Freitag, 20. November 2009 18:47:11 schrieb David Kastrup:
> Mats Bengtsson <address@hidden> writes:
> > The general strategy is fairly well described in the LilyPond Learning
> > Manual, especially in Sect. 4.3.1 "Visibility and color of objects",
> > but also Sect. 4.1 and 4.2 are useful to get the basic concepts and to
> > learn how to find out what "object" to modify.
> >
> > Hmm, at second thought it wasn't that simple in this specific case,
> > since if you use the standard ways to make an object invisible, than
> > both the line and the "8va" will disappear. So, to find the answer you
> > have to navigate yourself from the Notation Reference, section on
> > Ottava to the Internal Reference for OttavaBracket and then click on
> > line-interface to learn how to make the line invisible:
> >
> > \override Staff.OttavaBracket #'dash-period = #-1
> 
> It is customary to write "loco" then when the ottavation ends.  Probably
> easy to do this manually, though, but might be nice to have this work
> automatically, so that one can use the same source for different styles
> of ottavation.

Hmm, OttavaBrackets are very special... They mimic the behavior of other 
spanners, but actually implement everything themself. So, none of the ways to 
tweak line spanners can be used. In particular, for a normal spanner (e.g. a 
trill spanner etc.), you could simply override the right text of the bound-
details alist and the text would be printed at the right edge of the spanner:
  \override TrillSpanner #'bound-details #'right #'text = #"blah"
  f\startTrillSpan f f f f f f f \stopTrillSpan f

Unfortunately, this does not work for ottava brackets, since they are not 
spanners like the other grobs ...

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]