I am writing an deduction rule, and I want to break a long formula into multiple lines. I am using inferrule macro from mathpartir package to write the deduction rule. And my formula is like
\documentclass{article}
\usepackage{mathpartir}
\begin{document}
$$
\inferrule*{
\psi(aaa)
}{
\psi(xxx\land yyy\land zzz)
}
$$
\end{document}
But the real formula is longer, so I want to break it into multiple lines and I am using aligned environment.
\documentclass{article}
\usepackage{mathpartir}
\begin{document}
$$
\inferrule*{
\psi(aaa)
}{
\psi(\begin{aligned}xxx\\\land yyy\\\land zzz\end{aligned})
}
$$
\end{document}
Then the compilation fails. I guess the problem is that inferrule redefined \\ so aligned does work. How can I make it work?
MWEas in executable format.. – MadyYuvi Dec 05 '19 at 06:08