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

5
votes
1answer
299 views

How to place a line for “N.A.” at a cell of a table

I see some tables with a horizontal line placed at the middle of a cell, for terms not available or not applicable. For example, how shall I replace the "N.A." below with such a line? ...
5
votes
2answers
301 views

Right align text in table

\begin{center} \begin{tabular}{|p{3.35cm}||p{5cm}|l|} \hline \thead{Område} & \thead{Positive konsekvenser} & \thead{Negative konsekvenser} \\ \hline \hline \textbf{Arbejdsfordeling} & ...
4
votes
2answers
185 views

Fixing a messed table

I am trying to make a table in Latex. Now I have combined most of my Latex experience in making this (I am still new) and I thought I was making good progress until I saw the end result. The problem ...
5
votes
3answers
154 views

using a macro to define the body of a tabular / & separator problem

I'd like to create a macro that can create and fill a multiline tabular with 4 entries per line from something like \bidding{3H,4S,5C,X,XX,-} where the number of entries is of course dynamic. I have ...
6
votes
1answer
709 views

Reading Arbitrary Text into a table format

Another file question from Latex; this time I'm trying to read in data from a single text file and put it directly into a table. The file reads something like: something | data | stuff | bacon ...
2
votes
0answers
72 views

Tables and Figures towards the end

I'm submitting a manuscript and the editing team asked for the following two changes: 2) Please remove the figures from the main text file as they are already uploaded separately in the Figures ...
6
votes
5answers
1k views

How to typeset tabularx with 34 columns? (Error message)

I want/need to typeset a very large table with >30 columns, which I created with Excel2LaTeX. I don't get it to compile, it only works if I really use 20 columns, however when I insert the 21st one, ...
1
vote
1answer
68 views

array package: problem with >{declarations} in preamble: Extra alignment tab has been changed to \cr

I have a document that uses both the longtable and the array package. At first I ascribed the problem to an interaction of both. After testing, it seems array is the only culprit. Here's a minimal ...
0
votes
1answer
483 views
5
votes
2answers
117 views

Newenvironment wrapper around widetable

I'm trying to create a custom environment figs based on widetable, using \newenvironment. \documentclass{article} \usepackage{widetable} ...
3
votes
2answers
189 views

Table in footnotes

I would like to include tables in footnotes \footnotetext{SOME TEXT TABLE SOME TEXT} I can use the tabular environment, but the begin{table} with the caption and the label doesn't work.
5
votes
2answers
313 views

Isometric Tables in LaTeX

Can someone please help me with a simple LaTeX code to draw something like the attached picture?
4
votes
2answers
2k views

Possible to create table inside a table

Is it possible to create a table inside a table like this in LaTeX, can someone please lead me in right direction to achieve this? Thanks
1
vote
1answer
106 views

Multiple questions regarding formatting tables

Question 1 A while ago, I used some code from here, which fitted my requirements perfectly. However, I'd like a different table, and playing around with the code (I'm quite new to Latex) has not ...
1
vote
1answer
170 views

Draw a box around a title on the title page

As part of a title page, I'd like to make a simple box around my Title. Nothing fancy, just a black lined box around it. But I don't want the box to be as narrow as usual but to have some space around ...
0
votes
1answer
81 views

How to break table horizontally [duplicate]

I would like to know how I can break a table horizontally without reverting to landscape the page. I did not find anything about this issue. In my special case (s. code down below), I would like to ...
4
votes
1answer
2k views

Left-alignment of table caption. Forced to center

I am trying to get the table caption left aligned (as the first table labeled "parameter estimates" using tabularx), but in tabular* environment (also happens to my tabularx in the original document) ...
5
votes
1answer
116 views

\rowcolor in \NewDocumentCommand

It seems to be impossible to wrap \rowcolor in a macro defined with \NewDocumentCommand, while everything is fine with \newcommand. Is ist possible to fixe this? \documentclass{article} ...
2
votes
0answers
276 views

Define own \rowfont (without using tabu)

Since the future of tabu is not that save I’m trying to define an own \rowfont macro. This is what I’ve got so far: \documentclass{article} \usepackage{array,tabularx} \usepackage[table]{xcolor} ...
2
votes
1answer
93 views

Four side by side figures each pair have one common caption

I am using the following LaTeX code to put four figures in two rows with two figures side by side so that both of them are on a line and have a one common caption. Unfortunately when I am using the ...
3
votes
1answer
188 views

Plain TeX Paragraphs in Tables

I want a small amount of information to be placed in columns. The problem is that the information contains paragraphs. Basically this is what I want: Column 1 Line 1 Column 2 Line 1 Column 3 Line ...
2
votes
0answers
280 views

prevent color from overlapsing cell border

All question I have looked to doesn't help me to solve my problem. Here's my code : \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \usepackage{color} ...
3
votes
1answer
75 views

Problems with table

I have some issues by creating my table. I can't find out to add: "Test3", "X1", and "Y1" - so it fit in -- in a good way. My preamble: \documentclass[a4paper]{article} ...
1
vote
1answer
136 views

Caption under table

Is it in any way possible to make a caption right under my table? I've tried \caption{table 1}, but that does not work, nothing changes. And how do I get the text aligned to the left in the column? ...
7
votes
3answers
329 views

How to construct the following table with title in LaTeX?

