I am trying to fit a wide table in my document. I am using the tabularx option for the table. Could someone help me out on how I can fit this wide table.
The code for my table is
\begin{table}[H]
\caption{Work Roll Dimensions \cite{drawingarchive}}
\label{tab:workrolldimension}
\begin{tabularx}{500pt}{|l|l|l|l|l|l|l|l|l|l|}
\hline
\textbf{\begin{tabular}[c]{@{}l@{}}Stand \ No.\end{tabular}} & \textbf{\begin{tabular}[c]{@{}l@{}}Groove \ Shape\end{tabular}} & \multicolumn{1}{c|}{\textbf{\begin{tabular}[c]{@{}c@{}}Height\ (Depth)\ Hg\ mm\end{tabular}}} & \multicolumn{1}{c|}{\textbf{\begin{tabular}[c]{@{}c@{}}Groove \ Angle\ ag\ °\end{tabular}}} & \multicolumn{1}{c|}{\textbf{\begin{tabular}[c]{@{}c@{}}Relief \ Radius\ R0\ mm\end{tabular}}} & \multicolumn{1}{c|}{\textbf{\begin{tabular}[c]{@{}c@{}}Bottom\ Radius\ R1\ mm\end{tabular}}} & \multicolumn{1}{c|}{\textbf{\begin{tabular}[c]{@{}c@{}}Bottom\ Radius \ R2\ mm\end{tabular}}} & \multicolumn{1}{c|}{\textbf{\begin{tabular}[c]{@{}c@{}}Width \ at \ collar\ Wg\ mm\end{tabular}}} & \multicolumn{1}{c|}{\textbf{\begin{tabular}[c]{@{}c@{}}Top \ Width \ Wt\ mm\end{tabular}}} &
\multicolumn{1}{c|}
{\textbf{\begin{tabular}[c]{@{}c@{}}Roll\ Dia\ D\ mm\end{tabular}}}\ \hline
0 & Box & 35 & 16.5 & 10 & 20 & - & 154.09 & 133.35 & 560\ \hline
1 & Box Oval & 40 & 19.5 & 10 & 20 & 180 & 108.51 & 85.45 & 530\ \hline
2 & Oval & 28.5 & - & 10 & 130 & - & - & - & 505\ \hline
3 & Round & 33 & 60 & 8 & 41 & - & 85.45 & - & 460\ \hline
4 & Oval & 21.426 & - & 10 & 71.554 & - & - & - & 460\ \hline
\end{tabularx}
\end{table}
I need to make sure that the table is fitted within the margin line at the top of the page.
I look forward to your support.
Thanks in advance


\begin{tabularx}{500pt}{|l|l|l|l|l|l|l|l|l|l|}tabularxalways needs at least oneXcolumn, otherwise it can do nothing useful. – David Carlisle Apr 25 '22 at 11:48tabularnottabularxso the table is natural width, then you could use\smallor whatever size is needed to make it fit, otherwise see the answers to https://tex.stackexchange.com/questions/332902/my-table-doesnt-fit-what-are-my-options – David Carlisle Apr 25 '22 at 11:54