Tagged Questions
1
vote
1answer
43 views
Two columns of equations, aligned and just one number per column
I'm writing a two-column document, and I want to display two sets of large equations floating at the top. Each equation set should be aligned within the same column, and only the two top equations ...
7
votes
1answer
186 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 ...
5
votes
1answer
58 views
Set the width of every columns of a table in ConTeXt
Sometimes, I need such a table whose column widths should be equal with each other. Here is an example:
Name Email
John john1989@gmail.com
Bill bill1990@outlook.com
Tim ...
4
votes
1answer
57 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 ...
6
votes
1answer
98 views
ctable and siunitx: Last column does not center correctly (possible incompatibility?)
I would like to use ctable in my thesis for tables and graphics and I also would like to use siunitx for formatting numbers and aligning numbers on the decimal marker in tables.
Everything seemed to ...
3
votes
1answer
62 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.,
...
6
votes
1answer
107 views
set width of table column to whatever's left in page width
I have some columns with a very short entries on the first column and a rather long entry on the second column.
\begin{ctabular}{\textwidth}{ll}
\toprule
Name & Recipe\\
\midrule
Freezing ...
3
votes
1answer
356 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]
...
6
votes
1answer
160 views
Align siunitx columns in numbers table
Here is a table but it has a problem: the column of 1, 20, 50, and 100 aren't perfectly aligned to others. How can I do that?
MWE
\documentclass{article}
\usepackage{siunitx,booktabs,multirow}
...
5
votes
1answer
58 views
How do I forward a length from a command into a column specifier?
I'm using longtable where I want vertical bars separating cells, although not for the table headers. I have 8 columns (but show only 3 here as example) and want to re-use the same lengths on the main ...
5
votes
1answer
109 views
Delete column line in tabular
I have the following table, but I want to delete the two vertical lines in the GBM and MJD row:
\documentclass{beamer}
\usepackage{booktabs}
\begin{document}
\frame{
\frametitle{Test}
...
5
votes
4answers
116 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 ...
3
votes
1answer
151 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 ...
12
votes
2answers
121 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 ...
3
votes
1answer
681 views
How to divide a single table cell in two columns? [duplicate]
Possible Duplicate:
How to divide a table row into several columns?
I want to make a table. This is my code
\documentclass{article}
\usepackage{multirow}
\begin{document}
...
3
votes
2answers
394 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 ...
3
votes
1answer
75 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 ...
4
votes
1answer
252 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 ...
3
votes
2answers
855 views
Tabularx can't center some column
I'm trying to create a timetable using tabularx environment, but i can't find a way to center all columns.
Using this code:
\documentclass[11pt,oneside, landscape]{article}
...
8
votes
2answers
639 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 ...
5
votes
1answer
1k 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}|
...
8
votes
1answer
238 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 ...
1
vote
1answer
205 views
multirow doesn't seem to work
EDIT: The problem now is that in the table, between 'Baseline' and 'Action' there is a space that I want to remove (look the image below). 'Action' is indented, and it's ok, but it's too detached from ...
4
votes
1answer
338 views
Changing the fontsize of selected column in table
I want to decrease the font-size of a selected column. I tried
\documentclass{article}
\usepackage{multirow,array}
\usepackage{booktabs}
\begin{document}
...
5
votes
2answers
1k 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 ...
8
votes
1answer
192 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 & ...
1
vote
2answers
306 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
3answers
211 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
453 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 ...
1
vote
3answers
248 views
How can I create a table where one cell spans several rows and all the text is justified?
I'm trying to create a table where the first column spans 3 rows and the text will wrap several times. The second and third columns will each have 3 rows in them. The cells in the second column will ...
2
votes
3answers
266 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
1answer
378 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
641 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 ...
8
votes
3answers
757 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 ...
6
votes
2answers
879 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 ...
5
votes
2answers
1k views
Using LyX, how can I make a 6 column table with the second row having multiple lines of text?
Using LyX, how can I make a 6 column table with the second row having multiple lines of text? I am trying to create the following layout in LyX:
I'm using LyX 2.0 for mac.
What are ways to ...
8
votes
2answers
226 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 ...
7
votes
1answer
1k 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 ...
7
votes
1answer
2k 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 ...
3
votes
1answer
1k 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 ...
25
votes
4answers
16k views
Column 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
...
8
votes
2answers
286 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 ...
7
votes
1answer
2k 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 ...
2
votes
1answer
314 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?
2
votes
2answers
502 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 ...
9
votes
3answers
349 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 \\ &&
...
6
votes
2answers
367 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 ...
6
votes
1answer
500 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 ...
3
votes
1answer
184 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} ...
2
votes
1answer
542 views
Table Cell Alignment - Last Column 'Misbehaving' - Simultaneous Vertical and Horizontal Alignment Problems
I am going a little crazy with alignment in the tabular environment.
In the following code I would like both the top-left cell 'Green Die', and the last cell in the 2nd row '6' to be aligned ...

