{tables} is about the tabular environment and related packages such as {array}, {booktabs}, {tabularx}, {tabu} and {longtable}. For questions about the table environment (i.e., about floating or positioning), use {floats} instead.

learn more… | top users | synonyms (2)

5
votes
3answers
447 views

Make different font sizes in a table align at top, not bottom

I have a situation similar as to this MWE: \documentclass{article} \usepackage{tabularx} \begin{document} \begin{table} \begin{tiny} \begin{tabularx}{\textwidth}{|>{\normalsize}X|X|X|} \hline Foo ...
3
votes
1answer
884 views

Column spacing problem

I'd like to know how to position two columns in the following table closer together. The table looks like this: I have found I had a problem with spacing of tabular columns combined with ...
15
votes
1answer
111 views

A command to move forward to a specific (numbered) column?

Suppose I want a \gotocolumn command, with the following behavior: in a tabular with n or more columns, \gotocolumn{n} would expand to the shortest combination of \\ and & necessary to bring us ...
5
votes
3answers
3k views

fbox in tabular throws missing endgroup

I have to draw a border around my tables, so I'm using \fbox{} (is there a better way?). It works when using a threeparttable but with the normal tabular latex throws an error stating Missing ...
19
votes
5answers
24k views

Newline in a table cell which is centered

This question may look like a duplicate but, none of the answers given to the possible duplicates contain the answer to this specific case. I have a tabular, say \begin{tabular}{ccc}. While adding a ...
6
votes
4answers
844 views

Problem with itemize and ifthenelse in a tabular environment

