Questions tagged [threeparttable]

`threeparttable` is a package which supports typesetting tabulars which include 'table notes'. Tabular environments can then include three parts: (1) caption (2) tabular, including note markers (3) notes.

1
vote
1answer
28 views

Two tables underneath each other with three part table

I am trying to put two tables underneath each other within a threeparttable environment. My TeX code looks as follows: \documentclass[11pt,a4paper]{article} \usepackage{amssymb, amsmath, bm} \...
0
votes
1answer
25 views

Complex table over multiple pages in combination with adjustbox

Problem statement I am fairly new to tables in Latex and currently really struggling with the longtable package. Questions as to how to make tables over multiple pages have already been asked several ...
2
votes
2answers
33 views

Putting a line underneath a word in three part table

I cant seem to fix this small issue where the line underneath the word "MS-DNS" is aligned to the left instead of right underneath the word. Here is the LaTeX code \documentclass[11pt,a4paper]{...
1
vote
2answers
33 views

Vertically align a too high threeparttable on landscape page while keeping fancyhdr in original place

I have a rather large threeparttable that was too wide to fit on a vertical page, so I put it on a landscape page. But now it is a bit too high to fit between the top (left) and bottom (right) ...
2
votes
1answer
49 views

tabular indentation won't go away, even with \noindent and @{} in tabular preamble

I keep trying to get my table to not indent but nothing works. Here is my header: \documentclass[twocolumn]{aastex62} \usepackage[para]{threeparttable} \usepackage{mathtools} \usepackage{amssymb} \...
1
vote
3answers
44 views

Putting text in the middle of a line within a three part table

I am trying to put some text in the middle of a horizontal line that only spans a part of the table. Below is my table so far \documentclass{article} \usepackage{amssymb, amsmath, bm} \usepackage[...
2
votes
2answers
44 views

Aligning table notes to the left in three part table

I have some trouble with the table notes of my table. For some reason, my table notes do not align to the left (probably because my table is quite wide). Is there a way to widen the table notes such ...
1
vote
2answers
43 views

How can I use page-wide threepart table in a 2 column document?

I have an IEEEtran paper I am writing and I want to insert a table with footnotes that spans over the whole page width. Normally to insert a table over the two columns I use the table* environment ...
2
votes
1answer
75 views

How to convert table to longtable

I have the following table with environment threeparttable which can't fit on one page. I was pretty happy with all my LaTeX code and would really appreciate a solution where I don't need to change ...
0
votes
0answers
40 views

Add empty cells in table in Latex

I want to put some empty cells in Table so my table has the first row with numbers and the next the first cell only empty. I also used note under the table but there is error that I couldn't resolve. ...
1
vote
0answers
34 views

Package “threeparttable”: What advantages does it provide? [closed]

In the past I have been using tabularx, caption and parnotes packages to design my tables. Now the user John Kormylo has mentioned the package threeparttable: What advantages does threeparttable ...
5
votes
2answers
157 views

How do I align tablenotes in a threeparttable

Edit: Now I realize there is a issue with very long notes, specially because I am working with A5 paper. Using Mica's solution: Having the tablenotes flushleft however works just fine. Two questions ...
1
vote
1answer
147 views

This code is not executing in the documentclass [journal]{IEEEtran}?

\documentclass[journal]{IEEEtran} \hyphenation{Smart Grid} \usepackage{subfloat} \usepackage{subcaption} \usepackage{graphicx} \usepackage{color} %for colors \usepackage{epstopdf} \usepackage{url} \...
0
votes
0answers
68 views

There is an alternative for \afterpage?

I'm experiencing problems with my floats. Reading about it I found that \afterpage could be the responsible for that situation (answer that I read). I use \afterpage for long horizontal tables spread ...
1
vote
1answer
69 views

Reduce the size of vdots inside a table

Consider the following table \documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{...
2
votes
2answers
49 views

Table placement and improved formatting

I am trying to display a rather large table within our file. However, the table jumps to a new page while it looks like there is plenty of space on the previous page. The code: \chapter{Results} \...
1
vote
1answer
66 views

Tabularx is increasing the table numeration even without \caption

I'm using ltablex and threeparttablex for my long tables across 2 or 3 pages. However, into the text body I use tabularx without the intention of numbering, but the tabularx environment is increasing ...
0
votes
0answers
92 views

Landscape, multipage, threeparttable hellhole

firstly apologies for the untidiness of the code that is below, there is a lot of unnecessary things in there but kept them in just in case of any possible conflicts . Essentially I'm having a problem ...
2
votes
1answer
95 views

Make table notes as wide as `\textwidth` while preserving table's own width

I use the threeparttable package to make tables, for the following reasons: It allows me to conveniently make table notes that may refer to specific text in the table; The table notes are tightly ...
2
votes
1answer
70 views

angular brackets (textlangle) in table with siunitx

I want to use angular brackets as produced by \textlangle and \textrangle from the textcomp package in a table. I am using siunitx to handle digits, alignment, and so on, but I get an unnecessary ...
0
votes
1answer
89 views

Labeling threeparttable footnotes

I want to label footnotes using the threeparttable package, but it does not seem to be able to assign a label without proper caption. In fact if I disable the \caption package it works. But I need the ...
2
votes
2answers
96 views

Align columns at decimal point using siunitx wherein each cell contains superscripted table-notes

I am using the threeparttable package to typeset a table with some footnotes. I would like to align the entries in each numerical column using the facilities provided by siunitx. However, when table ...
1
vote
0answers
31 views

How to align on center of the page a longtable inside a ThreePartTable?

I am trying to resize a ThreePartTable in the page but I always get an error. The code so far goes like this: \documentclass{article} \usepackage{graphicx} \usepackage{threeparttablex} ...
2
votes
1answer
131 views

Longtable, notes with threeparttable and caption issues

I have a table and its content is longer than one page. So I decided to use the longtable package. Unfortunately there are some issues with the caption and threeparttable/notes I can not sort out. ...
6
votes
1answer
80 views

A way to create a clear layout for large tables

I know, that the question is somehow subjective, but this is my 2nd document writing in TeX. Therefore I've not so much input about the variety of commands and I would be very grateful for some ideas ...
1
vote
2answers
93 views

How can I fix the following error: Extra alignment tab has been changed to \cr

I searched to find the solution for my code. But it wasn't successful try. I used 'tablegenerator' to make a table for my project. Error: ! Extra alignment tab has been changed to \cr. <...
1
vote
1answer
175 views

Longtable fail to break the page with landscape, siunitx and threepartTable

The table I have is too wide and long, so I decide to use landscape with longtable to display the table. However, with a lot of search, I have no luck in making the table to break into two pages with ...
2
votes
1answer
104 views

Issue with Three Part Table and TexWorks

I'm transferring some latex code form sharelatex to texworks, and although this code works perfectly in sharelatex, it seems to be hiccuping on the three parttable in texworks. Any idea what I'm doing ...
1
vote
1answer
155 views

threeparttable and resizebox trouble

\documentclass{article} \usepackage{graphicx} \usepackage{multirow} \usepackage{threeparttable} \begin{document} \begin{table} \begin{threeparttable}[b] \caption{Title} \label{tab1} \resizebox{\...
1
vote
2answers
277 views

Need single spaced table notes with double spaced entire document

I am using a class file specified by my university which sets the line spacing for the whole document to double. However, I want the notes underneath my tables to be single-spaced which are currently ...
1
vote
1answer
126 views

How to change the tablenotes using threeparttable

See below for the code I use and the table it generates. How can I change the text below the table (i.e. the notes), so it is not strictly below the table, but stretched out more? It can be two lines ...
3
votes
2answers
69 views

How to prevent onehalfspacing in a table?

I have composed my document with booktabs as usually. Then I had to add some notes to one of the tables, so I have tried about every solution discussed on TSX out of which ctabs and threeparttablex ...
1
vote
1answer
81 views

Issues with fitting tables

I have this table code here: \documentclass{article} \usepackage{longtable} \usepackage{booktabs,amsmath,bm,siunitx} \usepackage{lscape} \usepackage{threeparttable} \...
0
votes
1answer
91 views

Centering column in Three Part Table

I'm having trouble when trying to center columns in a three part table enviroment. My code: \begin{table}[H] \centering \begin{ThreePartTable} \let\TPTrlap\relax \begin{tabularx}{\textwidth}{@{} ...
2
votes
1answer
160 views

rowcolor command from colortbl package leaves unwanted gaps in shading between columns

I would like to highlight the first two rows of my table with a custom shade of gray. For this, I thought of using the \rowcolor environment from the colortbl package. However, its usage seems to ...
0
votes
1answer
321 views

How to add notes below external table (from esttab)?

I am working on my first latex paper and am having trouble adding notes (describing the specifications, significance) below my regression table. I used esttab in Stata to create the .tex file I'm ...
1
vote
1answer
74 views

How to get same background color all over header in threeparttable

I am trying to get the entire header area (the two rows between \toprule and the long \midrule) of the table area to get the same background color (without any whitespace), but it doesn't seem to work....
1
vote
1answer
4k views

include latex table in rmarkdown

I try to include latex code (a table) into my Rmarkdown document. I need to use latex instead of other options because the table has to be in a certain format. The problem I encounter is the ...
3
votes
2answers
199 views

Remove extra space between \pm columns in tabular environment?

I keep getting excessive whitespace between columns in my graphs: \documentclass{article} \usepackage{array} \usepackage{siunitx} \usepackage{booktabs} \usepackage[flushleft]{threeparttable} \...
0
votes
3answers
79 views

Horizontal alignment with colorbox

I am getting quite frustrated trying to center a three-part table \documentclass{article} \usepackage[flushleft]{threeparttable} \usepackage{booktabs,xcolor,siunitx} \definecolor{lightgray}{gray}{0.9}...
1
vote
0answers
174 views

Let \tablenotes in threeparttable appear as justified text block

I'm using the para option to typeset table notes as a single justified text block, which often works, but not always. The attached code produces this: There is a break between "b" and "c". It seems ...
0
votes
2answers
306 views

Caption alignment below figure [duplicate]

I need to edit my previous question about caption width below the figure. The goal is to have a caption exactly the same width as the figure. I was recommended to use caption package and the command \...
1
vote
1answer
136 views

Multi-page table with caption aligned to the left edge

I am trying to achieve same thing as in this question, but with longtable environment. Table itself is centered. Using caption package and \captionsetup[longtable]{justification=raggedright,...
0
votes
1answer
99 views

How to nicely align chemfig structures in table?

I am trying to place a molecular structure (chemfig) in a table give as shown in the figure. However, the structure takes up vertical space from the next row, even after using multirows (see MWE). How ...
1
vote
2answers
71 views

Issue with caption inside measuredfigure environment

I need to write the figure sources under the figure themselves. As recommended in StackExchange, I used the caption package that I also used for the title of the figure, which comes over the figure. ...
2
votes
1answer
697 views

Width of tablenotes and caption (threeparttable)

Could you help me adjusting the width of the \tablenotes and \captionin this MWE? I want both to be whole page and not just as wide as the table. \documentclass{apa6} \begin{document} \begin{table}[...
1
vote
2answers
72 views

How to create custom table environment with a possibility for table footnotes

I'm trying to create a custom table environment that has the following properties: It may be very long (i.e., longer than a page) and so I need to use a longtable It may (or may not) have footnotes. ...
1
vote
1answer
2k views

Right align in table when using p{}

How do I right align in the following example, given that I am using p{} for column widths? Ideally I'd like the right hand side four columns to be right aligned, and the others left aligned. I can ...
3
votes
1answer
293 views

Table using \multicolum and \multirow

I'm working on Latex to generate the following table, I want columns that have numbers to be right aligned and similar sized. Here is a minimal code example to start the discussion: \documentclass{...
0
votes
1answer
244 views

table footnote indentation

[flushleft] makes the whole table flushleft. I only want the footnotes to be indented with the beginning of the table. \documentclass[a4paper,12pt,times,numbered,print,index]{Classes/PhDThesisPSnPDF} ...