3
votes
3answers
47 views

Columns are not the same width in a table

I have the following code for a table, but I can't figure out why 2 columns are wider: \newcolumntype{C}{>{\centering\arraybackslash}p{2em}} \begin{table}[h] \centering ...
3
votes
2answers
152 views

How can I improve the look of my table? (no white space, nice font size, and not going off the end of page)

I just want a nice plot but I try different things and sometimes it goes of the page, or there is white space (like now). I would like adequate spacing between lines and varying font heights. Here ...
5
votes
2answers
148 views

In a table: Problem equalling the width of only three columns

I am writing a thesis in a large .tex file in Vim. As I show in this image, the first, second and third column have different spacing (width): This is the code for the table: \begin{table}[h] ...
7
votes
2answers
85 views

How to achieve same table width with different column numbers

I have to print several tables with distinct number of columns. I'm using lingtable because sometimes these tables contains over 300 rows each. Here's the problem. Even defining a fixed width in cm, ...
0
votes
1answer
1k views

longtabu, column width

having an issue with longtabu and setting columns to a percentage of the table width. I've achieved what i want with tabularx: \documentclass{report} \usepackage{tabularx} \begin{document} ...
0
votes
1answer
137 views

ConTeXt: How to maximize width of column depending on fixed sizes of other columns?

In LaTex, I could do something like: \newcolumntype{C}[1] {>{\centering\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} \newcolumntype{L}[1] ...
2
votes
2answers
185 views

Table with cells of different widths

I'm trying to typeset a Word doc in LaTeX - mainly so that I can get the results I want, rather than Word (or LibreOffice) making my decisions for me. And my current difficulty consists of a few ...
7
votes
2answers
225 views

Why is my tabular wider than the sum of its columns’ widths?

It's simple to create the tabular with columns of fix width, e.g. \begin{tabular}{|p{95mm}|p{95mm}|} \hline a & b \\ \hline b & b \\ \hline c & b \\ \hline \end{tabular} However, the ...
6
votes
1answer
297 views

set width of table column to whatever's left in page width

I have some columns with a very short entries on the first column and a rather long entry on the second column. \begin{ctabular}{\textwidth}{ll} \toprule Name & Recipe\\ \midrule Freezing ...
2
votes
1answer
219 views

How to obtain the width of a column within the APA document class?

I am using the APA document class. My document has some tables: \documentclass[jou]{apa} \usepackage{tabularx} \title{This is the title} \author{This is the author} \begin{document} \maketitle ...
10
votes
3answers
6k views

Tabular with p type columns to fill page width

I wish to be able to have a table (using tabular) that fills the page horizontally with each column using a fraction of that space, for now assume that they are equally sized. I wish to be able to ...
0
votes
1answer
650 views

Creating multiple columns of different width

I'm pretty new to LaTeX and am using it to write an exam. I'm using the geometry package to create two columns. I'd like one column to be 5" and the second column to be 1" with 0.5" separating the ...
6
votes
1answer
6k views

Auto-fit table column widths based on content

Is there any solution in LaTeX tables that implements similar functionality to MSWord's AutoFit?