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

1
vote
0answers
38 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? ...
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 ...
5
votes
0answers
68 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 ...
2
votes
1answer
243 views

Annotating Tables With Tikz; Adding Arrows

I'd like to be able to draw an arrow with some text on top connecting two arbitrary (i.e. possibly non-right-/left-most, possibly nonadjacent) cells of a table with a left-looking arrow. In ...
3
votes
1answer
46 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 ...
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 ...
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
2answers
144 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 ...
16
votes
8answers
13k views

LaTeX table capabilities

This might be a proper question for community wiki. How can various text processor (like Word or Writer) table capabilities be achieved using LaTeX? For example, can I achieve: multicolumns and ...
5
votes
1answer
39 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 ...
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 ...
3
votes
1answer
43 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 ...
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
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} ...
2
votes
0answers
219 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}{ ...
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
32 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
39 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 ...
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} ...
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 ...
6
votes
2answers
94 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} ...
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 ...
2
votes
3answers
104 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 ...
3
votes
1answer
52 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} ...
1
vote
1answer
40 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 ...
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} ...
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} ...
1
vote
1answer
94 views

Make table and text appear in the same page

I have this page with section Appendix defined like this \section{Appendix} Then I start the table. But somehow the table appears in the next page. The table is small enough to fit in the same ...
2
votes
2answers
49 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
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 ...
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
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] ...
3
votes
2answers
57 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| } ...
3
votes
2answers
57 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 ...
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} ...
1
vote
1answer
44 views

PGFPLOTS boxplot data from inline file

I have The following code: \documentclass{article} \usepackage{filecontents} \usepackage{pgfplots, pgfplotstable} \usepgfplotslibrary{statistics} \begin{document} ...
6
votes
1answer
57 views

Redefine @ for tabular inter-column specification within \makeatletter \makeatother

I need to use a tabular with a @ inter-column specification within a \makeatletter and \makeatother environment. I. e. I something like \makeatletter %code that uses @ as letter ...
10
votes
1answer
109 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} ...
0
votes
0answers
45 views
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
93 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 ...
2
votes
1answer
45 views

How to change flushright in order to set space between margin and text?

In my table I have got something like this: \multicolumn{1}{p{12cm}}{\rule{0pt}{1cm}\small\begin{flushright}\noindent keywords:\\ aaa\\bbb\\ccc\end{flushright}} \\ Does anybody know if it is ...
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 ...
2
votes
3answers
62 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 ...
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 ...
2
votes
0answers
119 views

LaTeX Table Generator

I'm new in Latex and I should deal with huge number of tables in different ways and limited time, for that I used LaTeX Table Generator website to make the process easier. Could you guys tell me what ...
9
votes
3answers
128 views

Generating a table based on a list and a number of columns

Sometimes a table is used to compact a large number of items. Example: a b c d e f g h j k l Instead of listing all items separately. We want to define a command that eases the implementation of ...