CTAN update: tkz-elements
Datum: 11. Juni 2025 10:55:45 MESZ
Alain Matthes submitted an update to the
tkz-elements
package.
Version: 4.10c 2025-06-10
License: lppl1.3
Summary description: A Lua library for drawing Euclidean geometry with TikZ or tkz-euclide
Announcement text:
Package additions: Two new modules have been created: utils and tkz. The utils module provides a collection of general-purpose utility functions. These functions are designed to support common tasks such as numerical rounding, type checking, floating-point comparisons, and table operations. utils.parse_point, utils.format_number, utils.format_coord, utils.format_point, utils.checknumber,utils.almost_equal,utils.wlog The tkz module provides a collection of auxiliary functions. These functions are not strictly required but serve to simplify many geometric operations and shorten code. Their use depends on the context, but in the spirit of the package, it's preferable to use objects. Most of the following functions already existed, but are now used with the tkz prefix. This is the case for length and midpoint. Others are new, such as tkz.solve, which solves equations up to degree 3. Note also the tkz.angle_between_vectors function, which determines the angle between two vectors. tkz.solve, tkz.solve_linear_system, tkz.midpoint, tkz.length, tkz.round, tkz.length, tkz.midpoint, tkz.midpoints, tkz.is_linear, tkz.is_ortho, tkz.bisector, tkz.bisector, tkz.altitude, tkz.get_angle, tkz.angle_normalize, tkz.barycenter, tkz.dot_product, tkz.nb_dec, tkz.epsilon, tkz.dc, tkz.phi, tkz.invphi, tkz.sqrtphi, tkz.reset_defaults(), tkz.set_nb_dec(n). The path class has been enriched with the ability to create paths directly using conics and triangles. The methods have been rewritten and now use the add_point method. In order to make the best use of paths, I've added macros that allow you to create them using TikZ. There are now : \tkzDrawPointsFromPath, \tkzGetPointsFromPath, \tkzDrawCirclesFromPaths, \tkzDrawSegmentsFromPaths New mathematical features include the creation of the Poncelet point for the triangle class (poncelet_point). This method also exists for the quadrilateral class. The orthopole method has been added to the triangle class. The macro \tkzDN has become \tkzPN alias of \tkzPrintNumber. The method of the circle class, orthogonal_through, has been corrected and rewritten. Aliases with more evocative names are appearing: line.parallel_from alias of line.ll_from line.orthogonal_from alias of line.ortho_from \tkzDrawPath alias of \tkzDrawCoordinates \tkzPN alias of \tkzPrintNumber The \tkzEraseLuaObj macro deletes a lua object. Documentation The Cheat_sheet section has been removed. You can find it on my site. Two sections have been added: "maths tools" and "tkz". Some examples have been added: Archimedean spiral, Poncelet point, Orthopole, examples for "paths".
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/tkz-elements The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/tkz/tkz-elements/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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
Package additions: Two new modules have been created: utils and tkz. The utils module provides a collection of general-purpose utility functions. These functions are designed to support common tasks such as numerical rounding, type checking, floating-point comparisons, and table operations. utils.parse_point, utils.format_number, utils.format_coord, utils.format_point, utils.checknumber,utils.almost_equal,utils.wlog The tkz module provides a collection of auxiliary functions. These functions are not strictly required but serve to simplify many geometric operations and shorten code. Their use depends on the context, but in the spirit of the package, it's preferable to use objects. Most of the following functions already existed, but are now used with the tkz prefix. This is the case for length and midpoint. Others are new, such as tkz.solve, which solves equations up to degree 3. Note also the tkz.angle_between_vectors function, which determines the angle between two vectors. tkz.solve, tkz.solve_linear_system, tkz.midpoint, tkz.length, tkz.round, tkz.length, tkz.midpoint, tkz.midpoints, tkz.is_linear, tkz.is_ortho, tkz.bisector, tkz.bisector, tkz.altitude, tkz.get_angle, tkz.angle_normalize, tkz.barycenter, tkz.dot_product, tkz.nb_dec, tkz.epsilon, tkz.dc, tkz.phi, tkz.invphi, tkz.sqrtphi, tkz.reset_defaults(), tkz.set_nb_dec(n). The path class has been enriched with the ability to create paths directly using conics and triangles. The methods have been rewritten and now use the add_point method. In order to make the best use of paths, I've added macros that allow you to create them using TikZ. There are now : \tkzDrawPointsFromPath, \tkzGetPointsFromPath, \tkzDrawCirclesFromPaths, \tkzDrawSegmentsFromPaths New mathematical features include the creation of the Poncelet point for the triangle class (poncelet_point). This method also exists for the quadrilateral class. The orthopole method has been added to the triangle class. The macro \tkzDN has become \tkzPN alias of \tkzPrintNumber. The method of the circle class, orthogonal_through, has been corrected and rewritten. Aliases with more evocative names are appearing: line.parallel_from alias of line.ll_from line.orthogonal_from alias of line.ortho_from \tkzDrawPath alias of \tkzDrawCoordinates \tkzPN alias of \tkzPrintNumber The \tkzEraseLuaObj macro deletes a lua object. Documentation The Cheat_sheet section has been removed. You can find it on my site. Two sections have been added: "maths tools" and "tkz". Some examples have been added: Archimedean spiral, Poncelet point, Orthopole, examples for "paths".
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/tkz-elements The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/tkz/tkz-elements/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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.
Paket | tkz-elements |
Version | 4.10c 2025-06-10 |
Copyright | 2024–2025 Alain Matthes |
Betreuer | Alain Matthes |