Hi Stephen, Hi Kevin,

Kevin's right, it's an easy way to get a curved line:

\version "2.18.2"

\markup {
  %% your example:
  \draw-line #'(1 . 1)
  %% your example in path mode:
  \path #0.1 #'((moveto 0 0)(curveto 0 0 0 0 1 1))
  %% concave example:
  \path #0.1 #'((moveto 0 0)(curveto 0 0 1 0 1 1))
  %% convex example:
  \path #0.1 #'((moveto 0 0)(curveto 0 0 0 1 1 1))
  %% more concave example:
  \path #0.1 #'((moveto 0 0)(curveto 0 0 2 -1 1 1))
  %% more convex example:
  \path #0.1 #'((moveto 0 0)(curveto 0 0 -1 2 1 1))
}

Cheers,
Pierre

2015-03-15 1:37 GMT+01:00 Kevin Barry <barr...@gmail.com>:

>
> On Sat, Mar 14, 2015 at 8:46 PM, Stephen MacNeil <classicalja...@gmail.com
> > wrote:
>
>> can I curve a line?
>
>
> You probably want the \path command which is documented here:
> http://lilypond.org/doc/v2.18/Documentation/notation/graphic
>
> _______________________________________________
> 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