[pstricks] [pst-eucl] add some useful macros with examples, do you like them?
廖雄飞
liaofei1128 at 163.com
Sat Sep 28 09:29:57 CEST 2019
OK. I will test and use them on my local texlive environment. maybe I will add more macros in the future,
such as some parabola, ecclipse and hyperbola commands in the eukleides:
• parabola(A, l)
Parabola of focus A and directrix l.
• parabola(A, x, a)
Parabola of center A, such that x equals the semifocal chord and a the measure of the angle
between the principal axis and the horizontal direction.
• ellipse(A, x, y, a)
Ellipse of center A, such that x equals the half of the major axis, y the half of the minor
axis and a the polar angle of the principal axis.
• hyperbola(A, x, y, a)
Hyperbola of center A, such that x equals the half of the real axis, y the half of the imaginary
axis and a the polar angle of the principal axis.
• translation(cc, u)
• reflection(cc, l)
• rotation(cc, A [, a])
Rotation of center A and angle a (default: 180 ◦ ).
• homothecy(cc, A, x)
Homothecy, i.e. expansion or dilation, of center A and ratio x.
After I work done, I will send it to the maillist.
On 9/28/2019 15:21,Herbert Voss<Herbert.Voss at fu-berlin.de> wrote:
Am 28.09.19 um 09:17 schrieb 廖雄飞:
I have updated the patch and add a new macro \pstCircleRotNode:
\pstCircleRotNode - create a new node on the Circle O whose RotAngle
was the given value.
I'll wait a week until you have created a final patch! I cannot provide a
new version on a daily base ... ;-)
However, the best way would be to create an own package pst-euclx
and upload it by yourself to CTAN. Then you can modify it just as
you like
Herbert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pstricks/attachments/20190928/2953b809/attachment.html>
More information about the PSTricks
mailing list