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

4
votes
1answer
412 views

Multilevel enumerate inside tabularly environment generates incorrect numbering

I'm trying to include a enumerate list in an tabularly environment, but the numbering gets wrong when I add more than one level of depth to the list. \begin{table}[H] \begin{minipage}{\linewidth} ...
3
votes
1answer
409 views

Subequations inside a table

I am trying to insert a subequation system inside a table. This is the idea of what I want: \begin{table*}[tb] \centering \caption{Device Modelling Specifications.} \label{tab:deviceModelling} ...
2
votes
1answer
249 views

How to use alternate table coloring with wrapping column?

I am working on table in which the last column is wrapped with a command \Addbreakable. I need to color alternate rows as well. But I can do either \Addbrekable or coloring alternate rows. Note: ...
4
votes
1answer
269 views

Weird imperfect table, horizontal line overflow

I've this weird problem where the horizontal lines in a table are overflowing. It might be due to one of the many packages, I'm not sure. Is there a way to forcefully fix the table border. The latex ...
1
vote
2answers
636 views

table from pdf to latex

Ciao guys I am making a presentation using beamer. It is based on an online research article. Let's say there's a pdf file with a table consisting of 4 columns and 5 rows. What would be the easiest ...
11
votes
1answer
737 views

How can I anchor TikZ matrix cell contents to 'baseline' without shifting cell location?

