{tables} is about the tabular environment and related packages such as {array}, {booktabs}, {tabularx} 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
4answers
101 views

The table doesn't fit in the center or left side on the page?

I try to fit the following table on a page, but there is a lot of space on the left, and it doesn't fit in the center. Any suggestion please? \begin{table}[h] \centering ...
1
vote
1answer
27 views

“Misplaced \omit” error in automatically generated table

Firstly, I have read Werner's answer to "! Misplaced \omit" error but my problem is not solved there. A few days ago I made a table very similar to the one below, except that one had one ...
4
votes
1answer
82 views

table badly too wide

I got a bad problem with the width of my table. I can't get the point why its so wide. I'm using latexmk. Here's my code: \documentclass[final,12pt,abstracton,oneside,a4paper, ...
2
votes
2answers
61 views

organize columns in table

I made a table with this code: \documentclass[12pt,twoside,a4paper,openright]{report} \usepackage[portuguese]{babel} \usepackage[utf8]{inputenc} ...
1
vote
0answers
36 views

Make a large heatmap with gaps and tables between

I am trying to make a large heatmap which looks like this with gaps and row or column names written in some of the cells. Empty cells are also present in the heat map. Can i make this using pgfplots? ...
5
votes
0answers
66 views

Multirow cells with centered multiline text

I use tabu package to easily typeset tables. Now i need to typeset long table. So i used longtabu. The head of the table consists of much columns. Also there are lots of text in each cell and some ...
1
vote
1answer
65 views

Forcing paracol to look like a tabular

Consider the following tabularx construction: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage[table]{xcolor} \usepackage{lipsum,tabularx} \begin{document} \noindent ...
1
vote
1answer
80 views

Remove the line between the caption and the table

I try to draw a table by using the following code: \documentclass[]{sigplanconf} \begin{document} \begin{table} \begin{tabular}{|l|} \hline A \\ B \\ C \\ D \\ \hline ...
3
votes
1answer
45 views

Duplicate footnotes when tabulary is inside minipage

I want to make table footnotes by nesting a tabular or tabulary inside a minipage, and that inside a table. When I do this with tabular, it works exactly as it should. But with tabulary, it produces ...
1
vote
1answer
61 views

Colouring cells of tables without xcolor

Are there any decent alternatives to xcolor if I want to colour cells in a table? I want to highlight certain cells depending on my data, but not entire rows or columns. I'm using Knitr and am having ...
2
votes
2answers
73 views

Table Row Spacing

I created a table in LaTex using TeXstudio and cannot properly horizontally space the content within the last column. \documentclass[12pt,a5paper,onecolumn]{book} \usepackage{fontspec} ...
3
votes
1answer
54 views

Problem with tabularx

