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

This package provides functionalities for defining macros

1. that have different behaviors depending on whether in math or text mode,
2. that absorb Primes, Indices and Exponents (PIE) as extra parameters usable in the code; and
3. 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 README.mdPackage 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 mathcommandMiKTeX as mathcommand Topics MathsIterating MacrosExperimental LaTeX3Defining Macro