2
votes
3answers
33 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 ...
1
vote
1answer
43 views

Inserting single character in only one column

I just want to know how to insert a single character like $ in only one column of a table. To be precise I don't want that character in my heading, but in all other data rows of the corresponding ...
2
votes
1answer
31 views

Centering table header with \multicolumn and intercolumn space

A previous answer directs that, when using \multicolumn in a tabular, subsequent intercolumn space added in the tabular column spec should be repeated in the \multicolumn column spec. However, this ...
3
votes
2answers
143 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 ...
2
votes
3answers
61 views

Two column list with

How can I make a list of two columns with a border and a vertical line separating the two columns as an image? I've tried with tabular and mini page but nothing works properly! Can someone show me how ...
5
votes
2answers
143 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] ...
3
votes
1answer
67 views

Plain TeX Paragraphs in Tables

I want a small amount of information to be placed in columns. The problem is that the information contains paragraphs. Basically this is what I want: Column 1 Line 1 Column 2 Line 1 Column 3 Line ...
5
votes
3answers
110 views

center values in table in latex

I have a problem in the table I created using latex. The problem is that the values in the columns are not centered correctly. THe values with a minus sign in front just are further right than the ...
4
votes
2answers
109 views

Showing two listings in a table side-by-side [duplicate]

I wonder is there any possibility to show two different listings in one table side by side? Here is my code that only show one listening but how can I embed it in a table and another one? EDIT: Even ...
1
vote
1answer
71 views

How can I automatically use typewriter font for one column of a tabular?

I'm trying to create a table where everything in one column is in typewriter font. In other words, it should perform like this: \begin{tabular} {| l | p{5cm} |} \hline \multicolumn{2}{|l|}{Sample ...
2
votes
2answers
60 views

Symbols in between table columns

I needed to add some symbols in between two columns in tabular. The figure below is the output needed. I do not know how to achieve this. Googling gave me this question where the OP wanted ...
3
votes
2answers
121 views

How to have columns of different sizes using tabularx and make table respect page height?

I am using Kile and I am trying to learn how to use tabularx to have tables that fit within the width of my pages. However, I have two big problems: I have to use X for column size and therefore ...
3
votes
3answers
91 views

How to resize font size of a column in a table? [duplicate]

I have this kind of table where I would like to make the titles in normal size and all stuff under them in smaller font. How can I do it easily without copy-pasting \scalebox{0.7}{...}? Code ...
5
votes
2answers
62 views

Table headers colliding with table title

I have a table that has some vertical column headers, but they keep colliding with the table title. I've tried making the top row taller but that did not help the solution, simply moved all the text ...
3
votes
2answers
106 views

How to create table with inner columns inside larger columns?

I want to create this kind of table with 3 large columns and at one point the column is divided to two smaller columns. Please note that the column not divided in the whole space. How can create the ...
0
votes
1answer
128 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] ...
4
votes
1answer
91 views

Issues With Tabular And Left-Side Spacing

I'm having an issue where my "Course Work" section, which is tabular, is offset by a space or two - whereas ever other section lines up perfectly. I've read up on the tabular environment but could ...
6
votes
2answers
217 views

color a column red in a table

When I try to color a column red, it seems that white lines begin to emerge. Additionally the \hline changes width depending on how you zoom into the document in pdf format. It look as if the color ...
0
votes
1answer
277 views

Column Spacing using esttab & longtable

I am outputting regression results from Stata to Latex. The problem is that, no matter how many columns I have, the spacing between the last column and the rest of the table is wider than other ...
1
vote
1answer
69 views

How to add more columns to one row relative to other rows in a table?

I just simply add a row with more columns compared to other rows. I learned that there is \multicolumn command to span the columns but in my case if I use this command I need to repeat it so much time ...
3
votes
1answer
556 views

How to create a new column type with top alignment

I am trying to create a table which has wrapped text and the text in each cell is ragged right and top aligned. As you can see in the following image I'm not getting the top alignment. Here is my ...
3
votes
2answers
109 views

\mathbf ignored in table column specification

I have a long table whose columns are to be typeset in math-mode and bold. To avoid repeating \(\mathbf{cell value}\) for each row, I defined in a column specification how each cell under it was to be ...
4
votes
1answer
819 views

Dealing with very long table - split into columns?

I've got a very long table in a document that I'm not sure how to deal with. I've been thinking about putting it in the appendix of my document (I'd have to create one just for the table). It's too ...
5
votes
1answer
111 views

Making one column which is too wide for a page in two pages

I am writing a book using latex, with pages of tables to make the horizontal and vertical alignment of the text and equations strict and precise. However there is a column (on every page) which is too ...
2
votes
2answers
174 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 ...
5
votes
1answer
226 views

Create Table for a Family of Curves

Following the issue Color Management with a Family of Curves I couldn't find a proper way of creating the associated table for a family of curves. I tried to create new columns with respect to the ...
3
votes
1answer
644 views

How to change the font size only in one column of a table/tabular?

Is there any way to reduce the font size in a table/tabular but only in one of its columns without repeating the size command in each cell of that column? Thanks.
0
votes
1answer
105 views

