Using tocloft to add the List of Equations usually requires following each equation with a tag such as \myequation{Display name}. To avoid having to add this for all of our equations, I did the following:
Code: Select all
% redefine equation to automatically include our \myequations tag
\let\oldequation = \equation
\let\endoldequation = \endequation
\renewenvironment{equation}{
\begin{oldequation}
}{
\end{oldequation}
\myequations{\@currentlabelname}
}
Code: Select all
\usepackage{tocloft}
\newcommand{\listequationsname}{List of Equations}
\newlistof{myequations}{equ}{\listequationsname}
% myequation takes in its display name
\newcommand{\myequations}[1]{
% display name is printed
\addcontentsline{equ}{myequations}{\protect\numberline{\theequation}#1}\par}
- Each \equations displayed name in the List of Equations is not its own \label (eg. Torque) but instead is the name of the \subsection in which it appears (such that dozens of equations have the name "Brushless Motor Fundamentals", etc.
- Equations 2.1 - 2.9 display correctly in the List of Equations but after the equation number hits 2.10 the second digit overlaps with the display name.
Code: Select all
\begin{equation}
\tau=F\times r
\label{eq:Torque}
\end{equation}