{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
3answers
56 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 ...
3
votes
2answers
49 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 ...
2
votes
1answer
39 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
32 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. ...
5
votes
1answer
75 views

Change footnote number to text using tabu

Problem: Changing footnote default numbering to text using the tabu package. Minimal Working Example (MWE): \documentclass{article} \usepackage{array,booktabs}% http://ctan.org/pkg/{array,booktabs} ...
1
vote
1answer
51 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} ...
31
votes
3answers
76k views

Add notes under the table

I'm using the latex package apa6e because the apa package isn't using APA style version 6 yet. Now I'm trying to add a table with notes right underneath it, like in this table for instance: Since ...
55
votes
1answer
57k views

How to add extra spaces between rows in tabular environment?

I couldn't find any option that lets me expand the vertical space between rows in tabular environment. For example, \begin{tabular}{c c} $f^{(n)}(x)$ & $f^{(n)}(0)$ \\ ...
2
votes
1answer
38 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
313 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
29 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 ...
0
votes
1answer
138 views

How can I write explanations below tables?

I have two tables and these tables are in one page. I wrote explanations about these. Although there a lot of space, explanations cannot be located below the tables. How can I fix these problems? ...
2
votes
2answers
82 views

Merge table rows vertically and align text vertically

I want to create a table that looks like this: So this is what I already got: \documentclass[]{article} \usepackage[T1]{fontenc} \usepackage{booktabs} \usepackage{multirow} \usepackage{graphicx} ...
2
votes
1answer
39 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
23 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
1answer
26 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} ...
3
votes
1answer
31 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 ...
1
vote
1answer
24 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
61 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 ...
0
votes
0answers
32 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
1answer
28 views

\multirow cell is not vertically centered when \cellspacetoplimit and \cellspacebottomlimit are used

Common cell is not centered vertically. Without \setlength\cellspacetoplimit{5pt} and \setlength\cellspacebottomlimit{5pt}, it is centered. But I do want additional spacing between rows. I can ...
2
votes
1answer
60 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 ...
5
votes
3answers
593 views

Can't use utf8 encoding with datatool

I am using datatool to manage tables and I am getting errors when the data.csv file (encoded either as UTF-8 or ANSI) has characters like 'á'. I can get it around by having data.csv encoded as ANSI ...
10
votes
2answers
8k views

Center text in a single table cell

Suppose I have simple table. While I want the columns in general to be flush both right and left, there are certain cells that I want to be centered. \documentclass[12pt,a4paper]{book} \def\x{This ...
3
votes
1answer
33 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 \\ ...
8
votes
3answers
2k views

pgfplotstable; longtable with caption and repeating header

I would like to use the pgfplotstable package in order to import data from a .csv file into a multi-page table. I would like for the table to have: a caption above it and its header to repeat at ...
5
votes
5answers
9k views

How to center table caption that includes a newline

My table caption spans more than on line so I added a \newline to split the caption at an appropriate position. Now, the two lines are left aligned. How do I center the two lines of the caption? ...
0
votes
1answer
34 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} ...
1
vote
1answer
50 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}{} & ...
1
vote
1answer
23 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 ...
3
votes
1answer
895 views

How could you make an image a hyperlink to a section in a LaTeX document?

I'm fairly new to latex and am currently working on a few articles as practice before I use it for more official documents. In my current document, I am attempting to make a table of icons (png ...
1
vote
1answer
56 views

remove space between columns in longtabu with rowcolors

I use the ltxtable package to create long tables with variable width columns. Using this I want to completely remove the space between to table columns by doing this: \documentclass{scrbook} ...
2
votes
2answers
63 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
2answers
114 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 ...
0
votes
0answers
26 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} ...
1
vote
0answers
29 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. ...
2
votes
1answer
37 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} ...
11
votes
3answers
31k views

Error: extra alignment tab has been changed to \cr

I am using the ACM SIG template and trying to create a table of 4 columns. I get the error mentioned in the title of the question. I know the standard reasons why this error can occur. But my ...
0
votes
0answers
29 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
107 views

2nd Column EnvironmentTable and figure 2x2 on the top of 1st and 2nd page

Can anyone help me revise my code so that I can achieve the following goals. 1.How to make the table to be on the top of the first page? Now it skips the first page and jumps to the middle of the 2nd ...
3
votes
1answer
42 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
34 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
3answers
211 views

Creating a Table with LaTeX

How can I create a table such as the following using LaTeX? I have little LaTeX experience, and I am looking for either a template for something similar, or some guidance. Any help is really ...
2
votes
1answer
50 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} ...
2
votes
0answers
21 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 ...
0
votes
3answers
96 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
44 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
50 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 ...
2
votes
1answer
101 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}} & ...