# 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.04 2021-06-07 |

Licenses | The LaTeX Project Public License 1.3 |

Copyright | 2019–2021 Thomas Colcombet |

Maintainer | Thomas Colcombet |

Contained in | TeX Live as mathcommand MiKTeX as mathcommand |

Topics | Maths Experimental LaTeX3 Defining Macro Iterating Macros |

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

## Announcements

## Suggestions

Maybe you are interested in the following packages as well.

## Community Comments