I would like to construct a table look like the picture below: The code below represents my best attempt so far (the words in the table don't really mean anything): \resizebox{9cm}{!} { ...
4
votes
2answers
463 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 ...
0
votes
0answers
69 views

Is there a way to fix the rendering of tables with colored cells? [duplicate]

This is my first LaTeX project. I need to make a table that has various cells colored. It seems as though somewhere in the process of creating the PDF for my document or rendering my document, ...
4
votes
1answer
212 views

How to spread a table between two columns

I read these posts: multi-page two column table in a single column document Dealing with very long table - split into columns? But still can not resolve my problem. Could you please help me to ...
5
votes
3answers
2k views

center values in table in latex

I have a problem in the table I created using latex. The problem is that the values in the columns are not centered correctly. THe values with a minus sign in front just are further right than the ...
4
votes
3answers
78 views

Text underneath text in same table cell

In my table, i want the "2" to go right under the "1" in the same cell, how do I do that? here is my code \begin{center} \begin{tabular}{ | p{1cm} | p{1,5cm} | p{1,5cm} | p{1,5 cm} | p{8,3cm} |} ...
3
votes
1answer
107 views

White Horizontal Line Longtables

I want to create a table like this. So I used xcolor to give alternating colors as this. This is what I got. Q1 ) Do you know how to generate white vertical rule get the effect shown red ? (I ...
2
votes
1answer
190 views

Column width table in tabularx environment

This stuff is probably a bit cluttred, but anyways: The problem I am experiencing is that I would like to make a correlation matrix as the one depicted above, but the width of the maturity column ...
5
votes
1answer
1k views

Fancy colored array in LaTeX?

I would like to reproduce these kinds of arrays in Latex (probably with tcolorbox) but I have no idea how to achieve this. So is there a way to make these kinds of tables ? Note : I would like the ...
3
votes
0answers
88 views

Change unit from a read in data table [closed]

I use pgfplots to create a graph from a csv file. The column that I use for the x-axis contains time values measured in ms. As my timelapse is a bit more as a min I therefor have values between 1000 ...
1
vote
1answer
283 views

Table Caption below the Table

I am writing a paper and I would like to have the caption of the table below the table instead I have it on top of it. This is my code: \documentclass{article} % The style file \usepackage{imav} ...
13
votes
5answers
2k views

LaTeX Tables: Cell value color based on its sign / conditional cell color

I've a long LaTeX document with many tables. Now I want to show negative values in cell in red color. I wonder how to do globally. My MWE is below: \documentclass{article} \begin{document} ...
2
votes
1answer
53 views

table first column

I want to create a table, like that: But, I want more space in first column. How I could resolve this problem ? My code is: \begin{table}[htbp] \centering \caption{Add caption} ...
3
votes
1answer
529 views

“! Misplaced \omit” error in multicolumn and BlackCell

I ran into a problem with “! Misplaced \omit” error. I have searched quite hard to find the relevant problem but only find mine is similar with bigbadpiano's question in which A.Ellett generated a ...
3
votes
1answer
771 views

Changing border colors of all tables in a document

I have a document full of tables (think 8-10 tables) - already written. Some are tabulars, others are longtables. I do not want to substantially change the existing code. What is the fastest way (in ...
4
votes
0answers
138 views

How can I typeset *some* fields from a (YAML) dataset?

I'm building a dataset of sorts with long strings, tags, some of which will be used for survey research (a q-sort, actually). This dataset needs to: be reasonably human-readable play nice with ...
1
vote
1answer
81 views

Create listoftable did not formatted as expected

Is try to understand are there any conflict between some latex package with listoftables command. When I try to insert listoftable in my document, the output for the list of table not formatted as ...
1
vote
1answer
1k views

Hline and Cline in multirow/multicolumn environment

Why when I using using multirow and multicolumn, my horizontal line does not appear? This is my MWE: \documentclass[parskip]{scrartcl} \usepackage[margin=15mm]{geometry} \usepackage{multirow} ...
3
votes
2answers
2k views

Centering caption under a table

I have the following table in my document: \begin{table} \begin{center} \begin{tabular}{|l|c|c|}\hline defaults&5976&2258\\ \hline \end{tabular} \caption{Results} \label{t2} \end{center} ...
1
vote
1answer
146 views

Table Design Help

I'm trying to mimic the design of this table: Any advice?
7
votes
4answers
138 views

Proper alignment of three boxes

I want two text boxes to appear next to a photo which is 5cm wide. The combined height of the boxes may be greater than or less than the height of the photo. If the combined height is less than the ...
5
votes
1answer
156 views

put all 4 tables on the same row line

I am trying to use 'minipage' to put all 4 tables on the same row line. But, it does not work. I only can put small tables on the same row line. How can I solve it.
4
votes
2answers
998 views

Adding table with restricted horizontal line

I am new to LaTeX and having a hard time trying to figure out a way to draw a table like the one in the image below. To be precise, how do I get the horizontal line only above the texts "Ruin" and ...
4
votes
1answer
258 views

Diagonal tabular cell questions

My MWE is adapted from How to diagonally divide a table cell … properly?. Two questions: I add an empiric rule of 0.71\baselineskip, but why 0.71? Why c=... is not centered as the text below is? ...
5
votes
1answer
315 views

Build tabular content via \foreach

I am trying to build up tabular data using the solution at How do I use the ampersand (&) inside a foreach or conditional (or other group/environment) when building tables?, but not having any ...
7
votes
2answers
2k views

Tables: Missing $ inserted

I'm trying to learn how to use Latex so I've got a little bit of problems in understanding what is the mistake that I've made. In this case I'm compiling a Table containing multiple datas about ...