lilypond-devel
[Top][All Lists]
Advanced

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

Re: Introducing two new markup-commands: draw-dashed-line and draw-dotte


From: dak
Subject: Re: Introducing two new markup-commands: draw-dashed-line and draw-dotted-line. (issue 7029045)
Date: Mon, 31 Dec 2012 10:16:37 +0000

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/



reply via email to

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