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

How to avoid ltablex from splitting a table?

I'm using the ltablex package because I have some large tables which have to splitted on multiple pages. But I have much more small tables (with tabularx), which don't need to be splitted. But they ...
2
votes
1answer
19 views

Numbering of the rows in the table (tabularx) [duplicate]

How to make a numeration of the rows in the table(tabularx) automatically? I have a table, and in the first column I have numbers of the rows, right now I just type this numbers manually, but is ...
3
votes
2answers
48 views

problems with ifthen and tabularx

I have a problem related with ifthen and tabularx packages. Here is a minimal example: \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{tabularx,colortbl} \usepackage{xcolor} ...
3
votes
0answers
19 views

Inconsistent spacing of suffix in siunitx formatted table

I want to produce a table with two prices in a row, using siunitx to achieve a pleasant and consistent display of the numbers. Trying not to repeat the currency symbol in the data rows, I insert it as ...
0
votes
0answers
13 views

dplyr Tables latex problem

Can you explain why the caption of the table is not appearing in the example below. All works fine except the caption \begin{center} <<echo = FALSE>>= library(dplyr) myTable <- ...
2
votes
1answer
33 views

using tag inside table

Say I write a table twice, and want the second table to have the same numbering as the first. With equations, I know how to do it. However, with tables this does not work. The following is what I ...
1
vote
3answers
40 views

How to set the width of my table?

I've some trouble to set the right width for my table. As you can see in the code below, I use the diagbox package to format my tables header. \begin{table} \centering \begin{tabular*}{\textwidth}{| ...
10
votes
3answers
597 views

How to produce this table in latex with inconsistent lists/items?

I want to produce the first two rows of this 5-column table in LaTeX: As you can see it is a special type of tables where we see: itemized lists inside but inconsistently, ie. column 4 all rows ...
2
votes
3answers
32 views

ltablex caption text formatting issue

I'm using the ltablex package for creating long tables over multiple pages. For my other small tables I use the tabularx package and I noticed a formatting mistake or maybe a bug? The table caption ...
2
votes
0answers
47 views

Table title and notes not appearing in PNAS

I'm trying to prepare a manuscript for PNAS and am running into issues with a table. As in this question/answer, the table is placed after the \end{article}. However, when compiling the document, the ...
4
votes
1answer
42 views

How can I insert vertical text spanning multiple rows into a table?

I would like to add a column to my table that looks like the right most column in the included picture. As of now, I am using tabularx to create the table \begin{tabularx}{\textwidth}{|X|c|} ...
3
votes
2answers
103 views

Straight Table Borders

I was just wondering whether there was a simple way to make the borders of a table straight? My code currently is: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{setspace} ...
0
votes
0answers
28 views

Table don't care about section

I'm trying to make a lab report and will begin my results with a table. The problem is that the table, even though it's written after, ends up BEFORE the section. Can anyone tell me what I'm doing ...
1
vote
1answer
30 views

Synthetic division without polynom package

I have been working with some of my students on synthetic division, and I like how the book represents it in terms of keeping track of everything and the like. It made me wonder how best to reproduce ...
1
vote
1answer
23 views

Table with iterated multicolumn

I am having trouble creating multicolumn table, which again has multicolumn. I want to again a two column under case even and odd and then again two columns. But I am not able to do this. I need ...
1
vote
2answers
58 views

dash line between rows in a table

Why there is no dash-line between the rows s12 and s1n like between the columns s22 and s2m? Normally there should be one. What I did wrong? Thank you!! \documentclass[a4paper, ...
2
votes
2answers
54 views

how to center cell-content vertically?

I really like to center the content of the cells vertically, but I do not know how to do it. Is there maybe someone who can help me? Thank you! \documentclass[a4paper, fontsize=11pt]{scrartcl} ...
0
votes
0answers
37 views

multirow with dash line [duplicate]

I would like to have a dash line between the rows s11 and s1n like I do have it between the columns s22 and s2m. May someone help me? I do not get it. I have seen something quite similar, but there ...
4
votes
1answer
70 views

Framing EMPTY cells in a table

This question is based on a previous question: Framing cells vertically in a table I'd like to frame cells just like that and the answer to the previous question works beautifully – except when the ...
1
vote
2answers
55 views

tabularx with dynamic columns and much text ends up in under- and overfull boxes

I wrote two tabulars which faces kind of the same problem. They end up in a mess of under- and overfull boxes. I noticed many under- and overfull boxes threads here, but I wasn able to fix it yet. ...
4
votes
2answers
63 views

Problem with too large table

I'm trying to make a large table with latex, but I have a problem with text inside it, it depasses, the page. here the code : \begin{table*} \centering ...
4
votes
1answer
55 views

How to display full table contents

I'm trying to fill a table with equations, but some of the equations are so long that the table is cut off completely on the right side. I just started working with latex yesterday so my knowledge is ...
0
votes
0answers
44 views

How to increase table and figure numbers' font size? [on hold]

I am trying to make the figure/table number in same sized font with the caption of the figure/table. the code is here: \begin{figure}[!htbp] \centering ...
1
vote
0answers
36 views

Section, figure, table numbers are in smaller font size

I have used \include{resultsanddiscussion} to import certain chapter results and discussion. I have used \fontsize{16pt}{18pt}\selectfont to determine heading size 16 pt and spacing 18 pt. the code of ...
2
votes
1answer
29 views

Problem with sideways table

I have this sideways tables, but the text doesn't wrap properly inside the cells, here's my code \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
2
votes
2answers
48 views

Modify Table to match image

I wanted to get the table generated from the code below to be like: with the spacing between the lines and also have the colored boxes. This table is extracted from the book Pll Performance, ...
7
votes
1answer
55 views

How can update this code for print number with different colors?

I have this code for highlight the diagonal, the first row and the first column with different colours! (This code has been build from egreg on this community :-D in a past question) ...
2
votes
1answer
23 views

Use arithmetic of counters inside \cline

I have a custom counter \myCounter set to, say 3. I need to produce such a table: The following code does not work: \documentclass{article} \newcounter{myCounter} \setcounter{myCounter}{3} ...
1
vote
1answer
56 views

Space between sectioning header and tabular environment

I have this situation on Latex. How can I eliminate this space between the \section{PESTA} and the tabular? \subsection{PEST+A} \begin{tabular}{ |p{5cm}|p{10cm}| } \hline ...
2
votes
2answers
53 views

How to tell a column to span half the width of the table

Hi I am making a table with multicolumn and multirows. But I want the next line to have 2 columns that are exactly half the width of the table. Meaning if the width of the table changes when I add ...
0
votes
1answer
19 views

biblatex \fullcite in table

I am receiving an error when I try to use \fullcite{} in a table. Here is a code showing what I would like to accomplish: \documentclass[11pt,a4paper]{article} \usepackage[american]{babel} ...
0
votes
1answer
27 views

Borders playing up [duplicate]

Would anyone know why my borders are not appearing properly: I'm using the following code: \begin{table}[htp] \centering \resizebox{\textwidth}{!}{% \begin{tabular}{@{}|c|c|c|@{}} ...
1
vote
2answers
58 views

\toprule and p{} in tabular

In my table, in order to have texts centered in each cell, I am using \newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}} and instead of a simple p{1.5cm}, I am using ...
3
votes
2answers
29 views

