# mathcommand – \newcommand-like commands for defining math macros

This package provides functionalities for defining macros

- that have different behaviors depending on whether in math or text mode,
- that absorb Primes, Indices and Exponents (PIE) as extra parameters usable in the code; and
- it offers some iteration facilities for defining macros with similar code.

The primary objective of this package is to be used together with the knowledge package for a proper handling of mathematical notations.

Sources | `/macros/latex/contrib/mathcommand` |

Documentation | |

Version | 1.03 2019-12-06 |

Licenses | The LaTeX Project Public License 1.2 |

Copyright | 2019 Thomas Colcombet |

Maintainer | Thomas Colcombet |

Contained in | TeX Live as mathcommand MiKTeX as mathcommand |

Topics | Defining Macro Maths Experimental LaTeX3 Iterating Macros |

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

## Announcements

## Suggestions

Maybe you are interested in the following packages as well.

## Community Comments