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

1
vote
0answers
1k views

Missing \cr inserted [closed]

I have a problem with the tabu environment. When I compile my code starting my longtable with \documentclass{srrreprt} \usepackage{tabu} \usepackage{longtable} \begin{document} ...
5
votes
2answers
79 views

Newenvironment wrapper around widetable

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

SWOT Table - how to convert to an article?

I need a SWOT analyse in color, and I found this one at http://www.mostlycolor.ch/2013/10/colored-blocks-in-beamer.html : Can someone help me by converting the beamer, so I can use it in an ...
3
votes
2answers
157 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.
4
votes
2answers
163 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
5
votes
2answers
242 views

Isometric Tables in LaTeX

Can someone please help me with a simple LaTeX code to draw something like the attached picture?
1
vote
1answer
93 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 ...
1
vote
1answer
80 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 ...
3
votes
1answer
309 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) ...
0
votes
1answer
61 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 ...
2
votes
0answers
105 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} ...
3
votes
1answer
162 views

How to suppress hyphenation in figure and table captions?

To suppress hyphenation in section names I use \hyphenpenalty=10000 in \titleformat command. Is there any similar way to suppress hyphenation in figure and table (and longtable) captions?
4
votes
2answers
184 views

Table and graphic frame

Is there any LaTeX package that can produce tables and figures like the example in the folowing image by default? EDIT: I used tcolorbox but I did not get the result needed as I'm not familiar ...
2
votes
1answer
55 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 ...
5
votes
2answers
204 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
1k views

Missing $ inserted

When I use this code I get the ! Missing $ inserted.<inserted text>$ R and ! Missing $ inserted.<inserted text>$ \bottomrule errors on the 3rd and 4th last lines. How can I fix my code so ...
3
votes
1answer
125 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 ...
5
votes
1answer
88 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} ...
1
vote
0answers
142 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
59 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
106 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
245 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}{!} { ...
0
votes
0answers
67 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
124 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 ...
4
votes
3answers
75 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
87 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
88 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 ...
2
votes
0answers
68 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 ...
5
votes
1answer
514 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
1answer
132 views

Insert table in arabic document

How to insert table in arabic document (using arabtex package)? The table also contains arabic text. I tried to use tabular in arabtex environment, but it didn't work.
1
vote
1answer
208 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} ...
0
votes
0answers
97 views

Place multiple tables in a grid on a single page

I need to show several tables and figures on a single page. They are of different heights and widths and I would like to build a grid in which I could then put them. Is there a package that would ...
2
votes
1answer
41 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
0answers
194 views

Draw register map with TikZ

I was wondering if there was a way to easily draw a register map (like the one below) in LaTeX, possibly in TikZ? The closest I've gotten is just using the tabular environment and that's not even ...
3
votes
1answer
205 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 ...
0
votes
3answers
295 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 ...
2
votes
1answer
100 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 ...
1
vote
1answer
66 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 ...
4
votes
0answers
91 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
77 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} ...
2
votes
1answer
55 views

Centering two tables in landscape modus

The posts seems very similar to the one's already posted two tables side by side in landscape mode but I have difficulties centering my first tables in the middle of a landscape page. This is only a ...
1
vote
1answer
117 views

Table Design Help

I'm trying to mimic the design of this table: Any advice?
1
vote
2answers
117 views

Centering content of table cell in LaTeX

\documentclass{article} \usepackage[a4paper,left=3cm,right=3cm,top=2cm,bottom=2cm]{geometry} % to fit both tables \usepackage{caption} \usepackage{array} ...
4
votes
1answer
131 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 ...
5
votes
1answer
98 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.
0
votes
0answers
61 views

how to produce a table with fixed width and height? [duplicate]

How could I produce a table like the following with fixed width and height, no matter the length of the strings? And, how can I add color to the missing grid? Thanks.
4
votes
2answers
117 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 ...
7
votes
4answers
128 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 ...
2
votes
0answers
106 views

Emulate tabular vertical spacing with parskip package

I would like to emulate the vertical spacing of tabular without using tabular. When the \parskip package is used, using \par leaves too much vertical space, so I thought I'd emulate it with use of a ...
4
votes
1answer
183 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? ...