{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

5
votes
1answer
4k views

Tabular environment column specification

I am using the tabular environment. \begin{table*}[ht] \renewcommand{\arraystretch}{1.3} {\small \begin{center} \begin{tabular}{|l||>{\centering\arraybackslash}m{1.6cm}| ...
5
votes
1answer
63 views

How do I maintain structure in structured output?

I am trying to ensure output from a Linux command - which looks like: Into a LaTeX document with the same column structure with the output headers lined up with the output sections on the next ...
5
votes
1answer
177 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 ...
5
votes
1answer
211 views

Auto-flowing Blocks in Beamer/BeamerPoster environment?

What I have: Multi-column beamerposter with blocks in each column \begin{columns} \begin{column} \begin{block}{A Block} ... \end{block} \begin{block}{A Block} ...
4
votes
2answers
472 views

Are three boxes inside a box possible?

I am making a yes or no question inside a box and I have difficulty on creating the command for it. Would you mind to help me make something that will output this:
4
votes
2answers
215 views

Inconsistent size of a block causes 2 blocks to be misaligned

I'm creating a presentation using beamer and I've detected a slight size inconsistency of a block located in a second column or minipage. I want to align two blocks with the same amount of bullets ...
4
votes
2answers
153 views

Dividing a page into independent parts/columns with different widths

I want to divide my page (A4 landscape) into different parts. The top should consist of four columns with different widths and no rule. For this I used vwcol but I could not figure out how to do a ...
4
votes
2answers
155 views

Tabular columns have different width

I have the following simple tabular environment: \begin{center} \small \begin{tabular}{|c|c|c|} \hline \multirow{2}{*}{$cm(ag)$} & \multicolumn{2}{|c|}{Number of agents in}\\ \cline{2-3} & ...
4
votes
2answers
2k views

Beamer: Default blocks in and out the columns environment

I would like to set a block followed by two additional ones below the first block. However, the widths and margins differ (see screenshot below). I'd like the two narrower blocks to span across the ...
4
votes
4answers
1k views

Split itemize into multiple columns

Is it possible to split an itemize list into several columns? (I'm sure it is, but I couldn't find a solution around here) And additionally: Is it possible to automatically split a list into multiple ...
4
votes
2answers
335 views

Beamer - building footnote example with columns and minipage

While trying to construct a beamer slide illustrating usage of the \footnote command I hit upon the following problems. When I compile a slide with the following code: \documentclass{beamer} ...
4
votes
2answers
932 views

How can get rid of margins and minimize white space to fully use a page in LaTeX?

I want to create a formulary in LaTeX. I can use it at the exam and it has do be at maximum a page recto-verso. I don't want margins (little margins for the print, no more). I want to minimize the ...
4
votes
1answer
774 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
1answer
5k 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 ...
4
votes
3answers
1k 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
1answer
56 views

latex table align decimal, stars, column width

I am trying to align my columns on the decimal points. I'd like the column widths to be equal. I believe a possible answer is here, but I am really struggling to implement. Any thoughts? Note: I ...
4
votes
1answer
106 views

How to place multiple TikZ figures in the same possition/height in beamer?

Recently I discovered that I can create tikz figures inside my presentation beamer file. Before I use to create pdf files separately and import them into my presentation. By applying the new process I ...
4
votes
1answer
75 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
80 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
1k 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? ...
4
votes
1answer
49 views

Can \pbox{max width}{text} be used in tex4ht

Can \pbox{max width}{text} be used in tex4ht? If it can't, is there an alternative that will let me wrap text (manually or automatically) in htlatex. In my reading there was an option ...
4
votes
2answers
416 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
2answers
339 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
581 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
926 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
3k 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
2k 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 ...
4
votes
1answer
199 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
123 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
91 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
171 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
1k 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
191 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
244 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
369 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
113 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
3answers
45 views

Enumerating inside multi column environment

I'm typesetting a list of high school exercises. I want create a list in the following form Exercise 1 Exercise 2 Exercise 3 Exercise 4 Exercise 5 Exercise 6 Exercise 7 Exercise 8 I'm ...
3
votes
1answer
515 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
2answers
229 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
153 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
3answers
299 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
1answer
58 views

How to place multiple sub figures in the same position, width and height in beamer?

I have spend all day and still can not figure it how to do it. This question is related with How to place multiple TikZ figures in the same position/height in beamer? I have tried all possible ...
3
votes
2answers
93 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
3answers
131 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
874 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
129 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
194 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} ...