How can I enlarge the space between the horizontal line and the equation
\begin{table}[H]
\centering
\begin{center}
\begin{equation}
\begin{tabular}{|c|}
\hline
$
\begin{aligned}
\sum_n \frac{1}{a+n^2}=A(a)\\
\end{aligned}
$
\\ [0.1ex]
\hline
\end{tabular}
\end{equation}
\end{center}
\end{table}
Best Answer
There are several things that you should remove.
table
is useless here;center
adds unwanted vertical space;The
equation
environment already centers its contents and leaves some vertical space. You don't need more and\boxed
is your friend here.You might want to make your own version of
\boxed
where you can specify a different padding.