{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
4answers
222 views

Why can I not vertically align the text in the 3rd table column?

I'm trying to make a table which lists some math functions. I've been searching the net on how to center the equations in the cells both vertically and horizontally. And I think I've found an answer ...
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
104 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 ...
5
votes
1answer
66 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
195 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
223 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
495 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
218 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
200 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 ...
4
votes
2answers
208 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
188 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
4answers
2k 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
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
2answers
379 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
992 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
817 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
597 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 :(
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
97 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
136 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
101 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
81 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
2answers
51 views

Spacing within brackets of a matrix

I am trying to add extra space after the left bracket and before the right bracket in a matrix. I've changed the column spacing with \arraycolsep, but I also want the entries right aligned. I can ...
4
votes
1answer
64 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
524 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
375 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
3k 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
608 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
952 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
207 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
133 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
190 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
287 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
372 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
115 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
69 views

Fix column width of table

I have two tables in this code: \documentclass[a4paper,11pt]{article} \begin{document} \title{} \author{} \date{\today} \maketitle \section{Header} \begin{table}[!htbp] \centering \footnotesize ...
3
votes
3answers
63 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
2answers
94 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
2answers
251 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
166 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
306 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
76 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
140 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
946 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} ...