{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
2answers
453 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
211 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
95 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
124 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
1answer
2k 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
2answers
5k 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 ...
4
votes
2answers
872 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
2answers
299 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} ...
4
votes
1answer
735 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
986 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
32 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
85 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
2answers
78 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
39 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
1answer
48 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
321 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
312 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
556 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
889 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
184 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
119 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
149 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
76 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
149 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
185 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
191 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
366 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
109 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
1answer
430 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
203 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
145 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
297 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
49 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
3answers
84 views

Conflict between areaset and sidewaystable with tabularx

I have a problem with one large table, and I could finally narrow it down by reducing the preamble and commenting out some lines. The Problem: I have a table defined like that (please see the MWE ...
3
votes
2answers
91 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
118 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
825 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
127 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} ...
3
votes
1answer
64 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
118 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 ...