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

2
votes
0answers
29 views

Splitting tables longer than a certain size in ConTeXt

Is there any way in ConTeXt to provide a 'one size fits all' table setup that allows large tables to span pages (> 75% of page height for example) but tries to keep smaller tables together by not ...
4
votes
1answer
33 views

Raggedright not working inside a table

I have a table and i want to align elements left. This is my code : \begin{tabular}{|c|c|} \hline Priorité&Description \\ \hline \multirow{4}{16 mm }{\centering 0} & \tabitem ...
0
votes
1answer
71 views

Table with different widths and rows

I am using the following code to write the table \documentclass[11pt, fullscreen=true, bookmarks=false]{beamer} \usepackage[utf8x]{inputenc} %\usepackage[T2A]{fontenc} ...
4
votes
1answer
32 views

\alert beamer messes up tabular layout

In beamer, I just want to highlight some cells with \alert, but when I use \alert it messes up my table layout. For some reason, I defined a special column type to have a more beautiful table. When I ...
6
votes
2answers
91 views

\usepackage[T1]{fontenc} creates warning in \tabulary

An example will speak for itself: \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage{tabulary} \begin{document} \begin{tabular}{c}aa\end{tabular} ...
0
votes
0answers
52 views

Text layout and table

I had to put three large tables in text. I did that using landscape command. However, when I start to write again after these tables, text comes after tables and I want to use the empty space on the ...
2
votes
3answers
102 views

How can I add label and reference to each row of a table?

I have 2 tables, and they have a common column so I want each row from the first table to point to the corresponding row of the second and the other way around. And also, if it is possible that the ...
3
votes
1answer
50 views

Problem with hyperref and tabular (not table)

The link to the target inside a tabular is too low. This is not inside a float, so hypcap and \hypcapspace have no effect. Is this a known problem? \documentclass{article} \usepackage{hyperref} ...
1
vote
1answer
35 views

Draw array(data structure) with underbraces at subarray

I'm pretty new to latex and I'm having some difficult to draw this: It is very important that the dots do not be inside a column, but act like a separator (actually it indicates that there are an ...
4
votes
1answer
68 views

Automatic tabular cell switching

Now I want to automatically switch cols and rows by counting. I have already pinned the issue down to the alignment character &: \newcounter{myRow} \newcounter{myCol}[myRow] \setcounter{myRow}{1} ...
2
votes
1answer
45 views

How to replace one table with another table in beamer?

In my slides i need such a way that on mouse click the table on the current frame has to replace with another table that i need..currently my code is: \begin{table}[htb!] \begin{center} ...
1
vote
1answer
91 views

Make table and text appear in the same page

I have this page with section Appendix defined like this \section{Appendix} Then I start the table. But somehow the table appears in the next page. The table is small enough to fit in the same ...
2
votes
2answers
46 views

Long table to fit on 2 pages

In a middle of a page I have a long table with a lot of maths formulas and I would like to make it fit on 2 pages automatically. Here the code : \documentclass[11pt, a4paper]{article} ...
3
votes
1answer
35 views

Align cell contents at top

Consider the following example: \documentclass{article} \usepackage{diagbox} \newcommand*\mc[1]{\multicolumn{1}{c}{#1}} \begin{document} \begin{table} \centering \begin{tabular}{l | *{8}{c}} ...
1
vote
0answers
10 views

combining threeparttable and tabu results in error [duplicate]

While working on my first ever Latex document I have been looking for a way to add notes to tables. An answer to another question suggesting using threeparttable. Regardless of whether I add the ...
3
votes
2answers
72 views

Weird vertical lines with table

Using the code: \documentclass[a4paper]{article} \usepackage{ngerman} \begin{document} \begin{table}[htb] \begin{center} \begin{tabular}{|c|c|c|} \hline \textbf{Value A}&\textbf{Value ...
2
votes
1answer
79 views

Text is not fitting the column

I want my texts to continue in the next line instead of continuing in the other column. How can I manage this? My code is : ![enter image description here][1] ...
3
votes
2answers
54 views

Tabularx with multi-column and multi-row

I used the following code to create table \usepackage{multirow} \usepackage{tabularx} \usepackage{booktabs} \newcolumntype{L}{>{\raggedright\arraybackslash}X} % for ragged-right material ...
2
votes
3answers
91 views

Adding a list inside of a table

Basically i'm trying to add create this table : But I'm stuck with the listing inside of a table! Here's my try even though it's nothing like this: \begin{center} \begin{tabular}{ |l|l|l|l| } ...
3
votes
2answers
49 views

Itemize in tabular // minipage resulting in `Missing \endcsname inserted` error

The minipage solution of this accepted answer is also what I'm looking for, that is, this one :-) not this one :-( The commented-out part of the MWE below tries to implement that minipage ...
1
vote
2answers
71 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
39 views

PGFPLOTS boxplot data from inline file

I have The following code: \documentclass{article} \usepackage{filecontents} \usepackage{pgfplots, pgfplotstable} \usepgfplotslibrary{statistics} \begin{document} ...
0
votes
1answer
35 views

Table numbering incorrect

Since trying to fix the problem described in this question: Tabularx moving table to next page, ignoring optional arguments I have removed the offending Table and now noticed that my Tables have all ...
6
votes
1answer
54 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
107 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
49 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
86 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
41 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
37 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
60 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
48 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 ...
0
votes
1answer
52 views

Tabular - Problem in aligning text

I've created a table and I want the text to be centered and aligned vertically in the middle so I used this code \documentclass[a4paper]{article} \usepackage[french]{babel} ...
2
votes
0answers
108 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
125 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} ...
1
vote
1answer
34 views

Loop through table for boxplot prepared

I am trying to produce figure with 2 boxplot prepared plots from an inline data file. I grabbed this code from here to use as a starting point. Given that the wrapper code allows the boxplot data to ...
3
votes
2answers
40 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
69 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 ...
2
votes
1answer
139 views

Vertical alignment text first column with merged cells and last column

I'm relatively new to Latex and I really appreciate this community, it has already helped me a lot. However, I've been unable to find the answer for the following problem: I want to create a 3 ...
1
vote
1answer
44 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
75 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
59 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
181 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} ...
1
vote
1answer
98 views

Bad vertical distance in table using makecell package \multirowhead

This is my working code: \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{multirow} \usepackage{hhline} \usepackage{array} \usepackage{caption} \usepackage{tabu} ...
3
votes
1answer
40 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
111 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
41 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} ...