{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
0answers
59 views

Custom table with mdframed and parcolumns: LaTeX Error: Something's wrong--perhaps a missing \item

I am building my own table environment using parcolumns and mdframed. \documentclass{report} \usepackage{parcolumns} \usepackage{mdframed} \newenvironment{mytable}[1] {\begin{mdframed}[...
3
votes
2answers
311 views

Latex Table write Text beside \hline

I want to add text beside the \hline line in order to structure my table more accurately. The following picture illustrates what I want, the code represents the table. Anyone has some ideas? I'd ...
3
votes
1answer
4k views

\cmidrule one column wide

What's the problem with a \cmidrule(lr){1}? Please consider the following MWE \documentclass{article} \usepackage{booktabs} \begin{document} \begin{table} \centering \footnotesize \begin{tabular}{...
2
votes
1answer
2k views

Vertical centering of text spanning multiple rows [duplicate]

Possible Duplicate: How to vertically-center the text of the cells? I am using multicolumn to create a table. The code that I have is here: \documentclass[10pt]{article} \usepackage{...
2
votes
1answer
108 views

How to line up a tikz image with the bottom of a cell in a tabular

The code for the two images below is identical except for the colors and the 4pt in the bounding box in the bottom image. In the bottom image the diagonal line touches the corner of the blue area; in ...
2
votes
2answers
242 views

ConTeXt: Height fitting with row spanning in a table

How can I shrink the height of the foo cell to fit its content? \starttext \startTABLE \NC foo \NC[nr=2]\input knuth \NC \NR \NC bar \NC \NR \stopTABLE \stoptext
2
votes
1answer
242 views

Creating a table in a narrow space

I'm working with moderncv and having difficulties when creating a table in a narrow space. How to make the table properly? Edited: \documentclass[10pt,a4paper,sans]{moderncv} \usepackage[T1]...
2
votes
1answer
165 views

How to do a table with multiple multirows_

I've just started to work with latex. I'm aware of the post How to get multiple multirows in a table? but still with it I don't manage to do with my table what I'd like. Basically I'd like to get two ...
1
vote
1answer
61 views

Is it better to let tables to be on top with tpb, or use “H”/“h”?

I am writing a thesis that has some occasional tables. I cannot decide if it's "better" (both aesthetically and maybe in other regards) to just use the default "tpb" floating placement, which makes ...
0
votes
0answers
206 views

Longtable captions do not wrap inside threeparttable environment

I'm using the threeparttable package to automatically wrap my captions to table width. However, I occasionally need to use longtable to split a table across multiple pages. When I do so, the caption ...
3
votes
2answers
74 views

Difficulties aligning/centering tables that are side by side

I have two tables which are side-by-side and am having difficulty centering the first table underneath the "X" and centering the second table underneath the "Y". I'm getting the feeling I'm a little ...
1
vote
1answer
108 views

floatrow is not rendering captions correctly [closed]

I'm having a couple issues in a latex document being converted to a pdf. I'll put each in separate posts. The first: I can't get my captions to appear over the table. I've Goolged this, and the ...
2
votes
2answers
140 views

Equation in Table Too Large

I have a table where one of the formulas is simply too long. Is there a way to break up an equation in Latex in a table? It's already rotated and I tried p{5cm} but it simply overlaps the text as it ...
2
votes
1answer
81 views

Text in table is defaced for no apparent reason

I made this table (now is modified to reproduce the problem described on Edit 1): \documentclass[11pt]{article} \usepackage[spanish,mexico]{babel} \usepackage{arabtex} \usepackage{utf8} \...
2
votes
2answers
159 views

LaTex Table using Multirow and @-expressions

I am encountering problems combining the package multirow with the @-expressions. Basically, my table shall look like the one in the following picture: Now I want to adjust all plusminus signs so ...
4
votes
3answers
224 views

Vertical text in multirow

I'd like to realize the following: But I can not bond the vertical text and the line together. I use a tabular environment and this is what I get: My code is this: %!TEX program = xelatex \...
1
vote
0answers
67 views

Creating Table with Column Names from another table

I want to create a table that will have two columns: Table Name Column Name So I would read, say 3 tables, and for each table I would create a row for each column in that table, that would have ...
1
vote
2answers
128 views

How to merge rows inside the table content?

I tried to make a table like the one shown below but when I include multirow it gives me normal type of tables yet. I mean in the last row, the horizontal line appears while it is merged. \...
2
votes
1answer
215 views

Time calculations

Based on a given starting time, I'd like to automatically calculate a time table. Based on https://groups.google.com/forum/#!topic/de.comp.text.tex/BQrRUYmDrHw I put the following MWE together: \...
1
vote
0answers
68 views

Heatmaps using Tabular - Size and Key

I am using the following code to generate a heatmap. \documentclass[12pt]{article} \usepackage{tikz} \usepackage{collcell} \newcommand*{\MinNumber}{0}% \newcommand*{\MaxNumber}{1}% \newcommand{\...
3
votes
1answer
278 views

\rowcolor not shading properly

I am using this template for making tables. I tried to add \rowcolor[gray]{.8} between \toprules and \midrules but the the effect is bad in the sense that it highlight on 3/4 of the row leaving the ...
2
votes
3answers
41 views

Trying to justify headers of table

What I'm trying to do is put a block of text in the upper left and lower right of a table. I cannot use a caption or block of text, because the tables I have span more than one page. And the statement ...
0
votes
0answers
19 views

Large parenthesis in table [duplicate]

\begin{table}[ht!] \centering \begin{tabular}{cc|ccc|c|ccc} & & $\alpha_1$ & $\alpha_2$ & $\alpha_3$ & $\beta_1$ & $\beta_2$ &$\beta_3$ & $\beta_4$\\ $ j$ & $k$ &...
0
votes
2answers
172 views

How to merge rows in table

I want to make a table in multiple rows like the following one. Where in my script has problem? \documentclass[10pt]{article} \usepackage{textcomp} \usepackage[utf8]{inputenc} \usepackage{fontspec} ...
6
votes
2answers
174 views

Add Partition to table entrys

I want to get a table like this How can I add the small square into the Table entry? My current table looks like this: \documentclass[a4paper, 12pt] {article} \usepackage{amsmath} \...
0
votes
3answers
653 views

EViews Output and Tables

EViews has an add-in which apparently outputs latex, but I can't install it on my faculty computers. I can save the output as a csv. Is there any way of me creating nicer looking tables in my document ...
5
votes
2answers
338 views

Connect three floating tables with arrows

In a word document I have three tables connected by arrows, as in the figure below, that I would like to reproduce with Latex. My question is 1) how to create these three tables so I can position them ...
4
votes
1answer
155 views

Table without column specification

Is there a way to create a table in LaTeX without specifying in advance the number of columns? What I want is something like \documentclass{article} \begin{document} \begin{amazingtabular} this & ...
2
votes
2answers
506 views

LaTeX: force table on page / prevent page break

Very, very new to LaTeX, so I hope I can get across what I want. Please bear with me :) I want an equation and the list of parameters/units on the same page. For the list I used a tabular environment,...
3
votes
2answers
2k views

Importing Tabular Cells from Text File

Suppose I want to build a table which looks as follows: \begin{tabular}{ccc} 1.23 & 2.98 & Apple \\ -3.78 & 4.01 & Banana \\ \end{tabular} However, the numbers in the table ...
5
votes
1answer
860 views

Very narrow table caption

I don't know why the table caption is so narrow The code is \begin{table}[!t] \centering \small \caption{\textbf{Main characteristics of the simulated system.} The latencies assume ...
1
vote
1answer
149 views

Spacing around a table

I am trying to set all spacings around and within a tabular environment to be equivalent with standard paragraph text. The table heading and the table should have no indentation. I placed comments ...
2
votes
1answer
221 views

How to arrange several tables in a two column article?

In case of my previous question in enter link description here I have a question: For a page of my article I should have two columns of text, where on the right column there are two tables following ...
2
votes
1answer
175 views

Caption appears with ugly head at end of longtable

I want to put a lengthy caption at the end of a table, and, as currently formatted, the caption doesn't fit on the page with the last row of the table. The result is a rather ugly header on the last ...
1
vote
1answer
118 views

Move table to the left of the page

As I run the TeX, it seems that table is exceeded the page. How I can move it to the left of the page so that the table is positioned nicely at the middle of the page? Here is my code:- \...
2
votes
1answer
90 views

How do I put a table following the other table in a two-colmuns layout?

my page is of two columns layout and I want to put two tables in consequence on the right column like below: text here Table 1 goes here text here text here Table 2 goes here text here while ...
5
votes
1answer
1k views

Percentage symbol with csvsimple package

I'm using package csvsimple to read .csv files. The problem is, in some of the cells I have percentages, like: a,b 1,10% 3,16% If I leave the %s, everything after the first % is omitted, that is, ...
6
votes
1answer
2k views

Display top border of table using csvreader

I am using csvreader from the csvsimple package to generate a table in my document. I am struggling to get a top border on the table. Here is the code, including writing the .csv \documentclass{...
4
votes
3answers
2k views

Bold one cell in table using CSV reader

Is it possible to bold a single desired cell (or number of cells) using csvreader (besides the head)? Here is an example of making the table. \documentclass{article} \usepackage{csvsimple} % Make ...
4
votes
1answer
509 views

Using collcell package with csvsimple, or datatool

I was trying to compose an answer to Bold one cell in table using CSV reader using the collcell package, and can't seem to get it to work either with the csvsimple tabluar, nor datatool. With the ...
1
vote
1answer
444 views

Does the package csvsimple support auto pagination?

I have a csv file that will probably take two pages, and doing \csvautotabular{Foo.csv} just makes my table run off the page. I checked the documentation but did not see anything about pagination of ...
7
votes
1answer
750 views

Math mode for csvsimple Import

I am currently struggling when I try to import a CSV file which contains math code using the following code: \documentclass{article} \usepackage{csvsimple} \usepackage{amssymb} % Math symbols \...
2
votes
1answer
323 views

csvsimple erros building csv table

I want to use the csv package to insert tables into my document. I am importing csv by using the \usepackage{csvsimple} command. Then, in the code, I use \csvautotabular{Tables/test} to create the ...
4
votes
1answer
144 views

How to avoid rowcolour being applied to \caption in longtabu environment

I have used the following code to create table using tabu package, I have applied alternate row colours to the table using \rowcolors command. The issue is the colour fill is applied to the caption of ...
4
votes
2answers
737 views

Arrows between two tables with multiple columns

How can I place two multicolumn tables (tableA and tableB) side by side and draw arrows from cell in tableA to another cell in tableB? I have tried this Arrows between two tables and its also ...
1
vote
1answer
74 views

LaTex Multicolumn Bar Too long, bug?

I am encountering problems with a seperation bar using LaTex package \multirow. As can be seen in the picture, the red circled bar is just too much and messing up the layout of my table. Does someone ...
1
vote
0answers
175 views

Row-wise and Column-wise break of extra wide tables, and add a proper label

There is a question "Column-wise break of extra wide tables" Column-wise break of extra wide tables and a very useful answer to it. \documentclass[twoside]{article} \usepackage[latin1]{inputenc} \...
5
votes
1answer
181 views

Minted Environment inside Tabular

I want to create a table with Tabular and put a minted environment into it, just like here: How to embed a minted environment inside a tabular environment?. However, as shown in that post, the minted ...
1
vote
1answer
654 views

vertical alignment of multirow tables in lyx

After having searched a lot, I still didn't find an option to align multirow cells vertically correctly in Lyx' native tables. There seem to be some solutions but I haven't found any for use with Lyx ...
2
votes
1answer
175 views

Centering table header with \multicolumn and intercolumn space

A previous answer directs that, when using \multicolumn in a tabular, subsequent intercolumn space added in the tabular column spec should be repeated in the \multicolumn column spec. However, this ...