{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
20 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] ...
1
vote
1answer
54 views

Format tables with points under each other

so I have this rather complicated table and I am trying to format the cells so that all points in one row are under each other. What I tried so far was to edit the "\multicolumn{1}{l}" to include ...
1
vote
2answers
47 views

footnote in multiple places in a table

I want to add the same footnote in multiple places in a table. Can anyone please help me to do that. \befin{minipage}[b]{0.9\linewidth} \begin{tabular}{l l l } \hline a & b & c ...
3
votes
2answers
93 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 ...
2
votes
1answer
59 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 ...
2
votes
1answer
68 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 ...
1
vote
1answer
59 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 ...
2
votes
1answer
57 views

\arrayrulewidth does not work - different thickness

I´m using \arrayrulewidth to specify my rule´s width/thickness, e.g. in tables: \taburulecolor{title} \arrayrulewidth=1pt \setlength{\arrayrulewidth}{1pt} % Definiert die Liniendicke von Trennlinien ...
0
votes
0answers
38 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
0answers
109 views

Hopeless table formatting [closed]

I have a document where I enter a command \tab and that creates a table for me. The right part of the table always stays the same and the left part of the table is entered with arguments of the \tab ...
2
votes
1answer
105 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 ...
3
votes
2answers
68 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 ...
2
votes
1answer
106 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} ...
2
votes
2answers
68 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
2answers
46 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 ...
2
votes
1answer
71 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} ...
1
vote
0answers
30 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 ...
0
votes
2answers
43 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. ...
1
vote
0answers
41 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}% ...
2
votes
1answer
69 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: ...
3
votes
1answer
56 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
33 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
18 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
0answers
19 views

Why does \usepackage{Sweave} change table width?

Recently is has been indicated (Why could \usepackage{Sweave} be affecting my graphics scaling?) that adding \usepackage{Sweave} to your preamble might change the width of your graphics. Peter solved ...
1
vote
1answer
38 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 ...
0
votes
2answers
49 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
77 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} ...
5
votes
2answers
158 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
3answers
95 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 ...
2
votes
1answer
78 views

How to make a table with subcolumns like this?

I want to add a table in the following format: But don't know what's wrong with my script that doesn't work. \documentclass[9pt]{article} \usepackage[utf8]{inputenc} \usepackage{fontspec} ...
2
votes
2answers
103 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 ...
4
votes
1answer
61 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
83 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 ...
4
votes
1answer
80 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 ...
3
votes
2answers
64 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 ...
4
votes
1answer
57 views

caption of a table

I've got the following code: \begin{center} \sffamily \captionof{table}{Codexample} \begin{tabular}{ll} \topule[2.5pt] exampleline & example \\ ... \bottomrule[2.5pt] \end{tabular} \end{center} ...
1
vote
1answer
45 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
75 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 ...
1
vote
1answer
43 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:- ...
1
vote
1answer
42 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
58 views

Table row content, duplicate or quote in a different table

Following on from Arbitrary named counter, referenced, which was answered very comprehensively, I have a follow up question. This one's difficult to describe so my searching around the internet and ...
2
votes
1answer
52 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 ...
1
vote
1answer
39 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
35 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} ...
1
vote
1answer
76 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 ...
0
votes
1answer
55 views

Alignment of multi-columns and line breaks within cells

I am failing to set up a complex APA table once again. Actually, I need a table like shown below: My current MWE: \documentclass[12pt,ngerman]{article} \usepackage[utf8]{inputenc} ...
2
votes
1answer
37 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 ...
1
vote
0answers
51 views

Latex Multiple row/column table

I am drawing a multiple row and column table using the following syntax. \begin{table*}[t] \caption{Evaluation of object recognition } \begin{center} \begin{tabular}{ccc|c|c|c|c|c|c|c|cIl} ...
4
votes
1answer
49 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 ...
4
votes
2answers
135 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 ...