答案1
在数学模式中使用两个array
环境:
\documentclass{article}
\begin{document}
\[
\begin{array}{lll}
r1 & = & 12\\
r2 & = & 34\\
r3 & = & r1+r2
\end{array}
\Leftrightarrow
\begin{array}{lll}
r3 & = & 12\\
r2 & = & 34\\
r2 & = & r3+r1
\end{array}
\]
\end{document}
在文本模式下,tabular
在 $\Leftrightarrow$ 的两侧使用:
\documentclass{article}
\begin{document}
\begin{tabular}{lll}
r1 & = & 12\\
r2 & = & 34\\
r3 & = & r1+r2
\end{tabular}
$\Leftrightarrow$
\begin{tabular}{lll}
r3 & = & 12\\
r2 & = & 34\\
r2 & = & r3+r1
\end{tabular}
\end{document}
对于纯文本来说两个就足够了minipage
:
\documentclass{article}
\begin{document}
\begin{minipage}{3cm}
Some text come here in a minipage
\end{minipage}
$\Leftrightarrow$
\begin{minipage}{3cm}
More dummy text to see the minipage
\end{minipage}
\end{document}