{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
1answer
71 views

Extra alignment tab error, on Table

I am trying to make a table in LaTeX. However, I get several extra alignment tab errors and I do not know why. I have searched here for similar problems but I only found extra alignment tab error ...
2
votes
1answer
30 views

Multiples tables side by side

I'm trying to put 8 tables 4 in one line and the other 4 below them, but for some reason it doesn't result as I want. I want the tables in the following order J3 J2 J1 J0 K3 K2 K1 K0 and each one ...
1
vote
1answer
46 views

! Missing $ inserted.<inserted text>$ \textbf{Basic} & \textbf{x_1}

I am new to TEX world . I am now working on thesis in TEX . I have the following code to show a table . \begin{center} \begin{tabular}{ | ...
4
votes
2answers
79 views

Tables with center alignment of vertical text in multirow

Is it possible to make such table in LaTeX? And is so - what user packages I have to use? The problem I have faced is center alignment of vertical text in colums 1 and 2 ...
4
votes
2answers
61 views

Align text in tables in LyX

I want to align the text of one of my tables like this: However, I got this: The header of the table are centered and rotated (in case of the first column header) and the rest of the text are ...
1
vote
2answers
184 views

Want to make the colorful table in LaTeX

I make this Table MS Word. But I am interest to make this Table in LaTeX % Table generated by Excel2LaTeX from sheet 'Sheet2' \begin{table}[htbp] \centering \caption{Add caption} ...
3
votes
1answer
46 views

aligning numerical data in columns on decimal marker

I created this table: I use this code: \documentclass[12pt,twoside,a4paper,openright]{report} \usepackage{color} \usepackage[portuguese]{babel} \usepackage[utf8]{inputenc} ...
4
votes
2answers
112 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} ...
1
vote
1answer
44 views

Creating table with different columns

I would like to produce this table in LaTeX. How can I do this ?
4
votes
2answers
276 views

Creating Thin Tables in LaTeX

Suppose I have the following table: \begin{table}[!p] \fontsize{6}{6}\selectfont \caption{First 200 terms of Hofstadter's $Q(n)$}\label{tab11} \center{ \begin{tabular}{l r r r r r l r r r r r} ...
2
votes
2answers
64 views

Highlighting a row in a table

I need to highlight rows 3rd and 5th in the following table. I the package xcolor with the optional argument table, but it doesn't work. And gives me an error. \begin{table}[h] \centering ...
2
votes
2answers
32 views

Centering a table and the caption

I can't center the table with the following code, but the caption is in the center: \begin{table}[h] \centering \resizebox{0.8\textwidth}{!}{\begin{minipage}{\textwidth} ...
1
vote
1answer
111 views

How can I put the table caption on the top in pdfLaTeX? [duplicate]

I have this code \begin{table}[H] \caption{My Caption } \centering \begin{tabular}{*{6}{|p{3cm}}} \hline\hline But caption comes at bottom. I can't use this \begin{table}[Ht] as it ...
8
votes
1answer
683 views

Spacing after itemize inside a tabular

I have a problem with the spacing after an itemize inside a tabular. \documentclass[12pt]{article} \usepackage{lipsum} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{framed} ...
2
votes
1answer
53 views

Latex - set row height for a part of a tabular

I am trying to write a table. The table has 3 parts: header, body, footer. The rows of the body must have a fixed height regardless of their content. The last column should extend until there is ...
0
votes
0answers
92 views

Cell borders in tables “disappear”

I'm using LyX to edit some tables and TexMaker, but when I set the background color in the cell, the border line "disappear". For example: http://postimg.org/image/xp2xocp7z/ (one of my tables in ...
5
votes
2answers
112 views

Unify the size of two tables

How can I unify the table size and the font size for these two tables \documentclass{article} \usepackage{graphicx} \begin{document} % Table 1 \begin{table}[h] \resizebox{\textwidth}{!}{% ...
6
votes
2answers
95 views

How to indicate a sliding window in a table

I have a table as follows in beamer. \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{default} \begin{document} \begin{frame} \frametitle{test} \begin{center} \huge \Huge ...
2
votes
0answers
49 views

Display math and tabular

I'm pretty new to latex and having some trouble. I have multiple math formulas which I'd like to organize on the page. i used: \begin{tabular}{p{6cm}p{6cm}} \[...\] & \[...\]\\ \end{tabular} ...
1
vote
0answers
24 views

how to make attached table format in latex [duplicate]

The table format is attached and i would like to know how we can create it in LATEX. kindly help me.
4
votes
2answers
56 views

How to h-alignment subtable to the limits of text?

I have this 2 subtables. How could I separate more the 2 tables, puttin the space indicate in the image in the center to get bigger the central distance ? I usually use \centering for center... are ...
0
votes
1answer
28 views

I want to construct a pseudo glossary using a table - how do I replicate a hanging indent?

I want a glossary in my thesis, but have come to the conclusion the glossaries package is overkill as I don't want to use much of the functionality. All I want is to be able to manually add a few ...
1
vote
0answers
47 views

How to avoid cutting tables at end of page? [closed]

How to avoid this kind of things? The table has the double of height you can see
7
votes
1answer
64 views

Generate automatic revision's numbering tabular

Situation I have to make a cover template for a document. At the end of the page, I have to add the revision number with other useful info like this example: \begin{tabular}{lccl} Revision 0 ...
1
vote
1answer
48 views

Remove whitespace around an enumeration in a table

I've tried using the enumitem suggestion given on http://stackoverflow.com/questions/4968557/latex-very-compact-itemize, but I still see white space around my enumeration: \documentclass{article} ...
1
vote
0answers
53 views

Dynamic Tables from Data Array

I have Data like that: Now i want to create that Table a bit Dynamic, I searched for Dynamic LaTeX Tables but only found Things for Excel and CVS. (And I dont have any of that formats…) Does ...
2
votes
1answer
787 views

Horizontally align multi-line cell in table

I want to horizontally align two cells with two lines in a table environment, something like this: ------------------- | A long | foo | | | ----| | multiline | bar | ------------------- ...
8
votes
4answers
151 views

specific table layout

I want to draw a table like this: with the table width being a portion of the line width, like e.g. 0.8 * linewidth. But I cant figure out how to do it. Anyone? edit: MWE: ...
4
votes
2answers
80 views

Adding background color to table cells in LyX

I'm doing some tables using LyX and I tried to set a color background in the cells , but I got this error: Undefined control sequence \rowcolor {cyan} & The control sequence at the end ...
13
votes
1answer
8k views

How can the margins around a table set to 0pt?

I need to put a table inside another table, and would like to set the outside margins of the inner table to 0pt. How can I do this (in particular for tabularx, but hopefully this would be the same for ...
3
votes
2answers
73 views

How to draw lines and put objects relative to other lines

I'm trying to draw a simple line, and at the end of that line include a table. I would like to do it without having to compute myself the position where the table needs to be drawn. How can I do that? ...
0
votes
2answers
38 views

centering content of table cell in LATEX

What i am getting using below code what i want Code \begin{table}[h] \caption{GENERAL PARAMETERS FOR THE SIMULATION} % title of Table \centering % used for centering table ...
1
vote
1answer
49 views

Table with an itemized list in second column

A colleague of mine asked me for help creating the following picture using tex code. Can someone share a bit of code, maybe for the first two rows? ...
6
votes
3answers
75 views

bigdelim and text with multiple lines

I have a table with a common label for multiple lines. Using bigdelim I place brackets to give explanations. My explanation has too much text for one line, so I would like it to break over multiple ...
37
votes
2answers
45k views

Changing the font size in a table

What's the recommend way of changing the font size in a particular table? Is there a better way than enclosing all values with, for example, the \tiny function.
3
votes
1answer
53 views

Can the Latex pick up the size of font in table?

Can the Latex pick up the size of font in table? I want to create the table with rigorous bounds and that Latex pick up the size of font by itself.
2
votes
1answer
48 views

How to color a single cell in a longtable [duplicate]

We are using XeLaTeX and the longtable package to visualize information, one of those reports must have a colored cell. A single cell, not the entire row. An example output is here: Is there a way ...
2
votes
1answer
209 views

Why doesn't this this line appear between tables?

I'm trying to learn how to typeset caption tables but... why doesn't this text appear between tables? \documentclass{article} \usepackage{subcaption} \begin{document} \begin{table} ...
2
votes
1answer
48 views

Raising one cell in a table

That is, I would like to raise one cell (e). Currently, the code is as follows: \documentclass{standalone} \begin{document} \begin{tabular}{llll} \hline A & B & C & D \\ \hline a ...
2
votes
2answers
171 views

How to make a wide longtable fit on page?

I'm new to LaTeX, and copied over a table from Excel into TeXShop (mac) using the macro. I set it as a longtable because it spans two pages, but with regard to width, the table isn't fitting. Also, ...
3
votes
2answers
165 views

.jpg image inserted in a column is shrinked or squeezed

When I am trying to insert a .jpg image in one column of a table in latex. it is getting shrunk and not able to stretch or fit into the whole column. it is getting shrunk or squeezed & when I am ...
3
votes
2answers
61 views

\newdimen in LaTeX is 0pt after assignment, why?

In the below example, I print out the two dimens in the subfigure captions. Surprisingly (to me), the first one prints correctly but the second one is somehow zero pts. Here is the MWE: ...
9
votes
2answers
270 views

Table with alternating row colours and rounded corners

I am trying to create a table with alternating row colours and rounded corners. I combined two answers so far to achieve this: Thorsten Donnig's answer about alternating row colours. Jake's answer ...
16
votes
3answers
2k views

How to Create Comparison Tables in LaTeX?

I am a new user (both to LaTeX & this forum). I want to create a Comparison Table for an Article (like the one shown here): Can someone please help me with this.
7
votes
2answers
128 views

Table-like scheme in LaTeX

I would like to draw the kind of table (I don't know any proper name for this, so I cannot research for similar question) shown in the picture below: I have absolutely no clue on how I can draw ...
6
votes
2answers
112 views

Long text in multirow

I have long text in a multirow cell. And the text takes more rows than the rows in the second column. \documentclass[a4paper,12pt]{report} \usepackage{multirow} \usepackage{longtable} ...
5
votes
1answer
40 views

Create linewidth spaced three columned table with column alignment

I'm writing a two columned article: \documentclass[10pt, aps, prb, twocolumn]{revtex4-1} I would like to include a table which is as long as 1.\linewidth. The table should consist of three columns, ...
3
votes
1answer
41 views

Problem with Multicolumn and Multirow table

I have a problem in my multirow and multicolumn table. As you can see in the figure, there is an extra horizontal line over the first column. Can anybody tell me how to remove it. I constructed the ...
3
votes
2answers
75 views

Rotated multipage table at start of chapter

I'm working on an article in which I have to put a large and wide table. This table is directly at the start of a new chapter. Because it is very wide, I want to rotate this table (or use it in a ...
6
votes
2answers
201 views

Warning: Please use \TABLE{…} in place of LaTeX environment

Please see the MWE: \documentclass{JHEP} \author{me} \abstract{a} \title{title} \begin{document} \begin{table} \begin{tabular}{c} hello \end{tabular} \end{table} \end{document} After compiling ...