AnswerBun.com

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

Add your own answers!

Related Questions

Trouble with xcoffins in TL2020

1  Asked on December 14, 2020 by cfr

       

Width of Algorithm

1  Asked on December 14, 2020 by mark-tucker

     

table of contents function not working

0  Asked on December 14, 2020 by katherine-bettencourt

   

How to reduce the number of hyphenation?

4  Asked on December 14, 2020 by pythonee

   

Error changing font in equation

1  Asked on December 14, 2020 by philo

 

Wrapfigure is not producing figure

3  Asked on December 14, 2020 by prashant-sharma

   

Problem with standalone in Overleaf

0  Asked on December 14, 2020 by question

   

How to enlarge figures to take maximum available space?

2  Asked on December 14, 2020 by shaoni-nandi

         

Drawing a particular commutative diagram

5  Asked on December 14, 2020 by yurnero

     

Multiple DeclareSourcemap rules

1  Asked on December 14, 2020 by su3

   

Table spills out of the page margin

2  Asked on December 14, 2020 by 1049

   

pgfplots plotting an expression which has a jump

1  Asked on December 14, 2020 by ananaskirsche

 

How to fix the width of the table?

2  Asked on December 13, 2020 by byoungdoo-kong

       

“Sec.” instead of “Chap.” with bibtex

2  Asked on December 13, 2020 by andreapaco

     

Changing margins for only 1 page destroys format

1  Asked on December 13, 2020 by kong

     

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP