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

4
votes
4answers
343 views

Expand a macro with parameters in tabular head

My eventual goal is to create my own tabular-like environment in which all entries are in math-mode by default, let's call it fancytable. (One requirement is that the first column be separated from ...
4
votes
1answer
1k views

Setting up APA-Tables - three problems

Below, you see a table. The blue boxes display my "problem areas". Setting up tables is pretty difficult for me so far... Uper left box: I want to indent Group A/ Group B compared to Overall Group; ...
4
votes
1answer
253 views

Allowing cell to overflow without affecting indentation

I wish to allow a specific table cell to overflow horizontally without affecting indentation of the column that the overflowing cell reaches into. How can this be achieved? Google/Stackoverflow isn't ...
4
votes
3answers
395 views

Table with multirows, multicolumns, and a combination of both

I need to create similar table using LaTeX: I have tried to use \tabular and \multicolumn, but every time I get something wrong. Could someone help me? \begin{table}[!ht] \small \begin{tabular}{ ...
4
votes
2answers
460 views

Fix tables at a given PAGE so that Table is not moving down when adding texts above it?

I have looked over all the possible duplicate questions this whole day, and I still can not find an explicit solution to my problem. I'm thinking to fix my table, wrote in tabular, at a given PAGE. I ...
4
votes
1answer
12k views

Table \rowcolor \columncolor \multirow and \multicolumn Alignment

I'm trying to recreate this table from Word in LaTeX: I'm getting close, but the "Effectiveness" section is not aligned properly, and the "Probability" section is not fully filled in with color. ...
4
votes
2answers
2k views

LaTeX table adjustments

I am typing the following table in LaTeX: \begin{center} \setlength\extrarowheight{5pt} %\renewcommand{\arraystretch}{1.2} \begin{tabular*}{3.4in}{@{\extracolsep{\fill} } | c | c | c | c | c | c | c ...
4
votes
1answer
418 views

Using a package only for certain tables

I am using the tabularx environment since it the X component of the columns is very useful and necessary for the tables I want to produce. However, a single one of my tables is longer that a page, and ...
4
votes
1answer
260 views

Diagonal cell division with tikz figure on same row and into `X` column from longtabu

MWE (with full package list) \documentclass[english, bibliography=totoc]{scrreprt} %%% PAGE DIMENSIONS \usepackage{geometry} ...
4
votes
1answer
111 views

Drawing divided table

Can anyone recommend any tutorial/library or just explain how can I draw this type of table, divided into few part with arrows? Like on this picture:
4
votes
1answer
950 views

Table spacing, multi column

Good day, hi, I have a question to ask. If you have some spare time please kindly spare me a few minutes to enlighten me on the following question. Thanks in advance! So I am trying to construct a ...
4
votes
3answers
442 views

Drawing a grid on array of images

I have nice story to tell with pictures. There Maltese type cross which is processing and twisting at the same time. So to make it more visual in paper i need grid something like this Drawing on an ...
4
votes
1answer
530 views

tabularx: bottom alignment on r or l-columns when X column wraps

In tabularx, when the X-column wraps on more than one line, l/r/c-columns remains top aligned: MWE: \begin{tabularx}{5cm}{lXr} 1 & qwer asdf zxcv qwer asdf zxcv qwer asdf zxcv & 1 \\ 2 ...
4
votes
1answer
342 views

Using longtable with \cmidrule: page-breaking issues

Here's a (minimal?) working example that illustrates both the issues I am having: \documentclass{article} \usepackage{longtable,booktabs,lipsum,array} \usepackage{pgfplots} ...
4
votes
1answer
4k views

Editing LaTeX tables in MS Excel

I have a big LaTeX table that I want modify it in Excel, is there any solution? There is some good solutions for converting Excel table to Latex tables.
4
votes
1answer
2k views

How to create a dashed line in tabularx environment

I've been looking into this, and I have encountered two main "solutions": \usepackage{arydshln} As decribed here. And this one: \usepackage{dashrule} As described in this other post. However, ...
4
votes
3answers
2k views

Is it possible to draw an n by n grid with text in each cell, with a different background shade/colour in each? (confusion matrix)

I am making a confusion matrix for a document, and I was wondering if LaTeX has the capabilities to handle this. It is essentially a table, but with background shading corresponding to the value in ...
4
votes
2answers
393 views

How could I create a diagram that looks like this?

I am trying to create a diagram for a document that illustrates a table. (Below is an example of how I would like it to look.) What tools should I use to replicate this?
4
votes
1answer
3k views

Increasing height of single row in table

Possible Duplicate: Column padding in tables I want to make a table where one column heading has superscript which overlaps with hline above it. How can I increase the height of just that ...
4
votes
2answers
2k views

how to vertically align text in multirow cell with tabularx with renewcommand?

Here I come again, Following the indications on this url I managed to get almost exactly what I want. However the problem is that the first multirow cell (with text "5 and 6") is not vertically ...
4
votes
3answers
5k views

Centering cells of a tabular column using m{}

I want to use a tabular to list some headlines, that might be quite long or contain linebreaks. The first column is kind of an Index or Key for the second columns content, so i would like to ...
4
votes
3answers
910 views

Reproducing a tabular form

I am trying to reproduce the following tabular form layout: Fig. 1: Desired output (found on the internet). First question: I can merge multiple cells into a single one both horizontally and ...
4
votes
2answers
170 views

Orientate page horizontally?

Is it possible to make on table to be oriented horizontally? I have a big table that I need to fit on one table and this is only way it can be done (except of using VERY small font).
4
votes
2answers
3k views

Stop automatic indenting of tabular in apa6e

In apa6e, tabular environments indent automatically. This does not match APA's guidelines. One can work around this by putting a \noindent in front of every \begin{tabular}{...} line. How can I stop ...
4
votes
1answer
602 views

Why is the left column of this table vertically-aligned to the bottom, no matter how I specify the column?

This document produces a table that mostly looks like I want it to look... except that I can't get the text in the left-hand column to be aligned in the vertical center. What I would really like is ...
4
votes
1answer
1k views

Table cell overflow

Consider this document example: \documentclass[a4paper,draft]{article} \usepackage{calc} \usepackage[demo]{graphicx} \usepackage{tabularx,multirow} \usepackage{geometry} \geometry{hmargin=0cm} ...
4
votes
2answers
117 views

how do I set up a table in a page such that it is flipped?

I have a table which is too wide to appear horizontally. I want to flip it such that it appears vertically, and put it in a page by itself (no other text appearing in that page). How would I approach ...
4
votes
2answers
3k views

How to avoid exceeding TeX capacity when using multi-page tables?

I'm using the longtable package (together with xcolor for alternating row colors and booktabs for elegant table headers) to generate a huge table. And by huge, I mean it has more than 900 lines and ...
3
votes
1answer
74 views

How do I enclose each table column of a particular row in parenthesis

I am a novice in Latex and have very little idea about writing latex macros. I have a collection of hundreds of tables to be incorporated in a document. In each table I need to have certain rows ...
3
votes
3answers
507 views

Tabularx and multicolumn

When I try to use multicolumn inside a tabularx environment, I get this weird behaviour; where the column doesn't fill the whole width. Anyone know why this is happening, and how I can fix it? ...
3
votes
2answers
639 views

Subscripts with tables

I have a magic square with cards as entries, and I am trying to consider all magic squares of order 3 (there are 8). My goal is to denote each square with a subscript M_1, ... , M_8. Right now I have ...
3
votes
4answers
191 views

How to fit this table in a page?

I'm working on a manual that should be finished this week, so I'm in a hurry, sorry if this silly question was done before. My MWE: \documentclass[11pt]{book} \usepackage[utf8]{inputenc} ...
3
votes
1answer
142 views

Multiples tables side by side

I'm trying to put 8 tables 4 in one line and the other 4 below them, but for some reason it doesn't result as I want. I want the tables in the following order J3 J2 J1 J0 K3 K2 K1 K0 and each one ...
3
votes
1answer
1k views

how to use Calc2LaTeX

I've installed extension Calc2LaTeX to convert OO tables into LATEX. But I don't see any extra button on OO to get LATEX CODE; In Extension manage of OO, it's showing Calc2Latex in Enabled format. ...
3
votes
1answer
262 views

Combination of multirows and multicolumns table [duplicate]

I need to create similar table using LaTeX: I have tried to use tabular and \multicolumn, but every time I get something wrong. Could someone help me? \documentclass{article} \begin{document} ...
3
votes
0answers
273 views

Cleaner Code for a Table design

in this question Showcase of beautiful wine bottle labels made with LaTeX/TikZ and friends I asked for wine bottle labels. Here is my own attempt. I still have to play with fonts. I'm quite happy ...
3
votes
1answer
648 views

Dynamic table column generation

I want to generate table columns dynamically but I have no clue how to tell LaTeX to accept or evaluate & as a column separator. As you can see in the attached code, the problem is with \@for ...
3
votes
1answer
3k views

save table on a separate file

I'm new to LaTeX. I have a table in the LaTeX format that I want to include in my document. Since it is a large table, I would like to save it in a different file and then just load it in my main ...
3
votes
1answer
7k views

Extra alignment tab has been changed to \cr?

I get the error mentioned in the title of the question. Can you help me please ? \begin{table}[htb!] \centering \caption{\textit{others criterias : first scenario}} \label{Table2} ...
3
votes
1answer
448 views

Misplaced \noalign error in table, but only when using include{}

I am using xtable() in R to create a LaTeX table that I import into a .rnw file via \input{}. As documented here, I am attempting to highlight rows conditional upon a certain value of one variable. ...
3
votes
1answer
574 views

form field alignment with a table cell

Is there any way to horizontally centre the checkboxes in the following MWE? Also is there any way to adjust the size of the checkboxes so that (i) they do not touch the cell border, and (ii) they are ...
3
votes
1answer
660 views

MinionPro Number Styles: lining, tabular using pdfLaTeX

I have successfully installed the MinionPro font for LaTeX. It works with pdfLaTex. I also changed the number style to lining with: \usepackage[textlf]{MinionPro} However if I have a table with ...
3
votes
2answers
449 views

Create a table column by column with special border formatting

I need to create some tables for a special college report. The data provided specifies the values column by column. The user Andrew Swann pointed out, that there is a way to create TeX tables column ...
3
votes
1answer
795 views

Changing font color in a table adding unwanted extra spacing

I haven't been able to find a solution, so I'm hoping for any suggestions. When I try to change the font color in my table, I get extra spacing above and below the lines with the color-changed font. ...
3
votes
2answers
215 views

Using \color in a paragraph column inside a tabular environment results in a line break [duplicate]

Some of my documents are compiled into multiple outputs. Some Versions contain certain parts, while other versions contain only a placeholder. For this purpose I have a macro \markup that colors its ...
3
votes
1answer
2k views

How best to change the font size (etc) of threeparttable's table notes?

How best to change the font size (etc) of the threeparttable table notes ? Google returned these (duplicate) unanswered stubs (in English and German, but with pictures ;) ...
3
votes
2answers
563 views

adding row numbers to a pgfplotstable

I've had a look at the attached answer Automatic table row numbers but I'm not sure how to apply it to pgfplotstable. I'd like to get automatic rownumbers on my table so I can apply formatting by row ...
3
votes
1answer
981 views

siunitx align numrange

ave a table with a table in which I use \numrange of the siunitx package. I would like to center align that column at the range-phrase. If I align it left, it sort of works, but if I align it center, ...
3
votes
2answers
4k views

adjusting column width tabularx + table margin

As you can see from the following MWE, it would be really great to adjust the widths individually for a couple of columns individually. Also how can I decrease the page margins of the table, if the ...
3
votes
1answer
696 views

Siunitx: alignment, parentheses and font size

I'm trying to align numbers (that are bolded, between parentheses, etc.) by decimal points in table columns while using the auto-round option of the siunitx package. The following code doesn't work: ...