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

1
vote
1answer
37 views

Place tables in the middle of the page

I have two tables, table1 and table 2. I want table 1 in the middle of page 1, table 2 in the middle of page 2. First, I tried, \begin{table}[htbp] \input{table1} \end{table} ...
5
votes
3answers
81 views

Automatically resize tabular to avoid it being pushed to next page

Context My document has one title phrase and one table containing texts. I would like to have them both on one page. The table's content may change (sometimes more or less 2-or-3-lines-texts ...
2
votes
2answers
42 views

how to make a normal width of the cells,when some of them are normal and all other is too wide?

i tried to make table that looks like this: I wrote this: But i did something wrong and the result was What did i do wrong (or didn't) and how i can fix it? \usepackage{extsizes} ...
1
vote
1answer
35 views

Problem with tabularx's vertical spacing

I have a problem with the way tabularx (or is it booktabs?) is handling vertical spacing between horizontal lines and the cell content / background color. MWE: ...
1
vote
2answers
37 views

How to denote column name and row name in table?

How to denote column and row like this? Here is my code, but I am not able to replicate the table in the picture. \begin{table}[ht] \large \centering \begin{tabular}{|c ||c | c |c |c | c | c ...
1
vote
2answers
42 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 ...
1
vote
2answers
57 views

iosart2c table* will make next table caption overflow into second column

In the two-column layout of iosart2c, the very next "table" after a "table*" will have its caption incorrectly flow into the second column, thus overlapping with the text there. Is this a known ...
0
votes
2answers
34 views

Complex table with \multicolumn

The layout that I need to implement inside Latex is this (made with M.word) I tried to make this layout Here is my Code: \begin{tabular}{ |p{2cm}||p{12cm}| } \hline \multicolumn{2}{|c|}{Lorem ipsum ...
1
vote
1answer
58 views

“Extra alignment tab has been changed to \cr” error in a multicolumn table

I got this error: ! Extra alignment tab has been changed to \cr. <template> \endtemplate l.41 & \multicolumn{3}{l}{\bf Head of Department } \\ When I attempted to compile my ...
2
votes
2answers
25 views

How can I get a TABLE to respect the narrower environment in ConTeXt?

The narrower environment in ConTeXt is very useful, but TABLEs misbehave inside of it. I would expect a TABLE in a narrower environment to align with the new margin, but instead, the TABLE is aligned ...
0
votes
0answers
12 views

zoom in on a portion of a table in beamer [duplicate]

I have a very large table on a beamer slide that I want to show the audience first (so they get a sense of the whole thing) but then I want to zoom in on particular portions of that table. How can ...
2
votes
0answers
37 views

how to hatch a cell in table

\documentclass[a4paper,12pt, twoside]{article} \usepackage{enumerate} \renewcommand{\baselinestretch}{1.5} \usepackage{amsmath, amsthm, amsfonts, mathrsfs, latexsym, amssymb, ...
1
vote
2answers
85 views

Elements in tabular environment won't right align

I'm trying to format my resume and everything is working fine except in one table the dates won't right align. The weird thing is that I use the exact same code for another tabular environment and it ...
2
votes
1answer
533 views

Auto-break Cell in longtable Environment

I try to build a document with a question-and-answer form using the longtable environment with two tabulars. The first one is for questions, the second one for answers. If my cell contains more data ...
3
votes
0answers
67 views

Aliasing a variable argument command into tabular environment [closed]

I am making a multi-language document. With the big help of Mr. Steven B. Segletes, I am able to deal with several languages mixed document, which can only output in wanted one or several laguages. ...
6
votes
1answer
216 views

Boxing some cells in tabular environment

I would like to make a table in LaTeX, where I box some of the cells within my table. And I would like to be able to nest boxes so that I can have a box in a box. Here I have an example of what I ...
4
votes
1answer
1k views

Using sidewaystable environment with footnotetext

My new problem is this code: \documentclass[a4paper,12pt]{article} \usepackage{rotating} \begin{document} \begin{sidewaystable}[h!] \centering \setlength{\tabcolsep}{5pt} ...
5
votes
1answer
3k views

lstlisting in a tabular environment

I am following Adding C++ code in Latex for adding C++ code to the document. What I have is a table with the following format: \documentclass[12pt,a4paper,final]{report} \usepackage[utf8]{inputenc} ...
0
votes
0answers
23 views

Siunitx - Tabular, using product

I'm trying to use siunitx in a table and I want to use a product. Is there a way that I can configure the S column type such that it accepts products? Something like this. This looks very strange. ...
1
vote
1answer
15 views

“No suitable columns” error when putting cases in tabulary

This code runs fine: \documentclass{article} \usepackage{amsmath} \usepackage{tabulary} \begin{document} \begin{tabulary}{\linewidth}{L} $ M $\\ \end{tabulary} \end{document} But this code ...
2
votes
1answer
25 views

Trouble with fixing \noalign in a multicolumn environment

I have a problem with one of my tables when I use the multicolumn command. I tried a lot of solutions on this webpage related to \noalign. But, different from those, I don't use \hline in my tables. ...
2
votes
1answer
47 views

Why is the output unstable and how can I fix it?

I am trying to create a table with the following code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{titlesec} \usepackage[francais]{babel} ...
0
votes
0answers
24 views

Is it possible to wrap a table around another table (or any float/text/minipage)?

Is it possible to wrap a table around another table (or any float/text/minipage)? I.e. the table width is adjusted so another thing indents the table. Imagine text wrapping a float, but instead of ...
0
votes
1answer
25 views

Tabularx and decimal alignment with dcolumn

I am trying to implement decimal alignment on a regression table using tabularx. I am using the dcolumn package to do it, but there are two problems: (i) only two out of three columns are decimally ...
1
vote
1answer
28 views

Long table - How can I shrink it without destroying the formatting and how can I wrap the titles of the columns?

I have this long table and I am struggling to find a way a) to wrap the titles of the 3rd and 4th column into two lines (Transmitted data that was unencrypted & Third party domains)and b) I ...
2
votes
0answers
41 views

longtable overwrites page number

In my thesis I need to display a lot of long tables for which I use the longtable environment. Most of the time it works perfectly, but sometimes for some reason it doesn't split the table and the ...
1
vote
1answer
18 views

Table: One column percentage and the rest should be split equal

I try to have one column 30% of \textwidth and the rest should split equally. I achieved this, but it always destroys my table if I have the values in the table centered (left column should be left ...
4
votes
1answer
188 views

Tikz or tabular to build up a table

To build up a table like the one from the picture with this weird shape and different line thickness, would you go with tabular or with tikz?
3
votes
0answers
23 views

Overfull \vbox caused by multirow and multiline text

I have read this question, but i just can not explain why exactly overfull happens in my case, so i ask for help. First of all, two boxes in spanned cells (that ones with rotated text) produces 4 bad ...
3
votes
1answer
57 views

How to divide the column in equal size in table

below is my code snippet. I want to make the size of all column equal. The column "XYZ" is not coming in same size with others. The same code works with \documentclass[conference]{IEEEtran} class ...
0
votes
2answers
60 views

Could someone turn this table into a latex table?

I have this table on Word and I would like to convert it to a latex table. The only thing is I don't know how to create rows that have 2 lines. If someone could just give me the code to make this ...
4
votes
2answers
2k views

Table formatting error extra alignment tab

\begin{table}{ht} \begin{tabular}{|cc|} \hline 10g & Tryptone // 5g & Yeast extract // 5g & NaCl // 10g & Agar // 1ml & Ampicllin (100ng/ml) /hline \end{tabular} ...
5
votes
3answers
162 views

Vertically center a table inside a subfloat

The following MWE produces two tables side by side: \documentclass{report} \usepackage{tabu} \usepackage{booktabs} \usepackage{multirow} \usepackage{subfig} \usepackage{siunitx} ...
3
votes
3answers
56 views

How to align table so that it doesn't overflow the page horizontally

I need this to fit in page, but it overflows! I tried reference on the link How to shrink a table automatically so that it fits onto a page? Latex table goes out of page border but no success. ...
1
vote
0answers
35 views

Toprule, midrule and bottomrule not showing up correctly

I'm trying to set up a table with the nice look from the \toprule, \midrule and \bottomrule commands. However, they don't seem to show up correctly - the thickness of the top and bottomrule are not ...
0
votes
1answer
110 views

Longtable integration Stata

As far as I am aware, the available commands that produce LaTeX-formatted tables of stored estimates using Stata, will only produce tables using either the table or tabular environments. Do any other ...
0
votes
1answer
18 views

Specify the height of table header

I'm new to Lyx and I have a problem. I have the following table and everything is good except that I want to limit the height of header cells. I want them to be shorter that this where each header ...
4
votes
1answer
66 views

Move tables to appendix

I have almost 100 tabular environments in my latex document and I've decided that they would be better placed in my appendix. What is the easiest way to move them all and provide a reference to them? ...
2
votes
2answers
33 views

how to make table width fit to width of column?

This table should fit into one column of two column page perfectly. But it displayed a bit longer than column width. I want to make it fit correctly. \begin{table}[h] ...
2
votes
1answer
1k views

How to rid of automatic .pdf label from \includegraphics? [duplicate]

Possible Duplicate: How to avoid showing the filename when using graphicx? So I'm using the \includegraphics command to put a PDF image of a table into my LaTeX file here, but this pesky ...
1
vote
0answers
37 views

Removing blank page before landscape table

I am for the first time using a landcape for some big table I want to put at the end of an article. I noticed that each time I am using it, it left me some white blank page before. Example: As you ...
0
votes
0answers
13 views

Multiple row in heading for tables

I have a problem formulating two rows in my heading of my table using pdfplotstable exporting csv file from excel. This is what i have: \usepackage{pgfplotstable} \documentclass[a4paper, 12pt]{book} ...
1
vote
1answer
21 views

Latex tables side by side 2 tabulars

Im trying to make 2 tables side by side, however each table consist of 2 tabular. I have tried using minipage in order to put them side by side, but they keep overlapping ...
2
votes
0answers
25 views

How can I set individual column alignment while using siunitx?

I'm using the following code to make a table that will many many more rows. I want to make it so that the columns that contain numbers will be right and left justified, like the Year row looks like. ...
2
votes
1answer
20 views

pgfplotstable with .tsv file where the headers have underscores: How to avoid “Missing $ inserted”?

The file I want to show is a .tsv file that I cannot edit. It looks like this: up_gene up_chr up_strand up_Genome_pos APLP2 chr11 + 129991686 BACE2 chr21 + 42617990 BRDT chr1 + ...
3
votes
1answer
23 views

Adapted table width to text using pgfplotstable and csv excel

I have a problem with forcing my table to the same width as the text. I export the csv (Excel) file to Latex using this approach, see code. Changing text-size in Excel works to a curtain "level", but ...
2
votes
1answer
93 views

Latex Table is moved by Appendix Chapter Heading

In the screenshot we see two tables and I want them on the same level.. I am pretty new to Latex so I really dont know what to do.. Thanks in advance!
1
vote
1answer
38 views

How do I include the word “Table” in the LoT for longtables?

I'm working on my thesis using a package provided by the University. When I compile my document, the LoT is displayed as follows: Do you know how can I include the word "Table" for the appendix C ...
2
votes
1answer
33 views

Equation Array Nested inside Tabular

This kind of set up where equation array or some align environment, doesn't seem to work inside tabular environment event if math mode is enabled: Eg : Align \begin{align*} (1+x)^2 &= 2\\ ...
2
votes
2answers
71 views

Position of table columns

What can I adjust so that both columns begin on the same line? \documentclass[a4paper,10pt,fleqn]{article} \usepackage[polutonikogreek, latin, english, french, ngerman]{babel} ...