On 2012/12/31 00:07:12, thomasmorley65 wrote:

I thought about extending \draw-line with a 'style-property.
But in extreme cases you would have to write:

\markup {
   \override #'(style . dashed)
   \override #'(on . 0.5)
   \override #'(off . 0.2)
   \override #'(thickness . 2)
   \draw-line #'(4 . 1)
}

This seems a bit overlaoded to me.

I don't consider

\markup {
  \override #'(on . 0.5)
  \override #'(off . 0.2)
  \override #'(thickness . 2)
  \draw-dashed-line #'(4 . 1)
}

considerably less overloaded.

Ok, this will reduce the needed \overrides only by one, but I think
any \override less would be nice.

Hm.

And I'm thinking about writing additional commands for zigzag- and
trill-style lines...

> After all,
> lines are not the only things that might be desirable to do with a
> different line style.

Do you have anything particular in mind?

Boxes, circles, underlines, ...  No, nothing particular, but it's not
uncommon.


https://codereview.appspot.com/7029045/

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to