{columns} is specifically about columns in {tables} (though often the latter tag will suffice). If your question is about {two-column} documents or the {multicol} package, use the respective tag instead.

learn more… | top users | synonyms

76
votes
6answers
79k views

Column and row padding in tables

How do you guys go about controlling column padding in tables? Update To clarify, I'm looking for a way to control both vertical and horizontal padding. So, if I had a simple table like in the ...
51
votes
3answers
3k views

Easiest way to delete a column?

I have a set of 10 tables and each has an extra column that I don't want. Specifically, these tables are descriptions of database tables exported by phpMyAdmin, and they all have a "MIME" column that ...
42
votes
3answers
42k views

Adding space between columns in a table

I notice that the space between each column of a table in LaTeX is not quite wide (at least for me). Is there any way to set this? I found the \hspace, but I don't get how to use this in the table. ...
34
votes
4answers
3k views

What does a double ampersand (&&) mean in LaTeX?

I've seen several answers that use the double ampersand, but I can't figure out exactly what it does. I tried this out: \begin{align*} \frac{3x + y}{7} &= 9 & \text{given} \\ 3x + y ...
24
votes
4answers
25k views

Stable vertical alignment of columns in Beamer

In Beamer, I often use a two-column slide layout, picture on the left and text on the right. Sometimes the same picture is used on multiple slides, with the text on the right changing. I use the ...
24
votes
3answers
654 views

How can I make two columns in two columns

How can I make two columns in two columns same as in the picture?
24
votes
2answers
4k views

Why does vfill not work inside a beamer column?

I recently tried to set up a quartered page layout in beamer (separate question might follow) and \vfill failed in a column environment. Minimal example: \documentclass{beamer} \begin{document} ...
22
votes
1answer
7k views

How to modify columns/column environments so they resize automatically to the largest column ?

This question was originally a duplicate of How can I add vertical space to a beamercolorbox to make it align with another one?. The response to that question was to add a vertical space according to ...
22
votes
1answer
5k views

How to create a matrix with 20 columns in latex

The code below works, but when I add 10 more columns, it does not. So, how can I add ten more columns to the matrix below? \documentclass{article} \usepackage{amsmath} \begin{document} ...
18
votes
2answers
2k views

Beamer: Vertical alignment of multi-column ToC

In my LaTeX beamer presentation I have a long Table of Contents, which has been split across two columns by using the multicol package. The problem is that I have not found any way to control vertical ...
18
votes
1answer
2k views

How to line up blocks in columns with full width blocks in beamer/beamerposter?

This input to pdflatex (whatever version of texlive is on Debian/squeeze) \documentclass{beamer} \usepackage[orientation=portrait,size=a3,scale=0.9]{beamerposter} \usepackage{lipsum} ...
16
votes
3answers
14k views

beamer: Top-aligning columns within a top-aligned frame

According to section 3.10 of the beamer manual, the t option top-aligns either every frame (when used as a class option) or a single frame (when used as optional argument of a frame environment). ...
15
votes
2answers
3k views

How to Continue Enumerate Across Columns in Beamer

I am trying to create two columns of a single enumerated list on a single frame in beamer. How do I go about getting the enumeration to continue from one column to the next?
15
votes
1answer
741 views

How could one setup a layout for a dictionary? (if possible)

A friend asked me if I knew any free software for creating dictionaries - which is good at saving space (reduce total number of pages). Example: I suppose this might be possible in LaTeX. ...
15
votes
2answers
9k views

Separation between columns in beamer

I am trying to create a scientific poster (in a beamer environment) with three columns. It works very well, my only problem is that the separation between the columns is too large and I cannot find a ...
14
votes
1answer
26k 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] ...
13
votes
5answers
1k views

“Foldable” “Booklet” like Toodledo's one (pocketmod)

How to achieve in pdfLaTeX foldable booklets similar to those provided by Toodledo ? (to make question usable to others LuaTex, ConTeX and other systems answers are highly welcome) Note: look, how ...
13
votes
1answer
23k views

Multiple columns with images and wrapped text in Beamer

I need a frame looking like the image below in beamer. The 3rd column will have multirow text with an equation. There are no horizontal lines, neither do I need the boxes around each of the columns. ...
13
votes
3answers
753 views

How to make LaTeX not “Look like Lab Notes” [closed]

