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

0
votes
2answers
22 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 ...
0
votes
1answer
26 views

How to denote column name and row name in table?

how to denote column and row like this? Thank you in advance.Here is my code. But I am not getting like this table. \begin{table}[ht] \large \centering \begin{tabular}{|c ||c | c |c |c | c | c ...
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
2answers
22 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 ...
2
votes
0answers
33 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, ...
0
votes
0answers
22 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. ...
2
votes
1answer
22 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. ...
1
vote
1answer
14 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
46 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
26 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
39 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 ...
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
53 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 ...
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
32 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
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 ...
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} ...
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
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. ...
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 ...
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
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 + ...
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\\ ...
1
vote
1answer
18 views

Reproducing formatting of MIX words/Text across multiple cells of a table

I'd like to reproduce the formatting of MIX words in Knuth's The Art of Computer Programming. There is good example of what is giving me problems on the 3rd image on this page: ...
0
votes
2answers
26 views

Table multicolumn branched columns

I would like to generate table exactly with same pattern. I am trying from last few hrs not able to get it correct any one could plz help me ASAP thanking you
1
vote
1answer
33 views

footnote numbering

Whatever I do the footnote starts with the number 5. How can I change that? \documentclass{article} \usepackage{tabulary} \begin{document} \setcounter{footnote}{1} ...
2
votes
1answer
37 views

How to set equal size of cells in tabular environment?

so i would like this table to have equal sized cells, but I cant seem to avoid the overlapping of cells in the second row. How can I define a size? ...
2
votes
2answers
50 views

\frac fails in tabular environment

Surprisingly the following code shown below fails if there's a \frac, if not it works fine i.e. x/y(z) etc \begin{tabular}{cc} \frac{1}{2} &\frac{3}{4} \end{tabular} any ideas ?
2
votes
2answers
70 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} ...
2
votes
0answers
32 views

How to prevent \rowcolor from altering the thickness of cell borders?

\rowcolor seems to alter the thickness of cell borders. Example: \documentclass{scrbook} \usepackage[table]{xcolor} \definecolor{maroon}{cmyk}{0.20,0.00,0.00,0.00} \begin{document} ...
1
vote
0answers
29 views

Beginner's problem - Undefined control sequence… Problems with RITA package

I am having a lot of "small" problems with my code in ShareLatex. I think the most of them because the package provided from the Journal (I copied the code for new project in ShareLatex and it worked ...
1
vote
1answer
34 views

How to fix the columns width in a table

I tired a lot with the following code but always i get unequal size of columns { I need columns (2-end) of the same width. \begin{table}[h] \resizebox{\textwidth}{!}{% ...
1
vote
0answers
16 views

How do I minimize tabulary width, contingent on minimizing height or lines per row?

I frequently find that I want to make a table with final column (typically out of 3-5) that will automatically break over multiple lines. So I use \begin{tabulary}{\linewidth}{llL} [...] ...
4
votes
2answers
51 views

How do I centre a tabularx table?

I have a pretty big data table for an organic chemistry lab and trying to make it look nice as possible. However, not all headers are centred. % Organic Chemistry II Lab Template ...
1
vote
1answer
21 views

Different Vertical Alighments Across Columns in a Table

I'm trying to create a table where some of the columns are are meant to be centrally (vertically) aligned, and some are meant to be at the top. It appears that using the 'm' column type for centering ...
1
vote
1answer
59 views

Sorting latex tables automatically

As the part of my thesis, I have more than 20 tables. I need to sort the alphabetically. The tables are in following format: \begin{table} \label{tab:first} \begin{tabular}{lllllll} ...
0
votes
0answers
14 views

Vertical alignment of attributes on long table

I have created a longtable of 4 columns. As shown below. I would like to have the attribute on the first column, in this case "Business" vertical (sideways)instead of horizontal. What is the easiest ...
0
votes
2answers
28 views

vertical rule in tabular cell over part of its height

I want to insert a vertical line in a tabular cell which doesn't run over the full height of the cell, but only 90% of it. I tried: \vrule height 0.45\height depth 0.45\height, but \height throws ...
0
votes
0answers
22 views

rowcolor in an imbricated table

When I use the \rowcolor command in an imbricated table, all the rows of the inside table are colored: \documentclass{article} \usepackage[frenchb]{babel} \usepackage{colortbl} \begin{document} ...
4
votes
2answers
164 views

Table with unknown number of rows

I (a LaTeX noob) am trying to create a command that I will call as follows: $\machine{a_1}{a_2}{\vdots}{a_n}$ with a variable number of arguments, which will output $\begin{array}{|c|} \hline ...
2
votes
2answers
24 views

removing spaces and cleaning table in latex

how to remove the spaces which i think from automatic justification in table \documentclass{article} \usepackage{array} \usepackage{longtable} \begin{document} ...
2
votes
1answer
33 views

How can i insert a big table in IEEE template?

I am using IEEE template for my paper writing. Now i want to insert a table which is 11x12. So it needs to stretch to the two columns format in the IEEE format. I did like this: ...
1
vote
1answer
37 views

Why one cell in a table have different height?

I am trying to make a table having equal height and width to all the cells. I tried this code: \documentclass[conference]{IEEEtran} \setlength{\extrarowheight}{1pt} \begin{table} \centering ...
1
vote
2answers
33 views

How can i make table cells having same width?

I want to make a table where all the cells will have equal width. Here the cells width of automobile is bigger than the others.So i want to take all the cells have the width of automobile. I tried ...
3
votes
1answer
68 views

Table alignment around \pm sign: how to have good alignment without \pm, where appropriate?

First, a MWE: \documentclass[12pt]{article} \usepackage{parskip} \usepackage{amsmath} \usepackage{upgreek} \usepackage{siunitx} \usepackage{booktabs} \usepackage{dcolumn} \usepackage{graphicx} ...