Column-wide formatting changes with tabular [duplicate]

I must be doing something wrong, but I follow the example precisely (as precisely as someone could reasonably guarantee) and LaTeX yet refuses to compile the document: ERROR: LaTeX Error: Illegal ...
3
votes
1answer
57 views

Why is the final column of this table running off the page?

\begin{document} \begin{exe} \ex \begin{tabular}{ l l l } & + -naqa (diffuse) & + -nuqa (placer) \\ \hline alli- `dig' & `knock over or destroy, to throw something to the floor' & ...
7
votes
2answers
221 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 ...
1
vote
1answer
183 views

Two columns of equations, aligned and just one number per column

I'm writing a two-column document, and I want to display two sets of large equations floating at the top. Each equation set should be aligned within the same column, and only the two top equations ...
7
votes
1answer
571 views

How to create a table with merged columns and rows, and wrapped text, like in MS Word?

The above can easily be created in MS word, but how can I create something like this in latex? Basically changing the columns for specific cells, merging a bunch of cells together, wrapping text in ...
5
votes
1answer
147 views

Set the width of every columns of a table in ConTeXt

Sometimes, I need such a table whose column widths should be equal with each other. Here is an example: Name Email John john1989@gmail.com Bill bill1990@outlook.com Tim ...
4
votes
1answer
133 views

Building chemical “ICE” tables with tabular environment

I am starting to write my chemistry lab reports out in LaTeX, but keep getting stuck on the "ICE" tables (see the LaTeX example below). I can't figure out how to get the + and \rightleftharpoons in ...
6
votes
1answer
216 views

ctable and siunitx: Last column does not center correctly (possible incompatibility?)

I would like to use ctable in my thesis for tables and graphics and I also would like to use siunitx for formatting numbers and aligning numbers on the decimal marker in tables. Everything seemed to ...
3
votes
1answer
230 views

Definition/explantion of tabular column types

In a question I recently asked (How to make table with rotated table headers in LaTeX) the accepted answer used some features of tabular column types that I was not familiar with, e.g., ...
6
votes
1answer
271 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 ...
10
votes
1answer
16k views

Page-wide table in two-column mode

I want a table that is as wide as the whole page in a document with option twocolumn. The table has to be inserted on the bottom of the page, but that is not necessary. I've tried: \begin{table*}[b] ...
6
votes
1answer
799 views

Align siunitx columns in numbers table

Here is a table but it has a problem: the column of 1, 20, 50, and 100 aren't perfectly aligned to others. How can I do that? MWE \documentclass{article} \usepackage{siunitx,booktabs,multirow} ...
5
votes
1answer
72 views

How do I forward a length from a command into a column specifier?

I'm using longtable where I want vertical bars separating cells, although not for the table headers. I have 8 columns (but show only 3 here as example) and want to re-use the same lengths on the main ...
5
votes
1answer
259 views

Delete column line in tabular

I have the following table, but I want to delete the two vertical lines in the GBM and MJD row: \documentclass{beamer} \usepackage{booktabs} \begin{document} \frame{ \frametitle{Test} ...
5
votes
4answers
192 views

Why can I not vertically align the text in the 3rd table column?

I'm trying to make a table which lists some math functions. I've been searching the net on how to center the equations in the cells both vertically and horizontally. And I think I've found an answer ...
3
votes
1answer
252 views

Pgfplotstable adding a growth column without column names and then offsetting it

I'm trying to create a new column in a pgfsplotstable which shows the compound growth over the preceding columns. The columns don't have names, and I want to shift the column a little to the right to ...
12
votes
2answers
163 views

Uppercase column in tabular

I need one column of my table to be uppercased. My code which does not work as I want: \documentclass{article} \usepackage{array} \begin{document} \begin{tabular}{c>{\MakeUppercase}c} a ...
4
votes
1answer
4k views

How to divide a single table cell in two columns? [duplicate]

Possible Duplicate: How to divide a table row into several columns? I want to make a table. This is my code \documentclass{article} \usepackage{multirow} \begin{document} ...
4
votes
2answers
3k views

LyX table new line

While inside a table, it seems impossible to use Ctrl+Enter in order to start a new line in the same column. So if I have, for example, a column name "veni, vidi, vici" and I don't want it to be so ...
3
votes
1answer
114 views

Change part of table column size

I would like to know if there is a way, that I can resize part of a column, while keeping the rest the same size. Such that I would get this: Column ___| ___| ___| _______| _______| _______| I ...
4
votes
1answer
580 views

multi-page two column table in a single column document

I have looked through and tried quite a few probable solutions but am unable to get this right. I am posting the best minimal example I currently have of what I am trying to accomplish here. Being ...
4
votes
2answers
2k views

Tabularx can't center some column

I'm trying to create a timetable using tabularx environment, but i can't find a way to center all columns. Using this code: \documentclass[11pt,oneside, landscape]{article} ...
11
votes
2answers
2k views

Misplaced \omit. \multispan with \newcommand

I'm trying to build my own cookbook-style, which has an ingredient makro. Sometimes the ingredients should be seperated and have a headline, so I tryed with an optional argument. A minumum example ...