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

3
votes
2answers
2k views

Automatically adjusting the size table cells

Is it possible to automatically adjust the size table cells according to their content, or to make the size of all cells uniform ? This is an example: \begin{table}[t] \center \footnotesize ...
1
vote
1answer
125 views

Split paragraphs into table rows

I am writing a class file. I am defining a variable for my custom \maketitle like so: \newcommand*{\comment}[1]{\def\commentname{#1}} \comment{} I want to be able to write a list of comments like ...
7
votes
2answers
11k views

Type multiline equation in a table in LaTeX

Who knows the way to write a multiline equation in a table? I am using the code below: \begin{table} \centering \begin{tabular}{|c| c| c|} \hline %inserts horizontal line &f1& f2 \\ ...
2
votes
1answer
527 views

Matching question

Is there a standard package for generating a matching question such as: Match the following states with its capitals: Michigan Raleigh North Carolina Lansing Minnesota ...
2
votes
1answer
413 views

Display wide and long table

In the appendix of my report, I would like to add a table. The problem is that I have a cell "description" that contains too much text to be displayed on one line, now the row "overflows" on the ...
7
votes
1answer
1k 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} ...
0
votes
2answers
311 views

Using hfill to prevent expansion of text in table environment

I am using inline lists (from the enumitem package) within a table (see Comma-separated list environment) Originally, I had an issue where the inline list would expand horizontally to the width of the ...
13
votes
3answers
11k 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 ...
2
votes
1answer
331 views

URI with & in \href inside tabular inside a beamer frame

I have a strange effect, when I want to typeset a URI inside a tabular in a frame. Example: \documentclass[10pt]{beamer} \usepackage{hyperref} \begin{document} \begin{frame} ...
4
votes
1answer
609 views

Vertical placement of subfigs adjacent to another subfig

I have been using LyX, so I am fairly new to manipulating the underlying LaTeX. I have some images that I would like to arrange in a complicated fashion. The format I would like looks like | Fig_A1 | ...
0
votes
1answer
412 views

customize tabular

i want to customize my table using the tabular environments, i write : \begin{tabular}{|l|c|r|} \hline colonne 1 & colonne 2 & colonne 3 \\ \hline 1.1 & 1.2 & 1.3 \\ \hline 2.1 ...
3
votes
1answer
399 views

Big table in beamer

I have a big table that does not fit in the slides with Beamer, i write this : \documentclass[10pt]{beamer} \usetheme{CambridgeUS} % theme \usepackage{tikz} \begin{document} \begin{frame} ...
0
votes
1answer
2k views

bold table column in latex beamer

I'm trying to bold a single column of a table inside latex beamer. in latex i used \begin{tabular}{|l|c|c|>{\bfseries}c|c|} for example, to make the 4th column bold. in beamer, the bfseries ...
13
votes
3answers
2k views

Using \underbrace with table columns

I have the following code: \begin{displaymath} \begin{array}{|c|c|c|c} p & q & p\lor{}q & p\land{}q \\ \hline 0 & 0 & 0 & 0 \\ 0 & 1 & 1 & 0 \\ 1 & 0 ...
8
votes
2answers
384 views

Making an odd shaped table

I'm trying to make a table that looks like this: +--------------+ | Class 1 | +--------------+ | A | B | ...
2
votes
1answer
505 views

csvsimple and more filters

how do I use csvsimple (or what else? pgfplotstable?) with more than 1 condition as filter (i need about 7) to show a filtered csv-file as table? I tried things like: filter=\equal{\gender}{m} and ...
2
votes
1answer
1k views

aligning a table with a figure side to side using llncs format

using the \documentclass{llncs} instead of for example \documentclass{book} will not make the captions aligned together for the following example. How can I do to align them together: ...
2
votes
1answer
150 views

Erratic alignment inside table

I have got the following two-column longtable for items in my CV: \begin{longtable}{ r l } ... \end{longtable} Now the problem is: The second column containing the job descriptions is aligned ...
3
votes
1answer
3k views

How to use multirow inside a multicolumn with p attribute?

Is it possible to use the p attribute in a multicol, with a multirow embedded? A previous post doesn't provide a useful answer, since it only works with attributes other than p. It is exactly my ...
3
votes
1answer
295 views

Column format datatool

all. Suppose I have a csv file (let's call it data.csv): Solution,mol/L,Volume(mL),delta_v(mL),moles HNO3,16,5,0.2,3.125E-4 NaOH,6,20.2,0.2,3.367E-3 H2O,1;200,5,2.000E-1 H2SO4,6,5.2;0.2,8.667E-4 ...
3
votes
2answers
113 views

Many multirows in table

I am trying to achive something like this Name | Age | Sex | AverageGrade | Subject | Grade | --------------------------------------------------------- | | | |Maths ...
13
votes
3answers
1k views

Copy table row n times

I would like to copy the row of a table, let say, n times, but unfortunately my sample below does not compile. It is my understanding that the \foreach command should copy what is in its argument but ...
3
votes
1answer
288 views

LaTeX - Cline - Amendment at the right end

Cline command in connection with a text at the right end. Is this possible? Concretely, I want to present via the \cline command a time bar within tabular, which has at its right end a \triangleright ...
1
vote
0answers
43 views

How can I set the cell margins in a table? [duplicate]

Possible Duplicate: Column padding in tables How can I set (modify the default values) the internal, i.e., top/bottom/left/right, cell margins in a table?
2
votes
1answer
601 views

Centering does not appear to work in table

Hi I just can't get the text in row 3 to centre. Array package is loaded. Any help greatly appreciated. \centering \begin{tabular}{|c|m{5cm}|} \hline STATE & EVENT \\ \hline The vase was ...
2
votes
1answer
95 views

Placing a .pdf file in the center with \multirow

The following is my code \begin{sidewaysfigure} \centering \scalebox{0.9}{\begin{tabular}{c|c|cc} \emph{}&\emph{a}&\emph{b}&\emph{c}\\ \hline \rotatebox{90}{text}&\multirow{2}{*}{ ...
6
votes
1answer
230 views

huge table + footnote-ish thing

I have a book, which is basically a 100-page table. I use xtab package to layout this book. The book has a list of 100-ish definitions, which are referenced multiple times in the table. Think of a ...
3
votes
1answer
3k views

Making scientific table with AASTex package - is there a better option?

I really like the formatting of tables offered by the AASTex package. AASTex Generator But it is not quite what I need in terms of flexibility. Here is some code for a table I am making. I don't ...
5
votes
1answer
7k views

Latex error: \begin{document} ended by \end{table}

I'm getting the following error from my Latex code: \begin{document} ended by \end{table} But the error is not what the message says, because the begin{document} is ended by \end{document}. The ...
1
vote
2answers
345 views

Tables environment

I have a question about breaking lines and pages in table environment. I know, there are some solutions as using longtable package, however, it is quite complicated and I don't know how to work with ...
3
votes
1answer
694 views

Long table in landscape mode with alternating row colors does not work with \multicolumn

I am trying to put together a longtable in landscape mode over several pages using the longtable package. The idea is simple. I want alternating row colors in the main body of the table. However, ...
4
votes
1answer
400 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
384 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
247 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
267 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
605 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 ...
10
votes
1answer
710 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
959 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
539 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
508 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
567 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
137 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
420 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
280 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
168 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
203 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
869 views

Arrows between two tables

I'd like to connect two cells from different tables using arrows. How can this be achieved?
4
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
463 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 ...