I often use LaTeX for general writings, as well as for my Lab and lecture notes. (Often, but not always via LyX). A large portion of this is RPG homebrew. One of my friends (who wouldn't know what ...
13
votes
1answer
7k views

p,m and b columns in tables

I wonder why p columns are aligned at the bottom and b columns aligned at the top? created with this code: \begin{tabular}{|p{0.3\linewidth}|m{0.3\linewidth}|b{0.3\linewidth}|} \hline \centering ...
12
votes
2answers
181 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 ...
12
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 ...
12
votes
3answers
453 views

Define a table one column at a time instead of one row at a time

Is there a way to define a table like so? \begin{tabular}{|c|c|} column 1, row 1 \\ column 1, row 2 \\ column 1, row 3 \\ column 1, row 4 \\ column 1, row 5 \\ && ...
12
votes
2answers
283 views

Column-style bibliography

A problem that's been annoying me for years (http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2008-04/msg01387.html) has been how to create a column'ed bibliography. E.g., take a look at the ...
12
votes
1answer
1k views

How to implicitly specify column width (in a columns-like environment)?

I am using the columns environment in Beamer-documents like this: \begin{columns} \begin{column}{0.8\textwidth} %% \end{column} \begin{column}{0.2\textwidth} %% ...
11
votes
3answers
8k 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 ...
11
votes
1answer
2k views

Two column layout with text and knitr chunk

When making presentations (with latex beamer class), I often go for a frame layout with text and equations on the left and a corresponding figure on the right. My standard solution has been to wrap ...
10
votes
1answer
1k views

Beamer: allowframebreaks collides with columns?

I'm doing a scientific presentation with the beamer package and have two columns (the left one with text, the right one with several images) that are too long for one frame. I want to use ...
9
votes
2answers
695 views

Table: Can I shift a column by half the height of a row?

This question is best explained by giving the usecase: I have a table where I list some data and I would like to add a column to the right which gives the ratio of two adjacent rows. Now to make it ...
9
votes
1answer
643 views

Several \begin{equation} \end{equation} in columns

I have 3 elements of the following form (approx ~20 equations for each one) : \begin{equation} \begin{aligned} % LOTS OF EQUATIONS % \end{aligned} \end{equation} How to put display these 3 elements ...
9
votes
1answer
2k views

Spanning multiple beamer columns

How does one have something (say a figure) span multiple columns when using the beamer columns environment? Nathaniel Johnston's beamer poster template does this by nesting two columns environments, ...
9
votes
1answer
1k views

Independent left and right columns

I'm trying to write something with two columns that spans multiple pages. I want to put one thing in the left side and one in the right side. Is there ``proper'' way of doing this, or should I just ...
8
votes
2answers
7k views

How to create three column document with visible dividers?

I added \threecolumn but it doesn't work. What command will change the document layout to three column format with dividers visible like the following illustration? ---------HEADER--------- ###### | ...
8
votes
3answers
1k views

Two column table, enumerate first column but not second

I need to have a two column table, where the first column contains enumerations and the second take plain text. For example, Column 1 Column 2 1. Step 1 Reason 1 2. Step 2 ...
8
votes
2answers
565 views

smallmatrix with vertical line as column separator, how to do it

Since this \begin{smallmatrix}[cc|cc] ... \end{smallmatrix} is not possible with smallmatrix, I am wondering how can I get a vertical line as column separator in the smallmatrix environment? ...
8
votes
1answer
5k views

How to divide a table row into several columns?

I have a table with two columns. In the first column there is no multiple column. But there are 11 multiple columns in the second column. The format looks like: | A | B ...
8
votes
2answers
378 views

How to check if a column type is defined?

Column types for tables can be defined and overwritten with \newcolumntype. I would like to know if a column type is already defined for an example which shall only be executed in the case where the ...
8
votes
1answer
926 views

listings bug: space after literate replacement lost with spaceflexible/fullflexible columns

Problem with space being lost in listings immediately after a literate replacement when using columns=spaceflexible or columns=fullflexible (appears correctly with columns=flexible). A small example ...
8
votes
1answer
435 views

Subdividing a column in a tabular

I recently had to make a table that came out more or less like this: \begin{tabular}{|l|l|l|} \hline Head 1 & Head 2\\ \hline 1 & \multicolumn{2}{|c|}{A}\\ \hline 2 & ...
7
votes
2answers
250 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 ...
7
votes
1answer
708 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 ...
7
votes
1answer
3k views

Minipage, columns, tabular: differences in applicability?

This \parbox vs. \minipage post helped me to understand the main reasons to use either \parbox or {minipage} for placing material side-by-side ({minipage} is usually the winner). I have a similar ...
7
votes
3answers
4k views

Relative column width in LaTeX

How can I define a tabular with two columns in LaTeX, where the first column fills 30% of the page width and the second column fills the rest?
7
votes
1answer
348 views

Can I set the format of an entire column except for the header?

I would like to italicize all of the names in the second column of a table, but presently the only way I have found to do this is to use \textit{} in each cell, i.e.: \begin{table} ...
7
votes
2answers
3k views

tabular columns too wide

I want to fit the following table on a beamer slide. \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|} A & B & C & D & E & F & G & H & I & J ...
7
votes
2answers
113 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, ...
7
votes
1answer
7k views

Beamerposter… Columns not all aligned at top

I'm making a poster using the beamerposter package, and for some reason am having a devil of a time getting the top of the columns to all line up together. Here's a picture of what I'm talking about. ...
7
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?
7
votes
2answers
511 views

Large table (ca. 30 columns) covering one or several double pages?

For the appendix of my Ph. D. thesis I need to typeset some very big tables containing raw data. They have about 30 columns and might have enough lines to not fit vertically on one (double)page. Is ...
7
votes
1answer
243 views

Template for a talk with a column to hold abridged content

I'm looking for either a template (or some pointers to generate one) for using to give talks. What I'm looking for is something that will allow a column for the 'full' talk, and then a second for ...