Hi Joram,

Two things :
1) Ottava_spanner_engraver is part of the Staff context, see :
http://lilypond.org/doc/v2.18/Documentation/internals/ottava_005fspanner_005fengraver
2) for some reason LP spanners cannot reproduce dotted lines such as the
one your looking for.

So here's a kind-of :

{
  %% \override Staff.OttavaBracket.style = #'dotted-line % <= won't produce
any real dotted line
  \override Staff.OttavaBracket.thickness = 1.5
  \override Staff.OttavaBracket.dash-period = 0.6
  \override Staff.OttavaBracket.dash-fraction = 0
  \ottava 1
  a''4^\markup {
    \override #'(thickness . 2)
    \override #'(off . 0.01)
    \draw-dotted-line #'(10 . 0)
  }
  a'' a'' a''
  \ottava 0
}

HTH,
Pierre



2015-02-12 19:23 GMT+01:00 Noeck <noeck.marb...@gmx.de>:

> Hi,
>
> I would like to change the ottava bracket style. The markup line on top
> shows
> what I want, the dashed ottava bracket is the closest I could achieve.
> However,
> I want it to look like the dotted line on top.
>
> \version "2.18.2"
> {
>   \override Score.OttavaBracket #'style = #'dotted-line %why is it still
> dashed?
>   \override Score.OttavaBracket #'dash-period = 0.6
>   \override Score.OttavaBracket #'thickness = 2
>   %\override Score.OttavaBracket #'dash-fraction = 0.01 % does not really
> help
>   \ottava 1
>   a''4^\markup {
>     \override #'(thickness . 2)
>     \override #'(off . 0.01)
>     \draw-dotted-line #'(10 . 0)
>   }
>   a'' a'' a''
>   \ottava 0
> }
>
> Can anyone help me out?
>
> Joram
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to