I have a displaymath environment and an align* environment I would like to display next to each other. My idea was to wrap them in a tabular environment:
\begin{tabular}{c c}
\[
%math stuff here
\]
&
\begin{align*}
%laign stuff here
\end{align*}
\end{tabular}
Both environments work fine on their own, but as soon as I add in tabular, the following error starts coming up (repeatedly):
Missing $ inserted.
I've also tried the multicol environment as suggested in How to place a program and a text side by side?, but that just led to an error like the following:
Overfull \vbox blah blah blah
repeat like 20 times.
I am not able to get past this point. How can I get a displaymath environment and an align* environment to be side by side?
\\[0.3em]at the end of rows inalign*. – knpwrs Dec 04 '11 at 09:27align*in the first one, butalignedwithindisplaymath. Using\\[0.3em]works fine here. – Torbjørn T. Dec 04 '11 at 09:30align*version, to show the OP that it could be used too, if the&foralignis hidden fromtabular. – Stefan Kottwitz Dec 04 '11 at 09:38