Autowrapping text and setting cell sizes in LaTeX tables

  • Topic: LaTeX 
  • Thread starter Thread starter neurocomp2003
  • Start date Start date
  • Tags Tags
    Latex
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 42K views
neurocomp2003
Messages
1,359
Reaction score
4
Hi,
wasn't sure where to put this.

[1] how do you autowrap text(paragraphs) in a LaTeX tables without using
multicol/multirow?
[2] how do you set relative/absolute sizes for table cells in LaTeX like you would in MS Word?

Thanks
 
Physics news on Phys.org
Short answer: Use p{\widthspec} as a column specifier (the arguments to \begin{tabular}).

Long answer: See section 7 ("Rows and Columns") of the LaTeX tutorial, http://www.eng.cam.ac.uk/help/tpl/textprocessing/ltxprimer-1.0.pdf . It describes LaTeX tables in detail with examples.
 
Last edited by a moderator: