| 1 |
Align explanation for formulas in LaTeX |
| 2 |
======== |
| 3 |
|
| 4 |
The package is licenced under Creative Commons Attribution-ShareAlike |
| 5 |
4.0 International (CC BY-SA 4.0). |
| 6 |
|
| 7 |
The package was developed as an answer to the question on [tex.stackexchange.com](https://tex.stackexchange.com/q/95838/119485) |
| 8 |
|
| 9 |
The package `eqexpl` was developed to give the tool to make «perfect» |
| 10 |
explanation for formulas, not just the enumeration. |
| 11 |
|
| 12 |
I = U / Rs, (1) |
| 13 |
|
| 14 |
where U --- voltage at the section, V; |
| 15 |
Rs --- total section resis- |
| 16 |
tance, Ohm. |
| 17 |
|
| 18 |
Requirements: |
| 19 |
1. The variables (left side) must be aligned right. |
| 20 |
2. The dash must be aligned center one under another. |
| 21 |
3. The explanation (right side) must be justified, the last string |
| 22 |
must be aligned left and |
| 23 |
- if the explanation takes more than one line, the left side of |
| 24 |
explanation must be aligned (second explanation in the example). |
| 25 |
|
| 26 |
The package adds new environment `eqexpl` with a command `\item` with |
| 27 |
one required parameter --- variable to explain. The explanation in |
| 28 |
the example above was made with the code |
| 29 |
|
| 30 |
\begin{eqexpl} |
| 31 |
\item{U} voltage at the section, V; |
| 32 |
\item{Rs} total section resistance, Ohm. |
| 33 |
\end{exqexpl} |
| 34 |
|
| 35 |
See example `eqexpl.tex` for more details. You can compile it with |
| 36 |
`pdflatex eqexpl.tex`. |