suanpan-l3 – Traditional Chinese 7-bids suanpan (abacus) package based on l3draw
This traditional Chinese 7-bids abacus drawing package utilizes l3draw and is developed with expl3. It can effectively manage both upper and lower bids, while also considering bottom bid, top bid, and hanging bid.
The package offers a unique environment for drawing abacuses, denoted as suanpan. Within this environment, 7 specialized macros are available for the creation of abacuses. The \rod macro is used to lay out a single rod, while the \rod* macro draws a counting point on this rod’s beam. The \rods macro is capable of laying out a set of rods. The \bid macro colors the specified bid. The \bids macro colors all inner bids that are near the beam, while the \bids* macro colors all outer bids that are far from the beam. Lastly, the \lrframe macro is used to lay out the left and right frames of an abacus.
At the same time, the package offers customization options for abacus, including line width, draw color, fill color, bid space, rod space, etc. These can be configured through package options, suanpan environment options, or the \suanpanset macro.
Sources | /macros/latex/contrib/suanpan-l3 |
Documentation | |
Bug tracker | https://gitee.com/nwafu_nan/suan-pan/issues |
Repository | https://gitee.com/nwafu_nan/suan-pan |
Developers | https://gitee.com/nwafu_nan/suan-pan/pulls |
Version | 1.2.4 2024-10-13 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2020–2024 Nan Geng |
Maintainer | Nan Geng |
Contained in | TeX Live as suanpan-l3 MiKTeX as suanpan-l3 |
Topics | Diagrams Experimental LaTeX3 |
Download the contents of this package in one zip archive (439.5k).
Announcements
- 2024-10-14 CTAN update: suanpan-l3
- 2024-09-09 CTAN update: suanpan-l3
- 2024-09-06 CTAN update: suanpan-l3
Suggestions
Maybe you are interested in the following packages as well.
Community Comments