{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
1answer
29 views

How to combine ‘float’ and ‘longtable’ packages functionality

I want to use exact placement for my table. As I read on SO it can be done with [H] option for table environment provided by ‘float’ package. But this doesn't seem to work with longtable which I have ...
3
votes
2answers
41 views

Including a subfigure and table inside a figure environment

I want to include a table and an image as two subfigures in a macro figure environment. Apparently the code compiles but it isn't placing the elements how I want: The table and the image side by side ...
1
vote
3answers
45 views

File ended while scanning use of \Gscale@box@dd

I am getting this error for a while now, and I can't seem to fix it?! Here is my code - my table won't even load because of this error. \documentclass{article} \usepackage{hyperref} ...
2
votes
1answer
23 views

Shortcut to declare alignment of many columns in a table

Suppose I have a table with 20 columns that should all be centered. Is there a way to declare the alignment without literally counting out 20 c's? Something like c{20} might be the syntax. I feel like ...
1
vote
1answer
39 views

Inserting single character in only one column

I just want to know how to insert a single character like $ in only one column of a table. To be precise I don't want that character in my heading, but in all other data rows of the corresponding ...
0
votes
1answer
41 views

How to use \multirowcell?

This question is connected to another one I asked some days ago: How to do a table with multiple multirows_. The problem I have is that my text does not fit nicely in the \multirowcell and I haven't ...
3
votes
2answers
44 views

Unexpected behavior of arraystretch and figures in table cell

Using the graphicx and the includegraphics command, I want to place a figure in a table cell. In addition, I use the arraystretch command the increase the padding of cells. Unfortunately, I get a ...
4
votes
2answers
107 views

(How) can CSV data be transposed for display in tabular

I can use the csvsimple package to automatically display data from a CSV file in a tabular environment. Can the same be achieved in transposed (rows to columns and vice versa) form , as shown by the ...
2
votes
1answer
82 views

TikZ tree beside table

I would like to place a TikZ tree beside a table. The document type is apa. So the tree has four branches and therefore I want to place a 4 x 6 table to the left of the tree. The height of the ...
2
votes
1answer
55 views

Wrapping text around a table in enumeration environment with cutout and parshape

I borrowed the code for my MWE from here. I want to put the table to right side and have difficulty in understanding parshape command. What is the purpose of 15 26pt\linewidth 26pt\linewidth ...
5
votes
2answers
58 views

Table with multiple rows and columns

I just want to create a table with multiple rows and columns, here is a very suitable solution:Table rowspan and colspan, but can anyone help me to get a variable column width rather than the equal ...
4
votes
1answer
44 views

Making hhline work together with arydshln

I am trying to create Optimality Theory tableaux (a specific type of tables used in linguistics). These tableaux generally look like the following - the important thing is that both the first column ...
4
votes
3answers
86 views

How do I fix this table?

The table is big in length and width, hence top and bottom of the table are chopped off from the table generated in a pdf file. Here goes the latex code. \documentclass{article} ...
0
votes
0answers
27 views

Filling a cell of the table with color and preserving the border

I used \cellcolor{} to fill the cell of my table. However, the black borders of the cell disappears. The tex viewer shows borders, but I don't see the borders when I open as a pdf. Can you help me ...
12
votes
4answers
330 views

How to make this table fit on a portrait A4 page?

\begin{table}[htbp] \centering \footnotesize \caption{Add caption} \begin{tabular}{ccccccccc} \toprule Bank & Country & & & Conditional joint ...
2
votes
2answers
46 views

Kerning the table contents

I have the MWE as follows: \documentclass[12pt]{article} \usepackage{caption} \captionsetup[table]{position=bottom} \begin{document} \begin{table} \centering \begin{tabular}{|r|l|} \hline ...
0
votes
0answers
18 views

“LaTeX Error: Not in outer par mode.” for table that previously worked fine [on hold]

I got the error message "LaTeX Error: Not in outer par mode." for a table that previously has given me no trouble. The only changes I have made recently are to the text elsewhere in the paper. How ...
0
votes
0answers
19 views

Control stargazer table output in combination with mathpazo and siunitx

I like the idea to control all my numeric outputs with the smallest number possible of packages. I use mathpazo to control my fonts and siunitx to control formatting. Yet when I knit a LaTeX table ...
1
vote
0answers
41 views

Using Gnumeric tables with classicthesis

Just a quick question. I am finishing my PhD using Latex of course and I have been writing the chapters separately. In each of the chapters tex files I use tables that I exported from Gnumeric ...
4
votes
1answer
26 views

eqparbox causes error for \hline and \hdashline

When compiling the MWE below, I get presented with the errors "Undefined control sequence \hline" and "Undefined control sequence \hdashline". The problem is caused by the eqparbox package, as code ...
2
votes
0answers
18 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
53 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
39 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
90 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
42 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 ...
1
vote
1answer
60 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
58 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
45 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
28 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
105 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
102 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
65 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
95 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
64 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
42 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
68 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
39 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
39 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
63 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
47 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
32 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
18 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
35 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
47 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
69 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
152 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
93 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
60 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} ...