{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
63 views

In a table, give an empty line the height 0, so that it virtually disappears

I am using an add-on to Stata in order to generate Latex-Tables that show estimation results and significance levels for some models. On of these programs creates table of the following form, which ...
0
votes
1answer
47 views

Help with tables and multirow

I'm trying to create a table with the following structure: Using the following code: \begin{table}[htp] \centering \begin{tabular}{ |l|l|l|l| } \hline ...
1
vote
1answer
15 views

How to adjust a big sidewaystable little bit lower vertically?

The rotating's sideways table just crosses the Chapter title: how can I adjust the table vertically lower? Ps. Dealing with big tables, other solution here contains multilinebreaks where prob with ...
1
vote
0answers
23 views

Automatic linebreaks for equations in tabular environment?

I have so far tested the breqn's dmath environment example here but it does not work with tabular in rotating's sidewaystable, resulting into \cr errors in wrong place. So How can you automatically ...
2
votes
1answer
28 views

Footnotes in table with savenotes

After considering options for getting my footnotes to work (Footnotes in tables?), I settled on the savenotes environment. Sadly it seems to work randomly, based on the position in the table. I have ...
1
vote
1answer
30 views

Space between columns in a tabular

I am trying to format the column space in a tabular. However by using Google I only found a global way to set every space the same (see code) with \tablecodesep. \setlength{\tabcolsep}{0em} \noindent ...
0
votes
1answer
24 views

Abbreviated cite with Biblatex's philosophy-modern style

I am writing my master thesis with classicthesis and I decided to use Biblatex's philosophy-modern style \usepackage[style=philosophy-modern,hyperref,square,natbib,backend=bibtex]{biblatex} ...
1
vote
1answer
51 views

Tabular cell alignment

I feel like this is a noob question, but I've been busting my chops trying to find an answer to this. I'm trying to create a table with two side by side paragraphs. They don't appear side by side ...
0
votes
1answer
30 views

Table formatting equal to page size

I have been looking around on this forum, but unfortunately I couldn't find the answer to my question. As given below, I make use of a table. The table contains two columns and I want the first column ...
2
votes
1answer
44 views

siunitx: Appended currency symbol mispositioned with aligned negative values

I'm trying to do some LaTeX-table-magic for a friend, and I've run into a strange issue I haven't been able to find a solution for. I'm using siunitx (along with booktabs) to align some values in a ...
2
votes
1answer
33 views

Table is not centering

I'm having some problems creating the following table: \begin{table}[h] \begin{tabularx}{\textwidth}{X X} \textbf{Advantages} & \textbf{Disadvantages} \\ \begin{itemize} \item ...
1
vote
1answer
31 views

Wrap a verbatim table environmet

I have text with all sorts of characters in it that I want to use in a table so thought that verbatim might be suitable, but this doesn't seem to wrap. I've seen suggestions for listings but this ...
1
vote
0answers
46 views

How to use longtabu like table* in twocolumn paper

I want to use longtabu in twocolumn paper in latex. My table has a lot fo rows and columns, so I want it to be full-width. I know longtabu does not support twocolumn and it throws error message when ...
3
votes
2answers
131 views

Three side-by-side tables

I am using this LaTeX code to generate three tables side by side. However, it showing errors and not giving satisfactory result. Can anyone please help me to short out the problem. \begin{table} ...
1
vote
1answer
32 views

How to put footnotes inside table inside minipages in the same page as the tables?

I have footnotes inside tables that are inside minipages (to put two tables in the same row in a two-column article). I use \addtocounter{footnote}{1} \footnotetext[\value{footnote}]{ blah blah} ...
2
votes
3answers
52 views

A table with fixed width columns, coloured both background and text

I am trying to create a table which has all three traits, mentioned in the title, at once. I tried tabular with individual \color for each column, tabu with \rowfont, and custom column definitions ...
1
vote
1answer
66 views

Automatically generate the value table of a mathematical function

Is there an easy way to get the value table of a mathematical function? Consider the following example and pseudo-code: \documentclass{article} \usepackage{pgfplots} \usepackage[nomessages]{fp}% ...
0
votes
2answers
210 views

How to generate a table as below?

I try to generate a table like this using {longtable} and {supertabular} but failed. Anybody can help? \documentclass{article} \begin{document} \begin{supertabular}{|c|c|c|c|c|} ...
3
votes
4answers
79 views

Two large sideways tables on one page

I'm new to Latex and I've got two very large sideways tables. I want to put them into one page and used the minipage environment. But the result is way too large for the page and now I'm a bit ...
1
vote
1answer
16 views

Can't get upper Table border

I need your help in allowing an upper border for a table. many posts have suggested that this should be written: \begin{tabular}{|c|c|c|} I have done so but did not get an upper boundary, in my ...
2
votes
2answers
91 views

Centre text in table and add color to cells

Hi i'm trying to centre the text in the cell, there's on numbers so it's quite small, also i need to add color for the cells, (1 is green and 6 is red) but because I am using \cline it overwrites the ...
2
votes
0answers
61 views

How to typeset a list of laptop hardware specifications [on hold]

I would like to typeset a nice list of the basic HW specifications (CPU, RAM, HDD, etc.). Some of them (CPU,RAM, HDD) would require a list of nested key-value pairs (like Speed-1.8Ghz). My question ...
2
votes
2answers
34 views

Help with multirow table

I am trying to wrap text in the multirow column (1st one) and only have the vertical lines inside the table if that makes sense. Can anyone help me? ` \begin{table*}[!htbp] \centering ...
0
votes
0answers
21 views

Borders are missing when using multicolumn [duplicate]

I want to span a cell across two rows using multicolumn. This works but the borders are missing then. \begin{tabular}{|c|c|} \hline \multicolumn{2}{c}{Multi-column}\\ X&X\\ \hline ...
1
vote
2answers
46 views

How to avoid page break after table?

I have a small LaTeX table (tabular) created in R with the xtable package and I would like to place a figure underneath the table on the SAME page. I have tried various things (using packages float, ...
1
vote
1answer
34 views

Positioning of a table (tabularx)

I need to put a table in the right side of the page, how can I do it? (it should looks like in the picture). Here is code which I have right now. \documentclass{article} \usepackage{ucs} ...
2
votes
2answers
22 views

How to get rid of vertical offset in a table containing pictures?

While trying to compose some kind of "wanted poster" (Steckbrief), I could not get rid of the vertical spacing LaTeX automatically introduces! Here's an MWE, which should work on Linux/Mac OS with ...
0
votes
0answers
20 views

I am using pandoc to convert my docx documents to TeX, tables are not converted correctly, any hints?

I have discovered pandoc which I use to convert docx files to tex files. There is some manual work necessary afterwards, mainly adjusting the captions to have them in the chapter, section, subsection, ...
1
vote
1answer
42 views

Is there a way to make image/Table appear on hovering mouse on another image in the pdf?

I am trying to make an image or a table appear on mouse hover (mouseover) over specific parts of another image like an info-graphic. Can someone tell me a package and syntax to achieve this? The ...
0
votes
1answer
23 views

Multi column table in LaTex

I want to draw a multi column table in LatTeX. Please help me. Four row and three main column. 1st column single. 2nd and 3rd column have each four sub column.
0
votes
0answers
25 views

Reduce horizontal empty spaces between figures

I want to place the figures in grid mode and I use following lines for the same \begin{figure*} \begin{tabular}{cccc} \includegraphics[width=40mm,height=40mm]{mds_chiller2_august.pdf} ...
2
votes
2answers
30 views

How to cite a Table that has been copied from some other resources?

I've copied a table from internet and I want to cite that table. How can I do it?
0
votes
1answer
24 views

Default low row height of table and tabular environments [duplicate]

Suppose that we have this code: \begin{table} \caption{xxxx.} \centering \begin{tabular}{|c|c|} \hline \rowcolor{Gray} % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ... 1 & ...
0
votes
0answers
27 views

Why my table not showing up where it should? [duplicate]

I'm doing something like this some text \input{tables/ratings} some more text However, it's popping up randomly. How can use the \ref{} command in this case? Please suggest some simple solution. ...
0
votes
1answer
29 views

Resizing a table using resizebox raises an error

I have tables which are quite long because they have between 9 and 25 columns. They don't even fit on a page with a landscape layout. I tried to resize them using resizebox as suggested here but it ...
1
vote
2answers
75 views

table heading overlays text

I have a small problem with my table formatting. When I run the following code, the headings of the table are hidden underneath the contents of the tables. Also the cline does not correctly underline ...
0
votes
0answers
19 views

wrap text in column headers excel2latex

% Table generated by Excel2LaTeX from sheet 'Sheet1' \begin{table}[htbp] \centering \caption{Add caption} \begin{tabular}{rrrrrrrrrrrr} \toprule \multicolumn{1}{l}{\textbf{State}} ...
0
votes
0answers
46 views

How to limit the width of \halign?

The glues inside my \halign rows don't get reduced when they should. The contents of \halign behave as if they had infinite horizontal space. This is the source code for the first table (it's very ...
1
vote
0answers
23 views

How to add a table before it is referenced

I have a table needs to be added. The table is big and crosses columns. So it can only be placed at the top or bottom of the page. I want the table to be shown first and then comes the reference. But ...
1
vote
1answer
36 views

pandoc citations inside table

How can I force pandoc to process the citations that are used inside a table/tabular environment? A minimal example is: \begin{table}[t] \begin{tabular}{|l|l|} \hline [@referencekey] & ...
2
votes
0answers
43 views

Table cell pattern of colors

With \cellcolor one can set the background color of a cell. I use this in documenting a communication protocol to indicate the type of the value in a certain field, say green is type X and blue is ...
1
vote
1answer
49 views

How to scale figures and table to text width?

I'm inserted figures and tables in my document in the following way: \begin{figure}[!htbp] \centering \includegraphics[width=110mm]{figure.jpg} \caption{The caption.} \label{fig:label} \end{figure} ...
4
votes
1answer
60 views

Table with multirow vertical arrow and text

I would like to annotate a table with an arrow along the right side representing (in this case) decreasing operator precedence for a computer language. I am familiar with the other solution listed ...
3
votes
2answers
98 views

Table with extremely many columns

I'm working on a mathematical problem (too much detail will be a spoiler) which involves getting data via a third-party program (there's a complicated algorithm involved that I do not understand, but ...
5
votes
3answers
125 views

Table xcolor @{,} \rowcolor broken text

i am using a formatted table like this: \documentclass[a4paper,10pt]{report} \usepackage[table]{xcolor} \begin{document} \begin{tabular}{|c|r@{,}l|c|c|c|c|} \hline $B_N$ ...
3
votes
3answers
57 views

How to align two column in a table

I have two columns but right one looks like vertically centered align. How is it possible to align them in the same way? \documentclass[a4paper]{letter} ...
1
vote
1answer
126 views

Creating a Table with LaTeX

How can I create a table such as the following using LaTeX? I have little LaTeX experience, and I am looking for either a template for something similar, or some guidance. Any help is really ...
1
vote
1answer
28 views

Spliting table column rows for fitting default page width

I have the following table in Appendix A. I would like to fit the table into the width of any other regular page. How can I split the long content of specific column rows into 2 rows for fitting and ...
1
vote
2answers
43 views

How to force table to be below a enumerated list

When I try to place a table in a list, like: \begin{enumerate} \item \begin{table}[htb!] \centering \begin{tabular}{c|c|c||c|c} $P$ & $Q$ & $R$ & $P\wedge (Q\vee R)$ & $(P\wedge ...
5
votes
1answer
84 views

How to break lines in tables without vertical spacing?

I'm building a table and I need to have line breaks in each cell of one column. I have found the following example: How to add a forced line break inside a table cell Here is the code: ...