CTAN Comprehensive TeX Archive Network

CTAN up­date: long­di­vi­sion

Date: March 26, 2019 10:49:20 AM CET
Hood Chatham sub­mit­ted an up­date to the long­di­vi­sion pack­age. Ver­sion num­ber: 1.1.0 2019-03-24 Li­cense type: lppl Sum­mary de­scrip­tion: Long di­vi­sion arith­metic prob­lems An­nounce­ment text:
Up­dated to in­clude more flex­i­ble out­put, in­clud­ing par­tial com­ple­tion of a prob­lem, "Ger­man" style long di­vi­sion, a nicer rad­i­cal sym­bol if tikz is loaded, and var­i­ous no­ta­tions for re­peat­ing dec­i­mals.
This pack­age is lo­cated at http://mir­ror.ctan.org/macros/la­tex/con­trib/long­di­vi­sion More in­for­ma­tion is at https://www.ctan.org/pkg/long­di­vi­sion
Thanks for the up­load. For the CTAN Team Erik Braun
We are sup­ported by the TeX users groups. Please join a users group; see http://www.tug.org/user­groups.html .

long­di­vi­sion – Type­sets long di­vi­sion

This pack­age ex­e­cutes the long di­vi­sion al­go­rithm and type­sets the so­lu­tions. The div­i­dend must be a pos­i­tive dec­i­mal num­ber and the di­vi­sor must be a pos­i­tive in­te­ger. Re­peat­ing dec­i­mals is han­dled cor­rectly, putting a bar over the re­peated part of the dec­i­mal. Div­i­dends up to 20 dig­its long are han­dled grace­fully (though the type­set re­sult will take up about a page), and div­i­dends be­tween 20 and 60 dig­its long slightly less grace­fully.

The pack­age de­fines two macros, \long­di­vi­sion and \int­long­di­vi­sion. Each takes two ar­gu­ments, a div­i­dend and a di­vi­sor. \long­di­vi­sion keeps di­vid­ing un­til the re­main­der is zero, or it en­coun­ters a re­peated re­main­der. \int­long­di­vi­sion stops when the div­i­dend stops (though the div­i­dend doesn't have to be an in­te­ger).

This pack­age de­pends on the xparse pack­age from the l3­pack­ages bun­dle.

Pack­agelong­di­vi­sion
Ver­sion1.1.0 2019-03-24
Copy­right2017–2019 Hood Chatham
Main­tainerHood Chatham

An­nounce­ments

more

Guest Book Sitemap Contact Contact Author