How to set table width in LaTeX?
Use pwidth column specifier: e.g. \begintabular l p10cm will put column's content into 10cm-wide parbox, and the text will be properly broken to several lines, like in normal paragraph. You can also use tabular* environment to specify width for the entire table.
How do I change the width of a table in overleaf?
To use it, add the line \usepackagetabularx to the document preamble. Notice that the environment opening statement is different, in the example the table width is set to 0.8\textwidth , which is 80% of the document's text width. You can use any of the LaTeX units to set that value.