[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ottava dashed lines -- disable
From: |
Noeck |
Subject: |
Re: Ottava dashed lines -- disable |
Date: |
Mon, 18 Feb 2013 07:21:19 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
Am 18.02.2013 07:07, schrieb Nathan:
> On Sun, Feb 17, 2013 at 10:05 PM, Noeck <address@hidden
> <mailto:address@hidden>> wrote:
>
> Hi Guy,
>
> some hints for you:
>
> 1) You should send code that actually compiles. For your example
> \language "english" is missing and your global definitions are unknown
> (and probably not necessary).
> http://lilypond.org/website/tiny-examples.html
>
> 2) What you want is probably:
> \override Staff.OttavaBracket #'style = #'none
> (But please be aware that this makes the notation ambiguous, because you
> do not know where it ends.)
>
>
> Out of curiosity, is there any way to add a "loco" marking automatically?
That would be nice (it would remove the ambiguity), but I do not know
how. You can do it by hand, however, using a text spanner (mind the
different placement of \ottava and \startTextSpan!).
\version "2.16.0"
{
\ottava #1
\override Staff.OttavaBracket #'stencil = ##f
\override TextSpanner #'(bound-details left text) = "8va"
\override TextSpanner #'(bound-details right text) = "loco"
\override TextSpanner #'style = #'none
g''2
\startTextSpan
f''4
\ottava #0
e''
\stopTextSpan
}