# Directory `macros/latex/contrib/eqexpl`

# Align explanation for formulas in LaTeX

The package is licenced under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).

The package was developed as an answer to the question on tex.stackexchange.com

The package `eqexpl`

was developed to give the tool to make «perfect» explanation for formulas, not just the enumeration.

I = U / Rs, (1)

where U --- voltage at the section, V; Rs --- total section resis- tance, Ohm.

Requirements:

- The variables (left side) must be aligned right.
- The dash must be aligned center one under another.
- The explanation (right side) must be justified, the last string must be aligned left and
- if the explanation takes more than one line, the left side of explanation must be aligned (second explanation in the example).

The package adds new environment `eqexpl`

with a command `\item`

with one required parameter — variable to explain. The explanation in the example above was made with the code

\begin{eqexpl} \item{U} voltage at the section, V; \item{Rs} total section resistance, Ohm. \end{exqexpl}

See example `eqexpl.tex`

for more details. You can compile it with `pdflatex eqexpl.tex`

.

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

## eqexpl – Align explanations for formulas

This package was developed in response to a question on https://tex.stackexchange.com. Its purpose is to enable a perfectly formatted explanation of components of a formula.

The package depends on calc, etoolbox, and xparse.

Package | eqexpl |

Bug tracker | https://github.com/konstantin-morenko/latex-equation-explanation/issues |

Repository | https://github.com/konstantin-morenko/latex-equation-explanation |

Version | 1.1 |

Licenses | CC BY-SA 4.0 |

Maintainer | Konstantin Morenko |

Contained in | TeX Live as eqexpl MiKTeX as eqexpl |

Topics | Maths Alignment |

See also | nomencl |