The cells in my tables often contain expressions with superscripts. This results in a text baseline that appears to "wander" between adjacent cells. For example \begin{tikzpicture}[every ...
6
votes
1answer
1k views

endfloat and ctable are incompatible?

It seems that endfloat and ctable are incompatible: \documentclass[a4paper]{article} \usepackage{endfloat} \usepackage{ctable} \begin{document} \ctable[caption = Queries available, pos = H, center, ...
8
votes
1answer
572 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 & ...
2
votes
1answer
556 views

How to remove vertical-line gap on right side of tables when adding space between header and content?

I use the supertabular environment to create a table containing images. I defined that the header should be separated from the content by a single line. Because the first image in table is on the line ...
8
votes
2answers
599 views

How to wrap text in a table when there are no spaces at which to break the line?

I have a lot of text in table. I want to wrap it with in 2cm. In the last column, I have [1][2][3].....[89][100] but the column width is only 2 cm. It is supposed be wrapped by itself. How can I ...
1
vote
1answer
138 views

Table wrapper breaks when using svn-multi and booktabs

I have a bizarre problem with a customised table wrapper in conjunction with booktabs and svn-multi. The MWE below illustrates the issue. The wrapper myTable works fine if: either booktabs is not ...
1
vote
1answer
438 views

Use of \hiderowcolors & \showrowcolors within LyX

Loading the xcolor package with the [table] option provides the command(s) \rowcolors(*) for alternate table row coloring. Any attempt, however, to use \hiderowcolors and \showrowcolors inside table ...
1
vote
0answers
36 views

Table generating error [duplicate]

Possible Duplicate: 19 simple tables giving “TeX capacity exceeded” / “Too many unprocessed floats”? TexStudio 2.3 Miktex2.9 Hi everybody I am kind if new to LaTeX. ...
4
votes
2answers
294 views

pdfpages doesn't allow me to draw a thick horizontal line in “tabular”

I have the following code: \documentclass{article} \usepackage{amssymb} \usepackage{caption,sansmath} \usepackage{array} \DeclareCaptionFont{sansmath}{\sansmath} \captionsetup{textfont={sf,sansmath}} ...
6
votes
1answer
169 views

Table including rows of a master table

I have a big master-table* containing reference items and that is a simple cross-project database of such items. Now I'd like to include in different documents parts of this master table and select ...
4
votes
2answers
208 views

how to redefine the `\\` in a tabular environment?

I want to redefine the tabular environment, such that each for example \begin{tabular}{c|c} AAA&BBB\\ CCC&DDD\\ \end{tabular} would produce (for example) AAA,BBB;CCC,DDD; Question 1 In ...
8
votes
1answer
914 views

Arrows between two tables

I'd like to connect two cells from different tables using arrows. How can this be achieved?
5
votes
3answers
8k views

Text wrapping in multirow columns [duplicate]

How do I make the long multirow cell wrap its text? Ideally I'd like to be able to specify a width for the entire column. The text should also be centered both vertically and horizontally. ...
11
votes
2answers
473 views

Centering tabular: Why does this work?

About a month ago, someone asked how to align a tabular environment around the intercolumn space, which was something I'd been trying to figure out for a brief eternity. Werner's answer worked more ...
2
votes
1answer
3k views

table doesn't work with baposter

I am making a poster with baposter. When I want to make a talbe (put in \headerbox{}), I got error message: ! LaTeX Error: Not in outer par mode. See the LaTeX manual or LaTeX Companion for ...
8
votes
1answer
9k views

Tabular: Underfull \hbox (badness 10000) in paragraph at lines

I read all the questions regarding the error message Underfull \hbox (badness 10000) in paragraph at lines but I am still not sure if my code is correct. The problem is with the tabular of a table. ...
7
votes
2answers
1k views

Putting an arrow next to table

I have a table. Each row in that table represents data at a certain point of time. Lower rows represent data for later times. To illustrate this, I'd like to draw an arrow at the side (which doesn't ...
16
votes
2answers
13k views

Evenly distributing column widths

Consider the following hunk of code: \begin{tabular}{| c | c | c | c | c | c | c | } \cline{2-7} \multicolumn{1}{c}{} & \multicolumn{3}{|c|}{Fantastical aardvarks} & ...
5
votes
1answer
119 views

Safeguard an environment against tabular mode

The semantics of a given environment require that it is typeset inside a minipage if it is used inside a tabular. If I add the minipage declaration for a positive check for "internal" mode in the ...
5
votes
1answer
206 views

A bit larger spread between rows of a 2x2 table

The following is my expression: \begin{equation} \left[ \begin{tabular}{c|c} $y$ & $a_{bc}$ \\ \hline $a_{ab}^T$ & $y$ \end{tabular} \right]. \end{equation} Note ...
29
votes
2answers
3k views

Insert libreoffice table as input

This question led to a new package: odsfile Suppose you have an localc spreadsheet myspread.ods and you want to insert the content of the range H4:I40 as a table into your latex document. I ...
6
votes
1answer
651 views

How to arrange table rows in multiline like rowspan but with same color?

I am working on LaTeX and R. My result in table are in one line (comma seprated) and i want them to be in multiline but within same row (like rowspan). I tried to use newline but that does not ...
2
votes
2answers
130 views

Table layout problem

I have a problem with a table. Since I am a day zero newbie in latex, please bare with me. This is what I did: \begin{table}[h] \begin{tabular}{|l|p{0.5\textwidth}|} \hline ...
1
vote
1answer
1k views

Strange indent using tabular in titlingpage

I need to create a simple problem description page for my thesis. This will also be the title page of the document. I'm using the memoir class. I tried to use the tabular environment to align some ...
1
vote
1answer
346 views

I cannot create the table in latex, why?

I am trying to create a table in LaTeX. I have a file with few tables, and when I try to create one more, it yields the following errors: There are several problems at this line: Missing number, ...
10
votes
3answers
3k views

Border matrix with multiple indices on top and bottom

How can I write a matrix where there is an index at the top and also at the bottom? \bordermatrix doesn't seem to have an option for multiple indices.
7
votes
1answer
272 views

How to prevent tables from being wider than the text width in ConTeXt?

I have some tables like this: \starttabulate[|l|l|] \HL \NC Title 1 \NC Title 2 \NC\NR \HL \NC This is a sentence. \NC This is another sentence. \NC\NR \HL \stoptabulate ...
9
votes
3answers
841 views

Multicolumn 3 out of 6 doesn't work

I'm trying to make a multicolumn in a 7 columns tabular. \documentclass{article} \begin{document} \begin{tabular}{|l|l|l|l|l|l|l|} \hline & \multicolumn{6}{c|}{Parameters}\\ \hline We don't care ...
4
votes
2answers
165 views

Insert text line in array

I am looking for a (clean) way to keep text aligned in a situation like the following: thesis under the direction of: [tab] Title [&] Name [&] University with the supervision of: ...
5
votes
1answer
1k views

siunitx: How to get bold, aligned entries and how to align when units differ in length?

I tried my first steps with siunitx, but I have trouble achieving the following in the minimal example below: 1) aligning the entries in the first column with respect to the decimal dot 2) getting a ...
14
votes
1answer
15k views

