CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/mandi


mandi - Macros for introductory physics


mandi (which can be pronounced with two syllables rhyming with candy, or with three as M and I, referencing a popular introductory physics textbook) is for students and instructors in an introductory physics course. They can use mandi to write solutions, class notes, handouts, assessments, and other such documents. Using physical quantities (and constants) by name eliminates missing units. Step-by-step solutions and reasoning eliminates missing work, and consistent notation can be employed.


The mandi package defines every physical quantity and constant used in introductory physics by its name. SI units are included by default in any of three different kinds (base, derived, and alternate). A simple interface for defining additional quantities and constants is provided.


The mandistudent package defines additional commands and environments for writing solutions to physics problems. The physicsproblem and physicssolution environments allow for semantically structured solutions. Computational problems are accommodated as Web VPython and VPython code.


The mandiexp package defines commands for typesetting the equations and expressions most frequently used in introductory physics. The equations and expressions are based on those found in Matter & Interactions but are certainly applicable to any introductory physics textbook.

Author and Maintainer

mandi is authored and maintained by Paul J. Heafner.


mandi is released under LPPL 1.3c and later.

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

mandi – Macros for introductory physics and astronomy

The package contains commands for students and teachers of introductory physics. Commands for physical quantities intelligently handle SI units so the user need not do so. There are other features that should make easy for introductory physics students.

The name of the package can be pronounced as “M&I” and refers to the physics textbook Matter & Interactions.

Bug trackerhttps://github.com/heafnerj/mandi/issues
Version3.2.2 2024-02-27
LicensesThe Project Public License 1.3c
Copyright2021–2024 Paul J. Heafner
MaintainerPaul J. Heafner
Contained inTeX Live as mandi
MiKTeX as mandi
Experimental 3
See alsosiunitx
Guest Book Sitemap Contact Contact Author