{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
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
45 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
111 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
94 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
120 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
129 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 ...
1
vote
2answers
43 views

Vertical text in table with no vertical lines

I want to modify this table in this way: Here is my MWE, in which I tried to achieve it with no success. \documentclass{article} \usepackage{array} % \extrarowheight macro \usepackage{graphicx} ...
3
votes
2answers
44 views

Moving a table all the way to the left side of the Page

I'm having trouble with a table I have made. It is too long and goes off of the page to the right. I have already made the font smaller and made the page landscape. What I need to do is have the ...
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
31 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
47 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
84 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
62 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
185 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
47 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
113 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
277 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
685 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
54 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
93 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
96 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
49 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
54 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
796 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
82 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
76 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.