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

0
votes
1answer
35 views

Create shared row in table split into columns

How do I add a row across multiple columns such as the "maxpool" rows below?
0
votes
1answer
31 views

Vertically centering table cell texts

How do you make the content of this cell algin vertically centered? Here is the current output based on the code below. Thanks \documentclass[]{article} \usepackage[margin=0.5in]{geometry} ...
1
vote
1answer
49 views

Macro expansion ordering in tables

I've a large table (about 300 entries). Sometimes, I've a sequence of entries with the same value (for a given column). In such a case, I need to omit the value. All my values are stored in variables ...
2
votes
1answer
20 views

Getting extra cell at bottom of table [duplicate]

I am trying to make a 4x5 table with the following code. \begin{tabular}{| c | c | c | c | c |} \hline K(1,1) & K(1,2) & K(1,3) & $\cdots$ & K(1,m) \\ \hline K(2,1) ...
1
vote
2answers
48 views

Advanced table footnotes

I need to place footnotes on tables as in the following example, taken for Physical Review B: Since Phys. Rev. B is written in LaTeX (RevTeX), I belive this should be possible with any class. I am ...
1
vote
1answer
22 views

Tables with error message

I am trying to make a table (which has worked perfectly before, I'm only using slightly different column headings). \documentclass{article} \begin{document} ...
2
votes
1answer
33 views

Csvsimple \csvautotabular and \csvautobooktabular with centered columns' content

I'm using csvsimple for making tables, and csvautotabular and csvautobooktabular are working great. However, I'd like the content of each column to be centered instead of aligned to the left. An ...
0
votes
0answers
28 views

remove space between columns in longtabu with rowcolors

I use the ltxtable package to create long tables with variable width columns. Using this I want to completely remove the space between to table columns by doing this: \documentclass{scrbook} ...
1
vote
1answer
28 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
26 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
50 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
23 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
35 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
43 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
615 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 ...
1
vote
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
107 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
60 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
45 views

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

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
38 views

Section, figure, table numbers are in smaller font size [on hold]

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
30 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
56 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
59 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
39 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: ...