# calc – Simple arithmetic in LaTeX commands

Adds infix expressions to perform arithmetic on the arguments of the
LaTeX commands `\setcounter`, `\addtocounter`,
`\setlength`, and `\addtolength`. Since many
packages start their arithmetic by storing an argument in a
register, the package has wide applicability.

This package is part of the latex-tools bundle in the LaTeX required distribution.

Sources | `/macros/latex/required/tools` |

Documentation | |

Version | 4.3 2017-05-25 |

Licenses | The LaTeX Project Public License 1.3c |

Copyright | 1992–1995 Kresten Krab Thorup and Frank Jensen 1997–2007 Kresten Krab Thorup, Frank Jensen, and the LaTeX3 Project 2008–2021 The LaTeX Project et al. |

Maintainer | The LaTeX Project Team Frank Jensen (inactive) Kresten Krab Thorup (inactive) |

TDS archive | `latex-tools.tds.zip` |

Contained in | TeX Live as tools MiKTeX as latex-tools |

Topics | Calculation Arithmetic |

Download the contents of this package in one zip archive (6.9M).

## Suggestions

Maybe you are interested in the following packages as well.

## Community Comments