I want to type two independent equations, one below another, and the second one having an aligned iff chain. I've coded the following:
\documentclass{article}
\usepackage[portuguese]{babel}
\usepackage{commath}
\begin{document}
\def\,{{,}}
\begin{tabular}{l}
$1+q_{12}+6=15 \iff q_{12} = 8$; \\
$\begin{aligned}
q_{12} + q_{22} + 9= 15 & \iff 8+q_{22} + 9= 15\\
& \iff q_{22} = -2
\end{aligned}$
\end{tabular}
\end{document}
The result is what I wanted, except for a comma that was automatically inserted in the middle of the equations.
tabular
is maths, consider usingarray
instead.align*
for this group of equations?tabular
is not the right environment for a math display, but that would not produce the comma)