I want to fill a cells of a table with only a \item command, and the \begin{itemize} should be automatically inserted. The following code works : \newenvironment{matable}[0]{% ...
6
votes
2answers
10k views

Can't generate vertical space between tables

I realize this is probably a really simple issue but I'm a complete beginner. I am auto-generating code very similar to the LaTeX code below. However no matter what I do I can't get space between the ...
2
votes
2answers
783 views

siunitx multicolumn problem

In addition to Right-centered columns in LyX, I have another problem, now with multicolumns. I want to center the number "98" (which spans two columns) above the two other columns. These shall be ...
8
votes
3answers
1k views

Function sign table, complete with first and second derivative, plus concavity/convexity and asymptotic behaviour - a better way?

There has got to be a better/easier way to do this!! And by the way, how does one format the code [when posting a question] to look nice, compact, and full of colours? \documentclass{article} ...
1
vote
1answer
387 views

Right-centered columns in LyX

This is very near to my topic: How to align integers on the right, but still center them. However, I do not get it to work under LyX. This is the code I have: \begin{table}[H] \centering ...
6
votes
2answers
806 views

Using txfonts with Polish characters breaks tables

Restated Problem and a Solution The use of a times font using the package txfonts will cause tables to be improperly displayed (see below for an image) if a character such as ę,ą or a different ...
5
votes
2answers
3k views

Complex LaTeX Table

I am trying to make a LaTeX table. I have prepared the following code. \begin{table}[htbp] \caption{Combination Nomenclature, (Average Fill Factor)} \resizebox{1.0\textwidth}{!}{ ...
4
votes
1answer
5k views

Empty line after a tabular environment

I would like to have a little table without caption within my text. There should be, however, some space between the preceeding and following lines of text. The following snippet ...
11
votes
4answers
1k views

Create a table with three columns above two columns

I'm making a document header (full width of page) for which I would like three columns on the first row and two in the second. The tricky part (I think) is that I would like the bottom two cells to ...
1
vote
1answer
212 views

label for table [duplicate]

Possible Duplicate: Where to put the \label on a figure environment? I've got the table numberin with sections: \numberwithin{table}{section} The following table is 2.1. for example: ...
0
votes
1answer
251 views

Table doesn't fit with title in just one page

I want a chapter tittle and a table to fit in just one page. It looks possible as it is enough space, but this is the output: The code used is: \afterpage{ \chapter{Esquemáticos y PCB} \clearpage ...
7
votes
2answers
6k 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 ...
16
votes
3answers
28k views

Including Large Tables in a beamer Frame

What is the best way of including large tables in a beamer presentation?
8
votes
3answers
2k views

Drawing Multiple Diagonal Arrows in a Table

My question is basically the same as this one, but with many arrows instead. (I'd like to see the TikZ solution--I feel like once I get it here, I'll be able to extrapolate and do it in other cases ...
3
votes
2answers
242 views

How do I put “complex” multiline things as 1 cell in a table?

Trying to group up different multi line formulas and text that I have to make space on the page, my first thought was to place them as a cell in a table, but trying to do that naively does not work ...
0
votes
1answer
358 views

Strange error in my table

I need help with an error: \begin{table} \centering \begin{tabular}{@{}ccp{8cm}@{}} \toprule Valor DOP & Calificación & Descripción \\ \cmidrule(c){1-1}\cmidrule(c){2-2}\cmidrule(p){3-3} ...
8
votes
3answers
5k views

Format spacing for correlation table (any statistical table)

I'm attempting to format a correlation table for publication but can't get the spacing right when I include significance stars. I'd like to have minimal space between columns. The space between ...
3
votes
2answers
2k views

Drawing Arrows in Tables

What is the best way to draw a diagonal line through the following table? \begin{center} \begin{tabular}{*{9}{c}} $e_{1}$ & = & $0$ & $.$ & $d_{1}^{1}$ & $d_{1}^{2}$ & ...
5
votes
1answer
278 views

Show or hide rows of a tabular controlled by a global variable

Is it possible to show or hide rows of a table by setting a global boolean variable? \documentclass{minimal} % some boolean variable X \begin{document} \begin{tabular}{ccc} A & B & C \\ A ...
2
votes
1answer
394 views

looping in tabular

I am curious to know why the following failed. A similar thread is on comp.text.tex unanswered. Of course, other manipulations of \whileexpr work, but why does this fail? \documentclass{article} ...
3
votes
1answer
701 views

Typing “&” in tables [duplicate]

Possible Duplicate: Escape character in LaTeX How to type & in LaTeX? \begin{tabular}{ l | c || r | } A&B & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \\ ...
5
votes
1answer
1k views

Placing overlapping text on a page

How can I make text or tables overlap? Can I place the letters "a" and "b" at the same location (based on left and downward alignment)? Can I place two tabular environments in exactly the same place ...
3
votes
2answers
8k views

sidewaystable from rotating package cuts off table, even after changing margins

I'm using this code for my table: \begin{sidewaystable} {\small \begin{tabular}{cccccccccccccccccc} \toprule \multicolumn{3}{l}{\texttt{Table 2}} \\ ...
11
votes
3answers
1k views

How can I place a displaymath environment and an align* environment side by side?

I have a displaymath environment and an align* environment I would like to display next to each other. My idea was to wrap them in a tabular environment: \begin{tabular}{c c} \[ %math stuff ...
3
votes
2answers
254 views

How can I make indentations and then align at different levels, in a table?

How do I create this table? It is the subtle indentations that are throwing me. I know I'm missing something simple.
3
votes
1answer
5k views

tabular - \cline not working

I have this table \begin{tabular}{ | p{2cm} | p{4cm} | p{4cm} | p{4cm} | } \hline Název & \multicolumn{3}{ l }{vypsatZapojeniResiteluDoProjektu} \vline\\ \hline Popis & \multicolumn{3}{ l ...
6
votes
1answer
492 views

How to make nested table span all underlying cells

How can I make a nested multicolumn table span all its underlying columns such that 1 2 3 do not look squashed together but are rather distributed equally over the 2 cells? \begin{tabular}{ c c } ...
12
votes
2answers
17k views

Remove vertical lines for table

I am trying to implement the following K-map with a table AB C 00 01 11 10 ______________ 0| 1 0 1 0 1| 0 1 1 0 I implemented it like this: \begin{table}[htdp] ...
3
votes
1answer
2k views

Vertical alignment with nested tables

It's almost embarrassing to ask: How can I vertically align the contents of one column to the top beside a second column holding nested tables. Please have a look at the minimal working example: ...
3
votes
1answer
4k views

Specify row height in a table globally [duplicate]

Possible Duplicate: How to specify a fixed height for all rows in a table? I know that it is possible to specify the row heights of a tabular environment individually as explained in this ...
4
votes
1answer
104 views

Using tabular(*?) with two languages

I wish to have an invisible table (using the tabular or tabular* environments) which should contain two columns - one shall contain sentences in English, and the other - their translations in Hebrew. ...
3
votes
1answer
352 views

subequation in tabular

I am trying to number two equations at the same line as subequation. My problem seems to be due to case environment, since if i comment the case environment, the problem disappears. Here is a short ...
5
votes
1answer
320 views

Table: How can I have more than one line of text into a cell?

I'm writing an small table with 6 rows and 4 columns. Last column is a description, so the text is in some rows wider than the wide of the page. So I need it to be written en more than one line of ...
7
votes
2answers
2k views

Multicolumn verbatim

Is there someone who could help me with creating a table with some rows merged and verbatim text in it? I actually want to create 3x2 table. Like this \begin{tabular}{rr} \hline ...
4
votes
2answers
3k views

Writing in an invisible table

I'd like to list a few phrases in one language, and their meanings in another language. I thought about doing it like that: Sentence 1 ---------- Translation 1 Longer Sentence ----- Longer ...
8
votes
2answers
1k views

Four Language Parallel Column Book

I am trying to format a four column parallel text in four different languages to display on two pages with two columns per page. I have tried using ledpar and parallels but I cannot get it to work. ...
5
votes
1answer
499 views

Table/tabular problem: vertical centering of long text + increase the row height

I already checked this post in this site: Vertical centering of text within a table What I am asking is quite similar to that question: I want all the cells to be vertically centered. This can be ...
6
votes
3answers
5k 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 ...
7
votes
1answer
21k views

argument in \begin{subtable}

I use \begin{subtable}{.5\textwidth}...\end{subtable} to produce two (or more) subtables side by side (from the subcaption package). But I don't understand what {.5\textwidth} means. I tried different ...
17
votes
3answers
27k views

Text wrap in tables (multirow package loaded)

I searched a bit, but I could not find a reliable way to wrap text in tables with columns spanning more than one row. Any ideas on how to fit this table in the page?: ...
3
votes
1answer
4k views

PGFPLOTS: figure and table formatting

Just after an hour spending browsing through the pgfplots manual, I am trying to have a figure and a table side by side (both the figure and the table use the same data). So I still have lot to learn! ...
10
votes
4answers
17k views

scaling a table to fit an entire page

I used Excel2Latex to pump out some tables from my excel file. All works fine but heres the output picture: I want the table to be streched accross the entire page. Is this possible and if so how ...
3
votes
1answer
24k views

Merging different cells in a table with \multicolumn

I am having troubles with \multicolumn. In the second row the cells containing a 9 should have equal sizes. How can I achieve this? \documentclass{article} \begin{document} \begin{center} ...
8
votes
1answer
449 views

Why does \num{} not work in situnitx's S columns?

Consider the following MWE: \documentclass{article} \usepackage{siunitx} \begin{document} \begin{tabular}{SS} 0.01 & \num{0.01} \\ 0.1 & \num{0.1} \\ 1 ...
6
votes
1answer
2k views

Circle around content of a table: is it possible?

I managed to create three tables with letters in it: \begin{minipage}{0.37\textwidth} \begin{tabular}{c | c | c | c | c} E & G & P & A & L\\ \hline I & I & U & G & F\\ ...