# Directory `macros/generic/modulus`

README

+AMDG This document is copyright 2018 by Donald P. Goodman, and is released publicly under the LaTeX Project Public License. The distribution and modification of this work is constrained by the conditions of that license. See http://www.latex-project.org/lppl.txt for the text of the license. This document is released under version 1.3 of that license, and this work may be distributed or modified under the terms of that license or, at your option, any later version. This work has the LPPL maintenance status 'maintained'. The Current Maintainer of this work is Donald P. Goodman (dgoodmaniii@gmail.com). This work consists of the files modulus.ins and modulus.dtx, along with derived files modulus.sty and modulus.pdf. The modulus package provides non-destructive, TeX-primitive macros for assigning the modulus and quotient of division operations to counters. This package should run properly on any properly running LaTeX system.

Download the contents of this package in one zip archive (173.4k).

## modulus – A non-destructive modulus and integer quotient operator for TeX

The package provides an easy way to take the remainder of a division operation without destroying the values of the counters containing the dividend and divisor. Also provides a way to take the integer quotient of a division operation without destroying the values of the counters containing the dividend and divisor. A tiny but occasionally useful package, when doing heavy TeX programming.

Package | modulus |

Version | 1.0 |

Licenses | The LaTeX Project Public License 1.3c |

Copyright | 2018 Donald P. Goodman |

Maintainer | Donald P. Goodman |

Contained in | TeX Live as modulus MiKTeX as modulus |

Topics | Calculation |