{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

54
votes
6answers
45k 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 this ...
42
votes
2answers
2k 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 ...
33
votes
4answers
2k 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 ...
29
votes
3answers
30k 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. ...
23
votes
4answers
21k 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 ...
21
votes
1answer
6k 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 ...
20
votes
3answers
495 views

How can I make two columns in two columns

How can I make two columns in two columns same as in the picture?
19
votes
2answers
3k 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} ...
16
votes
1answer
2k 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} ...
16
votes
1answer
1k 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} ...
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
655 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. ...
14
votes
2answers
995 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 ...
13
votes
3answers
521 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
2answers
10k views

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

According to p. 25 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). According ...
12
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 ...
12
votes
2answers
154 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
261 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
635 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
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 ...
11
votes
3answers
434 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 \\ && ...
11
votes
2answers
7k 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 ...
10
votes
1answer
11k 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] ...
10
votes
1answer
5k 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 ...
10
votes
1answer
869 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 ...
9
votes
2answers
5k 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 ...
9
votes
1answer
470 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
918 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 ...
9
votes
1answer
758 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 ...
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
507 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 ...
8
votes
2answers
357 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
4k 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
330 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
324 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
1answer
13k 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. ...
7
votes
1answer
464 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
2answers
2k 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
1answer
729 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 ...
7
votes
1answer
5k 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
2answers
459 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
234 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 ...
7
votes
1answer
696 views

Alignment within enumerate

I'm looking for a way to sort of combine the features of enumerate (and other list-like environments) with features of tabular environments. Specifically, what I like about enumerate is that it ...
6
votes
2answers
171 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 ...
6
votes
2answers
5k 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--------- ###### | ...
6
votes
2answers
201 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
2answers
1k views

How can I stop \footcite from hijacking my beamer columns?

I have prepared a beamer presentation for a seminar. I already have presented, but in trying to change traditionally-cited references (with a number superscript and the reference typesetted at the end ...
6
votes
1answer
672 views

Multiple Choices Questions in 2 or 3 columns

The following code gives a way to produce Multiple Choices Questions. This solution comes from here. I would like to have the possibility to display the choices in 2 or 3 columns by giving one ...