CTAN Comprehensive TeX Archive Network

CTAN Update: longdivision

Date: May 12, 2020 8:26:25 AM CEST
Hood Chatham submitted an update to the longdivision package. Version: 1.2.0 2020-05-09 License: lppl Summary description: Typesets long division Announcement text:
Updated to support custom digit separators, decimal separators, optionally hide separators from division work, fix several minor bugs and remove deprecated expl3 commands.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/longdivision The package’s files themselves can be inspected at http://mirror.ctan.org/macros/latex/contrib/longdivision/
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

longdivision – Typesets long division

This package executes the long division algorithm and typesets the solutions. The dividend must be a positive decimal number and the divisor must be a positive integer. Repeating decimals is handled correctly, putting a bar over the repeated part of the decimal. Dividends up to 20 digits long are handled gracefully (though the typeset result will take up about a page), and dividends between 20 and 60 digits long slightly less gracefully.

The package defines two macros, \longdivision and \intlongdivision. Each takes two arguments, a dividend and a divisor. \longdivision keeps dividing until the remainder is zero, or it encounters a repeated remainder. \intlongdivision stops when the dividend stops (though the dividend doesn’t have to be an integer).

This package depends on the xparse package from the l3packages bundle.

Packagelongdivision
Version1.2.2 2023-10-21
MaintainerHood Chatham

Announcements

more

Guest Book Sitemap Contact Contact Author