I make a table, 2*2,
\begin{center}
\begin{table}[H]
\centering
\begin{tabular}{|c|c|} \hline
$F=ax$ & \nabla F =a $ \\ \hline
$G=a+b\\ K=a+c$ & $ H=c+d$
\end{tabular}
\end{table}
\end{center}
The above code generates mistakes.
In 2*1 block I want a 2 line equation. So I try \align
,\equation
and so on. For example,
\begin{center}
\begin{table}[H]
\centering
\begin{tabular}{|c|c|} \hline
$F=ax$ & \nabla F =a $ \\ \hline
\begin{align*}G&=a+b\\ K&=a+c\end{align*} & $ H=c+d$
\end{tabular}
\end{table}
\end{center}
But this makes mistake too. So I have to use $$
, but I do not know how to write two equation in $$
.
Thank you. I am looking forward to your answer.
By the way, even this makes mistakes.
\begin{center}
\begin{table}[H]
\centering
\begin{tabular}{|c|c|} \hline
$F=ax$ & \nabla F =a $ \\ \hline
\begin{equation*}G=a+b \end{equation*} & $ H=c+d$
\end{tabular}
\end{table}
\end{center}