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

2
votes
1answer
45 views

Is there a way to create a column-wide table in beamer?

I am writing a presentation using beamer class, and I want to show a table and then split some text in two columns. I tried to use the code below, but it doesn't work, and I can't find that much ...
2
votes
2answers
61 views

How to generate a table of figures

How to generate a table of figures like this example below:
2
votes
3answers
60 views

How to insert vertical whitespace above and below a tabular environment

I used a tabular in middle of text, but there is little (vertical) space around the table inside the text. How can I increase the margin of this tabular (the distance between horizontal lines of table ...
2
votes
1answer
69 views

using textwidth in table to make sure table width same as textwidth

I am confused about why \begin{tabular}{|p{0.6\textwidth} | p{0.4\textwidth}|} generates a table with width larger than the page textwidth, since 0.6+0.4 should come out to be 1.0 and so I expected ...
1
vote
0answers
41 views

import cvs file with special characters as table in latex

I am trying to import a cvs file with special characters to my latex file using scvsimple however, I am getting some errors. I tried many suggestions from the forum and net but non worked for me. ...
4
votes
2answers
64 views

Tables: font size setting for all the cells and \arraystretch

I'm trying to create tables with small font size text in cells and large space between rows. If I put \small in every cell, the command \renewcommand{\arraystretch}{1.3} works, but if I try to put ...
1
vote
1answer
71 views

How can I color one cell of a table using a tikzpicture?

I want to draw a table, and color one cell in another color. As I'm not that experienced in latex, I found this example: \usepackage{tikz} \usetikzlibrary{calc,matrix} \usepackage{amsthm} \usepackage{...
2
votes
1answer
51 views

Setstretch for a table

I am trying to put a list inside a table, using paragraph mode, but the space between the items is too wide, so I was thinking about using the setstretch{} command. Do you know how can I set it in the ...
13
votes
1answer
329 views

When to use tabbing

When should I use the tabbing environment? Whenever I want to line things up I reach for tabular, and I have this vague worry that I sometimes miss a simpler solution because I don't think in terms ...
0
votes
1answer
41 views

Problem with formatting Text in Table

Here is my code. Every time I include an image into my table the text in the same row skip lines and start from the bottom, to align itself [the text] with the image. Can you please advise me on how ...
2
votes
1answer
24 views

HVFloat, caption below table

I would like to use the rotated table with the caption bellow the table. Unfortunately, the following code does not work. Thanks for your help.... \usepackage{hvfloat} \usepackage{booktabs} \...
2
votes
2answers
52 views

Formatting Latex Table

I have created a table in latex. However, the table is covering the entire page, and I cannot see some of the columns. It would be great if someone can help me format the table. Thanks! \...
2
votes
1answer
51 views

problem with text wrapping in tabular environment

I would like the contents of a cell in a row span several lines. I have the following MWE: \begin{table}[b]{ \begin{center}{ \begin{tabular}{|l|c|c|c|c|} \hline Source & Value & Affected &...
2
votes
1answer
29 views

Different justification for table caption

I need get something like this with caption package: Word "Table 1." in the left with period after number. MWE \documentclass[]{report} \usepackage{caption} \captionsetup[table]{labelformat=...
1
vote
1answer
25 views

How to make \@namedef within a tabular cell have wider scope?

How can I make \@namedef stated within a tabular cell define a name that can be reused outside that cell? For example: \documentclass{article} \begin{document} \makeatletter \begin{tabular}{ll} \...
3
votes
2answers
67 views

Best way to align table cells at an operator?

I have some large upper triangular tables in csv form like this: , A, B, C D, $-10 \pm 2$, $52 \pm 40$, $9 \pm 3$ C, $8 \pm 300$, $411 \pm 1$ B, $9 \pm ...
2
votes
1answer
68 views

Conceptual Semantics diagrams

for a university assignment I have to typeset this kind of diagrams (from Jackendoff's Conceptual Semantics framework). I'm not that familiar with LaTeX's handling of matrixes, tikz and so on, so I ...
3
votes
1answer
37 views

Thickness of lines in a table in LYX

I would like to increase the thickness of the top and the bottom lines of the attached table in Lyx. I tried command \newcommand{\hthickcline}{4} as shown in the attached Lyx file but it does not work....
3
votes
1answer
35 views

How can I group elements with \right in table?

Let's say I have a simple table defined like this: \begin{table}[!htbp] \centering \begin{tabular}{ |p{5cm}||p{5cm}| } \hline \multicolumn{2}{|c|}{Table} \\ \hline Part Num & Part Let \\ \...
0
votes
1answer
47 views

Remove line between caption and table

How I can remove line between caption and table? My code is: \begin{table}[h] \tables{360pt}{1.875pt} \caption{EG unit Characteristics for TPC and 201 bus distribution systems} \label{tab1} \begin{...
1
vote
1answer
45 views

“Undefined control sequence” while creating a tabular from a csv file

This issue is to say the least, very weird. I have a 12 columns csv file about several macroeconomics indicators: n,pibreal,pibnom,deflactor,c,isr,trc,tdeflactado,trcdeflactado,I,x,m 2000,...
1
vote
1answer
53 views

Enlarging the table

How to enlarge this table? Thank you in advance \begin{table}[ht] \large \centering \begin{tabular}{c|c||*{8}{c|}} \multicolumn{2}{c}{} & \...
0
votes
0answers
52 views

How to select monospaced numerals for tables only when using mathspec?

For one of my documents I used OldStyle numerals in regular text. For math I use Lining numbers. For tabular material I would like to use monospaced lining numbers if these numbers are math-related (I ...
2
votes
2answers
127 views

Format whole row of table as bold

This appears to be a problem which a few people have had before, but since I've been unable to find a solution which works I thought I should ask again. I have a LaTeX table of 5 columns width and ...
1
vote
0answers
38 views

Foreach loop in tabular, missing endgroup inserted

I'm trying to create a table using the foreach loops made available in the pgffor package. Using the following code, I am able to generate the right contents, but not aligned properly. \begin{tabular}...
0
votes
0answers
30 views

Complex long table not passing through pages

I used this solution to create the layout of the table: tabularx and hhline, to improve the look of the table. Here is the layout: \usepackage{tabularx,array, rotating, caption, hhline} \...
2
votes
2answers
69 views

Tabular individual vertical alignment in header row with varwidth columns

How can i bottom align the header row only? Is there a way to do it with \rowstyle or something similar as i did to make the whole row \bf? I would prefer not to use multiple tabulars. (\...
2
votes
1answer
42 views

Change font in all sideways tables

Is there any way how to change the font in all sideways tables of the document? The following code \makeatletter \renewenvironment{sidewaystable} {\renewcommand\familydefault{mdput} \@...
3
votes
1answer
53 views

Blank page before long table

I want to add a page-long table using: \begin{center} \begin{tabular}{| p{3cm} | p{3cm} | p{3cm} | p{4cm}|} %long table \end{tabular} \end{center} However, this adds an ...
4
votes
1answer
37 views

shrinkable glue in table

I doubt that there's a way to do this, and I've only run into a situation that needs this feature only once, at that time there was a simple workaround, but I've been amazed at what people here come ...
2
votes
0answers
23 views

Change table index format

I am using IEEEtran document class. \caption{some text} in a table environment ends up TABLE I: some text in the final PDF. But I need Table 1: some text. I managed to change TABLE to Table by \def\...
2
votes
1answer
67 views

Easiest way to change font size in tabular

I got two tables, one underneath the other, with the following code. \documentclass[12pt,a4paper,bibtotoc,headsepline,smallheadings,oneside,openright,fleqn,appendixprefix,BCOR5mm]{scrbook} \...
0
votes
3answers
111 views

What is the easiest way to produce this type of table/diagram?

I want to produce a table like this: is this even doable with tables or do I need to use a diagram library?
2
votes
1answer
55 views

How to remove extra vertical space between vertically merged cells?

Following this thread, I have used the array package and \setlength\extrarowheight{3pt} to slightly heighten the rows in the table below in order to make room for the diacritical marks. \...
1
vote
2answers
78 views

How to make table with 2 parameters

I want to make a table that is for "parameters vs group" as in the image below: Basically i want to show the dependence on the "parameters" (energy,correlation,random) versus "group size". I am ...
0
votes
0answers
54 views

bad mathchar (32768) error message in my regression table made with estatb in stata

I have imported a regression table made with esttab in stata in my LaTeX document using the packages booktabs and threeparttablex. To do so I follow the steps indicated in the post Regression tables ...
2
votes
1answer
111 views

Align numbers on decimal point in tabular

I am trying to align numbers on decimal in tabular. I have found some information here:align to decimal point in the table. However, when I adopt that code into my table, it gives an error: ! ...
0
votes
0answers
16 views

Subfig tables not side-by-side [duplicate]

So I have two tables that I want to be side-by-side by they're not. My code is: \begin{table*} \noindent \subfloat[]{ \begin{tabular}{p{2cm} p{1.5cm} p{1.5cm}} & \...
3
votes
2answers
45 views

Increase text size in table while I use \textwidth in the table

I have a table that its width should not be larger than 0.45 of the textwidth (two column page), but I want to make the table's data larger to better see the Table info. How can I do that? This is my ...
3
votes
0answers
53 views

latexdiff Producing Error with Simple Tabular

I ran across an error using latexdiff that I have reduced to the following MWE. Given before and after files... \documentclass{article} \begin{document} \thispagestyle{empty} \begin{tabular}{ll} A &...
0
votes
0answers
29 views

Verticle center alignment from the preamble

I am using pandoc, and it converts tables to a longtable without the ability to modify them. It converts: | table | header | |-------+--------| | 23 | 24 | | 13 | 14 | to ...
0
votes
1answer
42 views

Vertical alignment for subtables

I want to do vertical alignment of subtables. The following is a minimal example of the tables I have. \documentclass{article} \usepackage{multirow} \usepackage{subcaption} \begin{document} \begin{...
1
vote
1answer
42 views

how to create a table where a column is text that wraps?

The basic tabular package seems oriented for short columns, not where text wraps. What to do when the third column in this case can be multiple lines of text that should wrap? \begin{tabular} {|c|c|...
3
votes
2answers
50 views

Creating reusable table with one column's data different each time

I am attempting to write a design document that lists a number of requirements. Each section of the document then describes an entity that needs to fulfil those requirements, and I have decided the ...
1
vote
2answers
47 views

Table going beyond the page width

Why this table expands beyond the page? \begin{table} \caption{Class distribution in the succeeding partitions from $ A_{1} $ and $ A_{2} $} \label{table:ClassDistribution} \newcolumntype{R}{>{\...
1
vote
0answers
30 views

How to cross out few entries in table?

I want to create a table similar to one shown below. I know how to create a table using tabular environment but I don't know how to put these red horizontal lines that eliminate few of the entries ...
4
votes
2answers
68 views

4 tables in 1 sheet

I've 4 tables: \clearpage %Entropía de shift de bernoulli \begin{table} [ht] \centering \resizebox{10cm}{!}{ \begin{tabular}{ | l | l | l | l | l | l | l | l | l | l | l |p{2cm} |} ...
1
vote
3answers
62 views

How to use multirow?

I am trying to create this table on latex however I dont know how to use multi row.Here is my code \begin{center} \centering \begin{tabular}{ | l | l | l | l | l | } \hline & & \...
0
votes
2answers
95 views

Customized table

How can I create a table like the following? \begin {table}[H] \caption {Table Title} \label{tab:title} \begin{center} \begin{tabular}{|c|c|c|c|} \hline \multirow{2}{*}{A} & \multicolumn{3}{c|}{...
1
vote
1answer
28 views

\renewcommand in tabular with \input

I have generated a bunch of files (exp1.tex-exp10.tex) for different experiments that define my variables by \renewcommand{\minabserror}{\SI{0.01}{\meter}~}% \renewcommand{\minabserrorat}{\SI{1.4}{\...