{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)

2
votes
1answer
373 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
312 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
911 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
6k 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}} \\ ...
10
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
230 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
4k 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
423 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 } ...
11
votes
2answers
11k 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] ...
2
votes
1answer
1k 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: ...
2
votes
1answer
3k 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
100 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
320 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
277 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
2k 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
856 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
452 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
4k 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 ...
5
votes
1answer
13k 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 ...
15
votes
3answers
19k 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
14k 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
20k 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
423 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
1k 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\\ ...
0
votes
1answer
224 views

Including word-generated A3-table with screenshot-pictures and Excel-generated diagramms in the cells

I have a A3-size Sheet made with Word, some columns contain jpgs from screenshots and some excel-generated charts. When I created this table I wasn't aware that it will go into my latex-pdf file. I ...
14
votes
3answers
18k views

Footnote in table

I have some table like the following one and want to write some configuration using ´footnote´. \begin{table} \begin{center} \begin{footnotesize} \begin{tabular}{|l|l|l|} \hline ...
3
votes
2answers
345 views

Centering text in tables problems with colortabs

I am trying to produce a basic color table as shown below \documentclass{article} \usepackage{booktabs} \usepackage[dvipsnames*,svgnames]{xcolor} \usepackage{colortbl} \usepackage{array} ...
10
votes
3answers
5k views

Table column width “fill to margin”

I kind of would expect tables to be able to "fill to margin", instead of choosing a number and iteratively rebuilding the document until it is the right size. For example, I want this 2-column table ...
1
vote
1answer
474 views

siunitx - Decimal points not present

Trying to use siunitx to make my columns look all nice and so such. However, The decimal points are absent... Example: Code: \documentclass[letterpaper,twoside,12pt]{article} %%% PACKAGES ...
8
votes
2answers
400 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 ...
8
votes
3answers
6k views

Table padding in LyX

I'm creating in LyX a table wich has a single character for every cell. Problem is, a lot of space is wasted, because each cell has some padding points which I'd like to reduce. A cell is now big ...
9
votes
1answer
16k views

How can I reduce table row height?

I use the following code to render a table in LaTeX. But the problem is that the default row height is too big for me. I want to be able to specify the row height. How can i do it? ...
1
vote
1answer
360 views

Strange looking table

I am trying to print this rather odd looking table, below I know there is an package called exam, though I sort of want to do this "my own style" I did try to make the table below, but I was not ...
2
votes
1answer
1k views

How do I indent a table within the itemize environment?

I'd like to know how to indent a table within the itemize environment. \documentclass{article} \begin{document} Hello. I love \LaTeX! I have a question: \begin{itemize} \item How can I ...
13
votes
2answers
2k views

Errors with ragged-right justification in tables

My main goal is to disable text justification in tables and just have left-aligned text. I've loaded the array package and defined a custom \newcolumntype like so: \usepackage{array} ...
1
vote
1answer
752 views

Problem with dtx code: rowcolors unknown

I get the following error in my .dtx file: ) (./test.dtx ! Undefined control sequence. l.35 % \rowcolors {1}{colorrow}{colorbody} which I do not understand since xcolor and colortbl are loaded and ...
6
votes
2answers
937 views

Error with hyperref + tabular + footnotes in tabular

Here's the code: \documentclass[12pt,letterpaper]{article} \usepackage{array} \newcommand{\fntxt}[1]{\footnotetext{#1}} \newcommand{\fnstep}{\stepcounter{footnote}} ...
15
votes
1answer
9k 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 ...
3
votes
1answer
1k views

Defining repeated tabular/array columns using a computed value to specify the number

Background: I just recently saw that one could define multiple columns in a tabular or array using the syntax: *{num}{<align>} So, for example \begin{tabular}{r*{3}{l}r} is the identical to ...
6
votes
4answers
2k views

Footnotes in Tabulars?

Is there a simple, elegant solution to add footnotes in a table (tabular)? Preferably, the solution can also support the cleveref package. EDIT: My intended effect is that, the footnotes should be ...
39
votes
6answers
8k views

Best way to create an system of equations environment?

I am trying to write a few systems of equations, and I want the terms to be nicely spaced as below 2x + y + 3z = 10 \\ x + y + z = 6 \\ x + 3y + 2z = 13 Now, using ...
9
votes
2answers
3k views

colortbl: \rowcolor in tables with \begin{tabular}{@{}ccc@{}}

I'm trying to make a table with the following code: \begin{tabular}{@{}ccc@{}} \hline \rowcolor[gray]{.9} a & b & c \\ \hline \end{tabular} Unfortunately the \rowcolor command seems ...
10
votes
2answers
138 views

Restore original definition of $

I found an incompatibility between onlyamsmath and tabu, related to the redefinition of the $-sign. (Its is an active char, and thus breaks inside tabu columns specifiers). This is triggered with: ...
14
votes
2answers
43k views

Combine 4 cells in a table

Here is some simple table - I cannot upload, because I'm just a guest. I want to merge 4 cells. I mean I want to combine three "this" area in this table. I thought I have to use multirow and ...
1
vote
1answer
1k views

why does my document fail with sideways from rotating package?

I want to test landscape tables, and started with the sideways environment. However the code does not compile, I get the error: (./content/landscapetable.tex ! LaTeX Error: Something's wrong--perhaps ...
1
vote
2answers
735 views

Question about tabular

I need some table in LaTeX. As you can see, my LaTeX code is following \setlength{\extrarowheight}{7.6pt} \begin{footnotesize} \begin{tabular}{l|m{7cm}} \hline \hline Workloads & Applications \\ ...
1
vote
2answers
2k views

Use tabularx in LyX instead of default tabular

I recently got into LyX and I’m getting along quite well. The only thing that bothers me is that LyX’s table feature produces really sloppy-looking tables by default, i.e. double borders and stuff ...
3
votes
1answer
1k views

tables across page (ltxtable vs ltablex)

In the past I worked with the ltxtable package, which unfortunately require the table in a separate file. Now I found the ltablex package which claims to be a rewrite (or it rewrites) the tabularx ...