Mathmaker Lib offers lualatex-printable mathematical objects. Geometric shapes are created using TikZ.
Project description
Overview
Mathmaker Lib offers lualatex-printable mathematical objects.
Contact: nh dot techn (hosted by gmail dot com)
Changelog
Version 0.5 (2018-01-10)
Add Number.quantize().
A Number can be converted into a another unit of the same physical quantity.
Accept int as exponent (or even content) of an Exponented.
Fractions can be created from a decimal Number.
Fractions become Evaluable and can be compared to other numbers.
Standalone Units will be printed using siunitx (e.g. as ‘\si{cm}’).
Fix bug: current locale is ignored when printing a number having a unit.
Do not automatically remove possible trailing zeros when printing a Number.
Add the tonne (t) as mass unit.
An optional patch allow Polygons to be drawn to the first vertex again instead of only cycling (default behaviour).
Version 0.4 (2017-12-19)
Add more complex geometric objects: Polygon, Triangle, RightTriangle, EquilateralTriangle, IsoscelesTriangle, Quadrilateral, Rhombus, Rectangle, Square.
Numbers can be “copied” using copy.copy() or copy.deepcopy().
Add Point.rotate().
Add the ability to change the size of Point’s drawn shape (using Point.shape_scale).
Add LineSegment.mark and the ability to change its size (using LineSegment.mark_scale).
mathmakerlib.requires_pkg becomes mathmakerlib.required and will also handle required options and hacks.
Add module mathmakerlib.mmlib_setup to configure the behaviour (default values etc.).
Patch 0.4.1 (2018-01-01)
Fix the locale monkey patch.
Version 0.3 (2017-11-17)
Add basic geometric objects: Point, LineSegment and DividedLineSegment.
Add Fraction.
Add module mathmakerlib.requires_pkg that tells which LaTeX packages will be required to compile the document (like tikz, xcolor, siunitx…).
Version 0.2 (2017-11-01)
Add Sign, Exponented and Unit classes.
Numbers are now Signed objects and may be assigned a Unit.
Patches 0.2.1 and 0.2.2 (2017-11-02)
Bring back Numbers’ hashability.
Add physical_quantity() in unit module.
Initial version 0.1 (2017-10-24)
Number class and decimal numbers’ related functions.
Contributors
Development
Lead developer: Nicolas Hainaux
Clever advices: Olivier Cecillon
Patience and chocolate cakes
Sophie Reboud
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for mathmakerlib-0.5.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd670f92216885a940e85c05868fe88d41b6fae8519862ef812760d80d796982 |
|
MD5 | b16c20e9acc4aa77da7a0b4b72f2e82e |
|
BLAKE2b-256 | abe570bd9a2418855bd27dc6c5b2417f51d6474a72937656ea989939345c3081 |
Hashes for mathmakerlib-0.5.0-py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8af2b4323dd5f94de157ca6ce7f83fbb0d827642033fddd64121a5d8a958543f |
|
MD5 | 88ff36504e5db3fff86e9cf4e0fdfb33 |
|
BLAKE2b-256 | 99e274e9e2d100b7f94f84d4c1b2c3015f600aca927cf6641585c290221a3938 |