CTAN update: tkz-elements
Date: February 26, 2025 6:39:17 AM CET
Alain Matthes submitted an update to the
tkz-elements
package.
Version number: 3.30c
License type: lppl1.3
Summary description: A Lua library for drawing Euclidean geometry with TikZ or tkz-euclide
Announcement text:
Major evolution of tkz-elements with the introduction of the "conic" class, which replaces the "ellipse" class. - The latter was based on the "ellipse" operation, whereas "plot coordinates" is now used to construct all conic sections: parabolas, hyperbolas, and ellipses. It is worth noting that the circle, although a conic section, is not included in this class. Its significance grants it a special status and a dedicated class of its own. - Another class has been introduced: the "occs" class (orthonormal Cartesian coordinate system). To simplify the construction of conic sections, it was necessary to use well-suited coordinate systems. - A major change is the removal of scaling within the "Lua" section. Initially, I was in favor of avoiding scaling in the "TikZ" part, but since most calculations were already performed there, I realized that it was significantly simpler to apply scaling within the tikzpicture environment. Technical complexities sometimes arise when scaling is handled in the "Lua" section, so I decided to remove this option. Modifications: - In the "regular_polygon" class, I renamed the item "table" to "vertices," which is more appropriate and I also removed the "first" and "next" items, as they were unnecessary. -Correction of the code for the intersection of two circles, which did not provide an appropriate response in cases where no intersection was possible. - Improvement of the code for the "euler_line" method of the class "triangle". - Improvement of the code for the "is_orthogonal" method of the class "line". Additions:: - Major additions: the "conic" and "occs" classes. - An object of the "conic" class is created using the following arguments: focus, directrix, and eccentricity. - The available methods are: points, point, antipode, tangent_at, tangent_from, intersection, in_out, orthopedic, and asymptotes. - The 'points' method, common in many classes, allows creating a set of coordinates defining an object (e.g., a conic), extending the 'point' method which creates individual points. - The functions EL_points, EL_bifocal, HY_bifocal, PA_dir, and PA_focus provide the necessary arguments depending on the given data and the conic section being constructed. - The transformations "projection_ll" and "affinity" are now available for the "line" class. - The creation of an object from the "occs" class is done using the data of a line and a point. This point will be the origin of the new coordinate system, while the line will define the direction of the new y-axis. - The 'kimberling' method allows the creation of some points using this notation with the 'triangle' class. - The methods: steiner_line, simson_line, fermat-axis, brocard_axis, lemoine_axis, orthic_axis and orthic_axis_points complete the methods of the triangle class, as well as the anticomplementary or anti method, the taylor_circle and the taylor_points methods. - Two macros for the 'tikzpicture' part have been created: \tkzDrawCoordinates for obtaining a curve from a table of coordinates and \tkzDrawPointOnCurve for placing a point on such a curve. About documentation: Removal of all “overfull boxes”. Added examples concerning new features Corrected some examples, such as the Euler line.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/tkz/tkz-elements More information is at https://www.ctan.org/pkg/tkz-elements
Thanks for the upload. For the CTAN Team Erik Braun
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs
Major evolution of tkz-elements with the introduction of the "conic" class, which replaces the "ellipse" class. - The latter was based on the "ellipse" operation, whereas "plot coordinates" is now used to construct all conic sections: parabolas, hyperbolas, and ellipses. It is worth noting that the circle, although a conic section, is not included in this class. Its significance grants it a special status and a dedicated class of its own. - Another class has been introduced: the "occs" class (orthonormal Cartesian coordinate system). To simplify the construction of conic sections, it was necessary to use well-suited coordinate systems. - A major change is the removal of scaling within the "Lua" section. Initially, I was in favor of avoiding scaling in the "TikZ" part, but since most calculations were already performed there, I realized that it was significantly simpler to apply scaling within the tikzpicture environment. Technical complexities sometimes arise when scaling is handled in the "Lua" section, so I decided to remove this option. Modifications: - In the "regular_polygon" class, I renamed the item "table" to "vertices," which is more appropriate and I also removed the "first" and "next" items, as they were unnecessary. -Correction of the code for the intersection of two circles, which did not provide an appropriate response in cases where no intersection was possible. - Improvement of the code for the "euler_line" method of the class "triangle". - Improvement of the code for the "is_orthogonal" method of the class "line". Additions:: - Major additions: the "conic" and "occs" classes. - An object of the "conic" class is created using the following arguments: focus, directrix, and eccentricity. - The available methods are: points, point, antipode, tangent_at, tangent_from, intersection, in_out, orthopedic, and asymptotes. - The 'points' method, common in many classes, allows creating a set of coordinates defining an object (e.g., a conic), extending the 'point' method which creates individual points. - The functions EL_points, EL_bifocal, HY_bifocal, PA_dir, and PA_focus provide the necessary arguments depending on the given data and the conic section being constructed. - The transformations "projection_ll" and "affinity" are now available for the "line" class. - The creation of an object from the "occs" class is done using the data of a line and a point. This point will be the origin of the new coordinate system, while the line will define the direction of the new y-axis. - The 'kimberling' method allows the creation of some points using this notation with the 'triangle' class. - The methods: steiner_line, simson_line, fermat-axis, brocard_axis, lemoine_axis, orthic_axis and orthic_axis_points complete the methods of the triangle class, as well as the anticomplementary or anti method, the taylor_circle and the taylor_points methods. - Two macros for the 'tikzpicture' part have been created: \tkzDrawCoordinates for obtaining a curve from a table of coordinates and \tkzDrawPointOnCurve for placing a point on such a curve. About documentation: Removal of all “overfull boxes”. Added examples concerning new features Corrected some examples, such as the Euler line.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/tkz/tkz-elements More information is at https://www.ctan.org/pkg/tkz-elements
Thanks for the upload. For the CTAN Team Erik Braun
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs
tkz-elements – A Lua library for drawing Euclidean geometry with TikZ or tkz-euclide
This package provides a library written in Lua, allowing to make all the necessary calculations to define the objects of a Euclidean geometry figure. You need to compile with LuaLaTeX. The definitions and calculations are only done with Lua.
The main possibility of programmation proposed is oriented “object programming” with object classes like point, line, triangle, circle and now, conic. For the moment, once the calculations are done, it is tkz-euclide or TikZ which allows the drawings.
Package | tkz-elements |
Version | 3.32c |
Copyright | 2024–2025 Alain Matthes |
Maintainer | Alain Matthes |