suanpan.mp is the macro file, and abacus.mp is the user file. To process abacus.mp, write metapost abacus.mp The macros are released under the LPPL.
Download the contents of this package in one zip archive (5.0k).
suanpan – METAPOST macros for drawing Chinese and Japanese abaci
These macros are described in
Denis Roegel: METAPOST macros for drawing Chinese and Japanese abaci, TUGboat (volume 30, number 1, 2009, pages 74-79)
The LaTeX Project Public License|
|Copyright||2008 D. Roegel|
Denis B. Roegel|
|Contained in||TeX Live as suanpan|
|MiKTeX as suanpan|
use, and support for use, of METAPOST|
process game diagrams, gamebooks, and other amusements