# Footnote of multiple lines: alignment of equations

I'm trying to create a footnote with multiple (3) lines with an equation in each line. I would like it look something like this:

Text¹
--------------------
¹ Footnotetext A=B
and C=D
but E \neq F


I already tried out the footmisc package (maybe not good enough) and played around with the approaches in: Layout of multiple lines footnotes and Footnote indentation 1.25cm of multiple lines footnotes.

• Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – CarLaTeX Jun 21 '17 at 11:44

A TABstack can help, since its width is not a complete line, but only the content width. To make the text flow properly, the row 1 entry for column 1 has to be wider than the other column-1 entries.

\documentclass{article}
\usepackage{tabstackengine,amsmath,lipsum}
\TABstackMath
\textheight2.5in% FOR THIS MWE ONLY
\strutlongstacks{T}
\begin{document}
Here is a reference%
\footnote{
Footnote with \alignLongunderstack{%
\text{enough text} && A=&B\\ \text{and} && CC =& D\\ \text{but not} && E\neq& F}
}
and here is another%
\footnote{\lipsum[1]}
\end{document}


• tabstackengine is really universal LaTeX tool :) (+1) – Zarko Jun 21 '17 at 11:37