The following code does not work ?? \documentclass[a4paper]{book} \usepackage{tabularx} \begin{document} \newcommand{\vrulehg}[1] {\makebox[#1][c]{\rule{1pt}{0.5cm}}}% rule for vertical bar cell ...
5
votes
1answer
34 views

Overhang parameter of rowcolor changes overhang of each cell, not just the row

I want to highlight a few rows in a table, and used \rowcolor as per the first table. Well, this results in the row coloring being wider than I desire, so I thought the simple fix would be to adjust ...
3
votes
1answer
41 views

List of figures / tables when using subfloat to combine a figure and a table

I want to have a plot and a table side by side which can be solved using the subfig package. However I'd like the table to appear in the list of tables and not in the list of figures. Is there a way ...
1
vote
0answers
35 views

Longtabe + multirow + page break

I have with longtabu and multirow. Latex does not display them properly in a page break. \begin{longtabu}{| X[2,l] | X[2,l] | X[2,l] |} \captionsetuptableBegin \caption{Main Objects} ...
3
votes
2answers
143 views

How can I improve the look of my table? (no white space, nice font size, and not going off the end of page)

I just want a nice plot but I try different things and sometimes it goes of the page, or there is white space (like now). I would like adequate spacing between lines and varying font heights. Here ...
1
vote
0answers
49 views

Numering equations within tabular

My first post here so please bear with me! I am looking to submit a paper to a SIAM Journal, which requires me to use their template. I have my manuscript complete, but when copied/pasted into the ...
4
votes
2answers
51 views

Align left hand side of two tables

Hi I am putting together a crib sheet and on it there are two tables of information that are separated by a paragraph or two of other text. Latex centres each table nicely, but because the tables have ...
2
votes
0answers
31 views

Splitting tables longer than a certain size in ConTeXt

Is there any way in ConTeXt to provide a 'one size fits all' table setup that allows large tables to span pages (> 75% of page height for example) but tries to keep smaller tables together by not ...
4
votes
1answer
36 views

Raggedright not working inside a table

I have a table and i want to align elements left. This is my code : \begin{tabular}{|c|c|} \hline Priorité&Description \\ \hline \multirow{4}{16 mm }{\centering 0} & \tabitem ...
2
votes
1answer
74 views

Underline and bold round number in table

I use numprint package to round number in table. I want to bold, underline, etc., some round numbers, but the following is not working \documentclass{article} \usepackage{numprint} \begin{document} ...
1
vote
1answer
98 views

Really big table troubles

I have a really big problem here. I have to insert a big table in a document. No matter how I tried to make it smaller, my boss does not want it to be changed. He made it using word, and I have to ...
4
votes
1answer
33 views

\alert beamer messes up tabular layout

In beamer, I just want to highlight some cells with \alert, but when I use \alert it messes up my table layout. For some reason, I defined a special column type to have a more beautiful table. When I ...
0
votes
0answers
52 views

Text layout and table

I had to put three large tables in text. I did that using landscape command. However, when I start to write again after these tables, text comes after tables and I want to use the empty space on the ...
6
votes
2answers
93 views

\usepackage[T1]{fontenc} creates warning in \tabulary

An example will speak for itself: \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage{tabulary} \begin{document} \begin{tabular}{c}aa\end{tabular} ...
4
votes
1answer
68 views

Automatic tabular cell switching

Now I want to automatically switch cols and rows by counting. I have already pinned the issue down to the alignment character &: \newcounter{myRow} \newcounter{myCol}[myRow] \setcounter{myRow}{1} ...
3
votes
1answer
51 views

Problem with hyperref and tabular (not table)

The link to the target inside a tabular is too low. This is not inside a float, so hypcap and \hypcapspace have no effect. Is this a known problem? \documentclass{article} \usepackage{hyperref} ...
2
votes
2answers
47 views

Long table to fit on 2 pages

In a middle of a page I have a long table with a lot of maths formulas and I would like to make it fit on 2 pages automatically. Here the code : \documentclass[11pt, a4paper]{article} ...
3
votes
1answer
37 views

Align cell contents at top

Consider the following example: \documentclass{article} \usepackage{diagbox} \newcommand*\mc[1]{\multicolumn{1}{c}{#1}} \begin{document} \begin{table} \centering \begin{tabular}{l | *{8}{c}} ...
1
vote
1answer
39 views

Draw array(data structure) with underbraces at subarray

I'm pretty new to latex and I'm having some difficult to draw this: It is very important that the dots do not be inside a column, but act like a separator (actually it indicates that there are an ...
1
vote
0answers
10 views

combining threeparttable and tabu results in error [duplicate]

While working on my first ever Latex document I have been looking for a way to add notes to tables. An answer to another question suggesting using threeparttable. Regardless of whether I add the ...
0
votes
1answer
72 views

Table with different widths and rows

I am using the following code to write the table \documentclass[11pt, fullscreen=true, bookmarks=false]{beamer} \usepackage[utf8x]{inputenc} %\usepackage[T2A]{fontenc} ...
3
votes
2answers
74 views

Weird vertical lines with table

Using the code: \documentclass[a4paper]{article} \usepackage{ngerman} \begin{document} \begin{table}[htb] \begin{center} \begin{tabular}{|c|c|c|} \hline \textbf{Value A}&\textbf{Value ...
2
votes
1answer
49 views

How to replace one table with another table in beamer?

In my slides i need such a way that on mouse click the table on the current frame has to replace with another table that i need..currently my code is: \begin{table}[htb!] \begin{center} ...
3
votes
2answers
55 views

Tabularx with multi-column and multi-row

I used the following code to create table \usepackage{multirow} \usepackage{tabularx} \usepackage{booktabs} \newcolumntype{L}{>{\raggedright\arraybackslash}X} % for ragged-right material ...
2
votes
3answers
91 views

Adding a list inside of a table

Basically i'm trying to add create this table : But I'm stuck with the listing inside of a table! Here's my try even though it's nothing like this: \begin{center} \begin{tabular}{ |l|l|l|l| } ...
2
votes
1answer
81 views

Text is not fitting the column

I want my texts to continue in the next line instead of continuing in the other column. How can I manage this? My code is : ![enter image description here][1] ...
2
votes
3answers
103 views

How can I add label and reference to each row of a table?

I have 2 tables, and they have a common column so I want each row from the first table to point to the corresponding row of the second and the other way around. And also, if it is possible that the ...
0
votes
1answer
39 views

Table numbering incorrect

Since trying to fix the problem described in this question: Tabularx moving table to next page, ignoring optional arguments I have removed the offending Table and now noticed that my Tables have all ...
1
vote
2answers
72 views

Positioning text in rows in a table

I am using following code for placing table in my presentation \begin{frame} \frametitle{Economic theory vs. Scoinomic Theory} \begin{table} \begin{tabular}{l l} \toprule \textbf{Economic voting} ...
3
votes
2answers
54 views

Itemize in tabular // minipage resulting in `Missing \endcsname inserted` error

The minipage solution of this accepted answer is also what I'm looking for, that is, this one :-) not this one :-( The commented-out part of the MWE below tries to implement that minipage ...
2
votes
0answers
206 views

Want to add more column on the left side?

Want to add more column on the left side? \documentclass{article} \usepackage{pgfgantt} \usepackage{rotating} \usepackage[graphicx]{realboxes} \newganttchartelement*{mymilestone}{ ...
0
votes
0answers
45 views

How can I make this kind of table in Latex? [duplicate]

I want to make this kind of table.
2
votes
1answer
51 views

Table with offset rows

How can I make a table that looks like this: where column 2's values are centered between column 1's values.
2
votes
1answer
90 views

Facing Table of contents problem?

On first page of Table of Contents there is no header and footer, but on the second page there are a header and a footer. My question: I don't need any numbering and header/footer on table of ...
10
votes
1answer
108 views

Use \cellcolor in \tabulary

The \cellcolor command from package colortbl doesn't seem to have any effect in a tabulary environment, though it works in tabular. Here is a minimal example: \documentclass[a4paper]{article} ...
2
votes
1answer
49 views

Removing the effect of color table, after the table ends

I am using color tables in my document, as it produces very nice results. Further to that I use some equations using cases environment. I see that the colors from the color table get mixed up with ...
0
votes
1answer
53 views

Tabular - Problem in aligning text

I've created a table and I want the text to be centered and aligned vertically in the middle so I used this code \documentclass[a4paper]{article} \usepackage[french]{babel} ...
2
votes
3answers
61 views

Two column list with

How can I make a list of two columns with a border and a vertical line separating the two columns as an image? I've tried with tabular and mini page but nothing works properly! Can someone show me how ...
3
votes
0answers
39 views

One tabular with column input from multiple data files with pgfplotstable

I have a question which sort of extends the page Multiple Files input to one pgfplotstable. In the answer to this question, data is read from dataB.dat and subsequently appended to the data as ...