My table is too wide and is out of page on the right, I tried to use tabularx, but I had the same problem. when I use this command \resizebox{\textwidth}{!}{} it fix it but it look small before command \resizebox{\textwidth}{!}{}
after command \resizebox{\textwidth}{!}{}

the code
\begin{table}[H]
\centering
\caption{Differences between the IGA and FEA.
\label{tabLabel}}
\resizebox{\textwidth}{!}
{
\begin{tabular}{lll}
\hline Feature & Finite element analysis & Isogeometric analysis \\
\hline Geometry & Not available & Represented by control points \\
Mesh & Defined by nodal points & Defined by knot spans \\
Mesh & Approximates geometry & Represents exact geometry \\
Solution & Defined by nodal variables & Defined by control variables \\
Basis & Formed by polynomials & Formed by NURBS functions \\
Basis & Interpolates nodal points and variables & Does not interpolate control points and variables \\
Basis & Satisfies Kronecker delta property & Does not satisfy Kronecker delta property \\
Basis support & Over a patch of elements sharing a common node & Over a rectangular array of knot spans size of which depends on continuity of the basis \\
Dirichlet BC & Straightforward & Approximated within NURBS space \\
\hline
\end{tabular}
}
\end{table}



tabularxwould help, but you also need to useX-column type. See, e.g. the example in section 2 of thetabularxmanual. – cabohah Mar 26 '24 at 09:21\resizeboxwith tables but a smaller font as\footnotesizebefore the tabular (2) Never fix absolutely positions with[H]and use(table \ref{tabLabel})in text. (3) You should we aware of the effect of change the widelcolumns with some likep{0.2\linewidth}orp{5cm}, and (4)See also the packagetabularythat is similar to tabularx but allow to useL(uppercase) columns. – Fran Mar 26 '24 at 09:30