I'm new to Latex and struggling with adjusting the widths of a few columns in a Table. From the table attached here, I just need columns 2 & 4 to be reduced so that column 5 can be enlarged.

Here is the code I'm using:


\begin{adjustbox}{max width=1.0\textwidth}



caption{Variables used and their practical applications. Program placement and best uses of each described throughout the text.}

\begin{tabular}{M M M M M}\toprule

\multicolumn{1}{M}{Metric} & \multicolumn{1}{M}{Test} &

\multicolumn{1}{M}{Definition} &

\multicolumn{1}{M}{Unit} & \multicolumn{1}{M}{Practical Application} \\


Any help or tips to show I'm going wrong is appreciated. I've tried using M{} with a set width or relative but still nothing....

Thank youenter image description here

  • 2
    use l not M for columns 2,4 so they are set their natural width – David Carlisle May 20 at 11:13
  • Where is your header ;) – MattAllegro May 20 at 11:17
  • 2
    note you can mark code blocks on this site using the {} button or with three backticks as I just did. It really helps if you always provide a complete test document not a fragment, so that people can test answers (and know how big your page is, for example). It is commented out which is good but never apply \resizebox to tables, it makes inconsistent font and rule sizes. But same applies to \begin{adjustbox}{max width=1.0\textwidth} – David Carlisle May 20 at 11:23
  • \begin{tabularx}{\textwidth}{XlXlXl} or something similar might help. – leandriis May 20 at 12:08
  • To save some horizontal space and in order to reduce the overall amount of unused white space in the table, you could also just use teh abbreviated form in the first column. You could add a list of the long and the abbreviated in a tablenote below the actual table. – leandriis May 20 at 12:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.