lilypond-user
[Top][All Lists]
Advanced

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

Re: Dotted ottava bracket


From: Pierre Perol-Schneider
Subject: Re: Dotted ottava bracket
Date: Fri, 13 Feb 2015 13:07:34 +0100

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 <address@hidden>:
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
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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