[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
\rotate markup command uses radians instead of degrees
From: |
Mats Bengtsson |
Subject: |
\rotate markup command uses radians instead of degrees |
Date: |
Mon, 19 Mar 2007 14:18:55 +0100 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070221) |
In spite of what it says in the documentation, the \rotate markup command
currently interprets the rotation angle in radians and not in degrees.
Example:
\markup{
\rotate #180 "Rotate 180 radians"
\rotate #3.14 "Rotate pi radians = 180 degrees"
}
I guess this is a mistake in the implementation, and I can easily fix it
myself
in GIT (just call q->rotate_degrees(...) instead of q->rotate(...) in
ly:stencil-rotate)
but the question is if I should make a convert-ly rule in case someone has
figured out to use radians?
/Mats
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================
- \rotate markup command uses radians instead of degrees,
Mats Bengtsson <=