{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

4
votes
1answer
1k 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.
4
votes
1answer
697 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
1answer
3k views

Table with multiple merging

Most of the places, examples for merging of cells in tables are given. But, I could not find a merging of cells in complicated fashion as shown below. This question may summarize all the possible ...
4
votes
3answers
935 views

Extra line of vertical separator using itemize in tabular

I'm creating a resume based off of the example tutorial HERE. It's fairly simple, actually -- just a two columned table with dates on the left and job on the right. I prefer bullets vs. a paragraph ...
4
votes
2answers
71 views

Breaking up text in a column

When the contents of a column are too long to fit on a single line, how can I have TeX break up the contents across multiple lines if the column has a variable width (such as column 2 in the example ...
4
votes
1answer
35 views

Unequal spacing of columns in xymatrix

Hello I have the following diagram in \xymatrix \xymatrix@R=2pt{A \ar[r] & B \ar[r] & C & D\\ E \ar[ur] & F \ar[r] & & D} Is there a way to reduce the gap between the ...
4
votes
2answers
213 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 ...
4
votes
1answer
107 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 ...
4
votes
2answers
291 views

Two column-wide figure in 4 column enviroment

I have poster with 4 columns. I want to place figure in the middle of poster, that should be only 2 columns wide. I am using the a0poster package. So I have something like this: \begin{document} ...
4
votes
1answer
2k views

Two-column itemization with title in each column

I'd like to make a two-column list with some kind of titles, with "normal" text before and after. I tried it with the package "multicol" an with "minipage", neiter turned out well. Since the problem ...
4
votes
2answers
532 views

Varying number of columns in multi-equation environment

Consider the following document: \documentclass{article} \usepackage{amsmath} \newcommand{\expr}[1]{\begin{pmatrix}x_#1\\y_#1\end{pmatrix}} \begin{document} \begin{equation} c = a \cdot b ...
4
votes
1answer
847 views

Why does >{\centering} in my column spec produce an error?

I want to create a column in a tabular with column specifier 'p' and centred text. I have tried to achieve this using the example below. \documentclass{article} \usepackage{array} \begin{document} ...
4
votes
1answer
2k views

Columns of Tabular on Different Slides (Beamer)

I would like to show a tabular by columns for didactical reasons. Example: \begin{tabular}{ll} Beispiel & Erklärung \\\hline Die Schule fällt Fritzchen nicht leicht. & Unterricht\\ Fritzchen ...
4
votes
1answer
1k views

Latex Beamer multiple columns

So Im doing this presentation with Latex Beamer powerpoint. I have one slide that looks like a mess, but I need the equations in columns and in one slide. Heres how it looks: And this is the code ...
4
votes
1answer
165 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 ...
4
votes
1answer
110 views

Parametrized Column Names for Pgfplotstable inside a Macro

I use same table format for several data files, so I have written a macro named \tableMacro. The problem is: I need to include different columns in different tables. I want to parametrize columns={} ...
4
votes
1answer
1k views

Beamer bibliography in two columns on multiple frames?

Is it possible to put a bibliography in beamer presentation, in two columns spanning via several frames? I have \begin{frame}[allowframebreaks]{Reference} \bibliographystyle{alpha} ...
4
votes
1answer
125 views

Alignment of text in two columns: forcing empty lines in one, to avoid collisions in the other

I have a question about aligning text in two columns. A similar question was asked here:Two Columns whose content is positioned relative to each other, but I wasn't able to get the example solution ...
4
votes
1answer
66 views

Combined entry column Journaltitle/Booktitle in JabRef

In the JabRef entry table, I’d like to have a column that displays the journaltitle for an @article entry and the booktitle for an @incollection (etc.) entry, rather than having a separate column for ...
4
votes
1answer
134 views

How to place pictures inside parcolumns

I would like to display pictures inside \colchunk of parcolumns. This works just fine, but it produces a vertical space in the oppposite column. How can I prevent this from happening? ...
4
votes
1answer
967 views

Is there any way to make two pages per sheet (landscape) and the page numbering appears as if each column was a page?

I want to make a landscape sheet with two pages (like two columns) and I want that the page numbering to be a number per page (a number per column) instead of a number per sheet. I use ...
3
votes
2answers
172 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 ...
3
votes
2answers
163 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 ...
3
votes
3answers
357 views

Best way to print key-value pairs: table, array or matrix?

I have a series of values that need to be printed row-wise in multiple columns. (These values, held as \def variables, are generated programatically and some of them can be empty strings.) The ...
3
votes
2answers
100 views

Automatic table generation

I am working on a book that includes word-to-word translations that need to be put in a table. The format of the average page looks like this: Regular paragraph text. Verse. Translation section. ...
3
votes
2answers
191 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
2answers
251 views

Beamer - building footnote example with columns and minipage

While trying to construct a beamer slide illustrating usage of footnote command I hit upon the following problems. When I compile a slide with the following code: \documentclass{beamer} ...
3
votes
2answers
132 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 ...
3
votes
1answer
382 views

eledpar — parallel columns not being set

I am trying to use eledpar to typeset paragraphs in two languages in parallel, in columns on the same page, but am having no success. Minimal working example: %!TEX TS-program = xelatex %!TEX ...
3
votes
3answers
290 views

2 column layout without using tabular

I'd like to write a 2 column layout page: one column at the left that should show the year, and one column at the right that should show text that goes along the year. \documentclass[12pt]{article} ...
3
votes
2answers
2k views

Aligned Table of Notation Sybmols - Works but with Errors

I am getting a four (4) errors and 1 Bad Box with the code below. However, the output is the way I need in the PDF. Any ideas why I am getting the errors? And if so, how I can fix it. The error is ...
3
votes
2answers
89 views

Homework solution x columns

I'm writing a book and in its end, I write the exercises solutions. To become with a better layout, I use multicols environment, like this: \begin{multicols}{2} \setlength{\columnseprule}{0.4pt} ...
3
votes
1answer
354 views

vertical dashed line between columns in beamer

How to draw vertical dashed line between columns in beamer? I have found how to make vertical line, but not dashed :(
3
votes
3answers
113 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 ...
3
votes
1answer
4k views

Problem with top alignment in beamer columns

I am trying to place two images in top of two columns in a columns environment, in a beamer presentation. The first column consists of one image on top and a enumeration list bellow the image. The ...
3
votes
1answer
736 views

Text in moderncv’s left column overlaps with right column

I was trying to compile a Resume and I am not able to figure out why only the second line has superimposed text. The below is the code. \documentclass{moderncv} \moderncvtheme[blue]{casual} ...
3
votes
1answer
125 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 ...
3
votes
1answer
193 views

Please help me to run this code in LateX!

\documentclass{article} \usepackage{array} \begin{document} \begin{tabular}{| >{\centering}p{2.5cm} | >{\centering}p{0.5cm} | >{\centering}p{2.5cm} |>{\centering}p{2.5cm} ...
3
votes
1answer
62 views

Stretching a column so that table fills up specified area

Using plain TeX how can I make column 2 in the following table take up the remaining space to .5\hsize while preserving the other columns' property to have a variable width dependent on their ...
3
votes
1answer
103 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 ...
3
votes
2answers
243 views

package for parallel columns randomly omits pages (paracol) [closed]

I've been using paracol for a few days now. I think it is a nice package for parallel columns. There is one problem, however, which strikes me. Sometimes (only sometimes) the pdf that results from my ...
3
votes
1answer
284 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., ...
3
votes
1answer
255 views

How to resume list numbering (enumerated lists) with multicols environments

This question is related to "How to interrupt-resume a list in latex". I am making an exam for my students and I want to use the multicols environment for various portions of the test. The problem ...
3
votes
1answer
273 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 ...
3
votes
2answers
612 views

Wrap text in tables in rubber columns

I can use p{}, m{} or r{} but I shall pass a fixed size. Is there a way to do it with rubber columns?
3
votes
1answer
959 views

Problem with lstlisting in beamer… What am I doing wrong?

I am trying to to put an lstlisting environment in the left column, but I'm getting errors. Are lstlisting and the columns environment in beamer incompatible? Or is it something else? ...
3
votes
1answer
2k views

How do I alternate images and only have captions for the first one?

I'm trying to create an itemized list with alternating images in beamer. I've got the list part and the images to work, but things break down when I try to add captions. Basically, I only want to ...
3
votes
2answers
3k views

Errors of using column environment

Here is my Latex file: \documentclass{beamer} \title{Here is my Title} \author{} \date{} \begin{document} \begin{frame} \begin{columns}[t] % contents are top vertically aligned \begin{column}[5cm] ...
3
votes
1answer
629 views

Could I use \columncolor with \only? (Beamer)

In Why can't I wrap \rowcolor in \only? (Beamer), there are solutions to how to use \rowcolor with \only in Beamer. Is there a way to use \columncolor in a similar way?
3
votes
3answers
80 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 ...