How to add vertical space and center the entries of a last row of a table

I currently have a table in latex that looks like: \begin{tabular}{c|ll} \hline Unit (i) & \multicolumn{2}{c}{The combinations} \\ i & $(-1,-1,-1,-1)$ & $(-1,-1,+1,+1)$ \\ ...
2
votes
3answers
106 views

A column that is too wide

I have a table in which the header is making the last column too wide. How do I avoid this situation? \documentclass{amsart} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{array} ...
0
votes
0answers
16 views

threeparttablex with regular table

Is there a way to use threeparttablex with a regular table (tabular environmnent)? I like the additional features it provides. I tried \documentclass{article} ...
3
votes
2answers
37 views

Horizontal line \hline inconsistent behaviour

Trying to make a table with the following code \begin{table}[h] \caption{Different scans conducted with the Catphan.} \begin{tabularx}{\linewidth}{|l|X|X|c|X|} \hline \rowcolor{slightgray} \T ...
0
votes
0answers
9 views

Automatic linebreaks in table created with csvautoimport [duplicate]

I'm using csvautolongtable to import a csv file. Now the text in some cells is running over the edge of the page. How can I prevent this? \documentclass{article} \usepackage[T1]{fontenc} ...
1
vote
1answer
29 views

Nested boxes around cells in a table

I would like to nest two boxes in my table. It looks like this: content content content content content +----------------------+ content | content content | ...
2
votes
3answers
184 views

Tables and tabularx

I have the following code: \begin{tabularx}{1\textwidth}{|c||p{4cm}||p{3cm}|} \hline \textsc{\textbf{Nombre}} & \textsc{\textbf{Ancho de banda con compresión}} & \textsc{\textbf{Ancho de ...
0
votes
0answers
18 views

Tables are not appearing under right section [duplicate]

My tables look perfect but are under other sections in my report spaced out. How do I Keep it under the section I write it in
2
votes
0answers
38 views

Extra } or forgotten \endgroup when using footcite in table

I have a problem using footcite of bibtex and \makesavenoteenv of footnote together. This is my (not so minimal) MnWE, where I am trying to use \footcite inside a table floating environment: ...
2
votes
1answer
63 views

In a table, give an empty line the height 0, so that it virtually disappears

I am using an add-on to Stata in order to generate Latex-Tables that show estimation results and significance levels for some models. On of these programs creates table of the following form, which ...
0
votes
1answer
47 views

Help with tables and multirow

I'm trying to create a table with the following structure: Using the following code: \begin{table}[htp] \centering \begin{tabular}{ |l|l|l|l| } \hline ...
1
vote
1answer
15 views

How to adjust a big sidewaystable little bit lower vertically?

The rotating's sideways table just crosses the Chapter title: how can I adjust the table vertically lower? Ps. Dealing with big tables, other solution here contains multilinebreaks where prob with ...
1
vote
0answers
23 views

Automatic linebreaks for equations in tabular environment?

I have so far tested the breqn's dmath environment example here but it does not work with tabular in rotating's sidewaystable, resulting into \cr errors in wrong place. So How can you automatically ...
2
votes
1answer
28 views

Footnotes in table with savenotes

After considering options for getting my footnotes to work (Footnotes in tables?), I settled on the savenotes environment. Sadly it seems to work randomly, based on the position in the table. I have ...
1
vote
1answer
29 views

Space between columns in a tabular

I am trying to format the column space in a tabular. However by using Google I only found a global way to set every space the same (see code) with \tablecodesep. \setlength{\tabcolsep}{0em} \noindent ...
0
votes
1answer
24 views

Abbreviated cite with Biblatex's philosophy-modern style

I am writing my master thesis with classicthesis and I decided to use Biblatex's philosophy-modern style \usepackage[style=philosophy-modern,hyperref,square,natbib,backend=bibtex]{biblatex} ...
1
vote
1answer
51 views

Tabular cell alignment

I feel like this is a noob question, but I've been busting my chops trying to find an answer to this. I'm trying to create a table with two side by side paragraphs. They don't appear side by side ...