# Changing widths of specific columns in my long table

TeX - LaTeX Asked on January 5, 2022

I’m dealing with a large table in my thesis.

I currently have four columns in my table, with small numbers in the 1st and 4th columns and long(ish) text in columns 2 and 3. Therefore I want columns 1 and 4 to be narrower than 2 and 4.

I have referred to the tabularx (I’ve been told it is also applicable to xltabular) documentation where it says:

{>{hsize=.5hsizelinewidth=hsize}X
>{hsize=1.5hsizelinewidth=hsize}X}


to change the X column sizes, but how would I do this for four columns?

My current table uses the following:

begin{xltabular}{linewidth}{XXXX}

hline
thead{Approx. \ Raman shift\ $(cm^{-1})$} & textbf{Assignment} & thead{What does this \ mean for bone?} & textbf{References} \ hline

*Main body of table*
end{xltabular}


I have referred to Table layout with tabularx (column widths: 50%|25%|25%), but it didn’t help.

Many thanks

## Related Questions

### Line breaks for items while wrapping images with a list

1  Asked on December 11, 2020

### How to make subfigure letter (a, b, c, …) colorful in the text as referenced figures?

1  Asked on December 11, 2020

### Embedding sound file won’t play when converted to PDF (Adobe Acrobat Reader DC)

0  Asked on December 11, 2020 by jannikdotcom

### How can label an edge of a tree which was manually added?

1  Asked on December 11, 2020 by ang

### How to add this math symbol “^” in my .cwl?

0  Asked on December 11, 2020 by fotis-k

### Why is there a missing piece of line on the table?

3  Asked on December 11, 2020

### tikz-cd arrow between arrows is asymmetric (too short in one direction)

1  Asked on December 11, 2020 by varkor

### The vertical space before the chapter title becomes increased after updating from MikTeX 2.9 to 20.6

0  Asked on December 11, 2020

### How to insert footnotes in revtex4-1 latex layout

1  Asked on December 11, 2020 by ptheguy

### Latex Metropolis package – Default color for background of slides

1  Asked on December 11, 2020

### acro package only printing long forms (if forced, can print short forms)

1  Asked on December 11, 2020 by bfalk

### Listings: skip line number ONLY where command is defined

1  Asked on December 11, 2020 by srsr333

1  Asked on December 11, 2020

### connected set in the complex plane

0  Asked on December 11, 2020 by julian-gonzalez

### Missing number, treated as zero & Color stack action is missing. & Undefined control sequence

0  Asked on December 11, 2020 by jou

### Stacked boxes in beamer (or more generally LaTeX)

1  Asked on December 11, 2020 by modulato

### Autoref and hyperref colors customization

1  Asked on December 11, 2020 by abdelhak-elfengour

### Math font Helvetica non-italic

4  Asked on December 11, 2020 by laura-mugica

### How to Get rid of “Chapter N” without ruin the fontsize, and Remove the numbering “N title chapter” on the TOC

1  Asked on December 11, 2020

### Beamer – split frame into two columns and adjust itemize environment

2  Asked on December 11, 2020 by rbaleksandar