Change caption font size

I want to change the font size of a single rotated table caption (definitely not all the captions in all my tables/figures) Right now I can wrap the text inside the \caption around a \scriptsize{} ...
4
votes
2answers
645 views

Alignment troubles with tabular, pgfuseimage and multirows

I'm stuck with some alignment problems in tabular: and in draft mode: The point is that the bottom left one should take the whole space without overflooding the bottom (so to speak) The original ...
1
vote
2answers
2k views

Align table caption with left border of longtable

Subj. I cannot use singlelinecheck=off because it aligns it to the left border of the page. And why table is too narrow? \documentclass[12pt,a4paper,oneside]{article} ...
8
votes
3answers
522 views

How to execute command on every table column

I have a table where I have to execute the same command for every entry in the table. For example: \ibibleverse{Matthew}(1:1) & \ibibleverse{Mark}(1:1) & \ibibleverse{Luke}(1:1) \\ ...
3
votes
2answers
727 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?
4
votes
1answer
370 views

Can I use \lstinline for table column?

I want to apply \lstinline to one of the columns. I don't like idea to put it in every cell manually. I am trying to do \begin{table} \begin{center} \begin{tabular}{| >{\lstinline}l | ...
11
votes
1answer
421 views

alignment of table numbers

why the numbers indicated from the arrows are not aligned compared to the columns above ? \documentclass[border=10.0mm]{standalone} \usepackage{booktabs,caption} \usepackage{siunitx} \sisetup{% ...
4
votes
1answer
3k views

Beamer table drop shadow

I'm trying to design a good-looking table with Beamer. I'm following the tutorial here. In page 8 of that tutorial, the table is very nice, with alternating colored rows and a pleasant drop-shadow. ...
1
vote
1answer
5k views

Multi-column problem

Consider the following table. First I have troubles to get the multicolumn-elements in the first row of the table limited to a maximum width (I tried it here with the command C{0.75} but obviously it ...
5
votes
2answers
694 views

How to center numbers beneath a \multicolumn row in a table

I am making tables containing a column with number intervals, i.e. two numbers separated with a "--" or a single number preceded with a "<" or a ">". I have tried to center the position of the ...
15
votes
1answer
40k views

horizontally center table

Strangely in this MWE the table is shifted to the left but in my original document I have exactly the same code but the table is centered. Can anyone solve the mystery? \documentclass{article} ...
2
votes
2answers
154 views

Aligning the tops of two tabularx environments

I have used the following to place two tabularx environments next to each other \begin{table} \begin{center} \begin{tabularx}{190pt}{l} \toprule ... Content ... \bottomrule \end{tabularx} \quad ...
2
votes
1answer
422 views

gradient of color in one cell follow up question

So I have a gradient in my cell using TikZ, which is nice. However I still have a few problems: The text itself has its color changed, whereas I would want only the background color to be changed. ...
5
votes
1answer
2k views

Ltablex customize caption

I use ltablex package for creating tables. How can i change the caption name for the continuation of the table, as in the picture?
1
vote
0answers
44 views

Table fixed width [duplicate]

Possible Duplicate: How to obtain width of longtable? I have many tables that I create with longtable or ltablex. How can I make all tables the same width?