Graphics, Figures & Tables ⇒ Table Notes Alignment
Table Notes Alignment
Hello everyone,
I have some problems adjusting the alignment between the table notes and the table. I have attached the picture here. What I am looking for is to spread out the current table notes across the 3 columns. Could anyone please help me out? On the side note, I use the \usepackage[flushleft]{threeparttable}
Thank you for helping
I have some problems adjusting the alignment between the table notes and the table. I have attached the picture here. What I am looking for is to spread out the current table notes across the 3 columns. Could anyone please help me out? On the side note, I use the \usepackage[flushleft]{threeparttable}
Thank you for helping
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Table Notes Alignment
Hi,
welcome to the forum!
Can you please post your table code here in the forum? Then we can test it and help improving it. Otherwise it's a bit theoretical and we cannot post working code.
The best would be a small document with the table that is compilable (with \documentclass, \usepackage[flushleft]{threeparttable} etc.) since the forum has an online compiler and we can work on it right away. If you look at one of my posts from 2013
: Alignment for Table Notes, you can see what I mean (click the "Run LaTeX here" button).
Stefan
welcome to the forum!
Can you please post your table code here in the forum? Then we can test it and help improving it. Otherwise it's a bit theoretical and we cannot post working code.
The best would be a small document with the table that is compilable (with \documentclass, \usepackage[flushleft]{threeparttable} etc.) since the forum has an online compiler and we can work on it right away. If you look at one of my posts from 2013

Stefan
LaTeX.org admin
Table Notes Alignment
Hi Stefan, here is my codes I used for my table:
My document class is "article". Thank you for your help again.
Code: Select all
Code, edit and compile here:
\documentclass[12pt]{article}\usepackage{setspace}\usepackage{rotating}%\usepackage{esint}%\usepackage{subfig}\usepackage{amssymb}\usepackage{color, graphics, graphicx}\usepackage{amsmath}\usepackage{amsthm}\usepackage[authoryear]{natbib}\usepackage{mathrsfs}% \usepackage{hypernat}\usepackage{fontenc}\usepackage{lscape}\setcounter{MaxMatrixCols}{10}\usepackage{url}\usepackage{bbm}\usepackage{dsfont}\usepackage{lmodern} % try to avoid timid font\usepackage[hmargin=1in,vmargin=1in]{geometry}\usepackage{float}\usepackage{array}\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}%\usepackage{footnote}%\makesavenoteenv{tabular}%\makesavenoteenv{table}\usepackage{booktabs,caption,fixltx2e}\usepackage[flushleft]{threeparttable}\usepackage{tabularx,pbox}\usepackage{graphicx} % "demo" option just for this example\usepackage[utf8x]{inputenc}\usepackage{subcaption}\usepackage{soul}\usepackage{titling}\usepackage[table]{xcolor}\usepackage[multiple]{footmisc}\usepackage[toc,page]{appendix}\usepackage{setspace}
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Table Notes Alignment
Unlike the picture, the table notes in the code example output span over three columns.
So what is the issue, or is it just the other table?
Stefan
So what is the issue, or is it just the other table?
Stefan
LaTeX.org admin
Table Notes Alignment
I don't know why it looks so nice here, it does not look like that in my pdf output :/
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Table Notes Alignment
How does this code example output look when you run it on your machine?
Stefan
Stefan
LaTeX.org admin
Table Notes Alignment
I got it alreadyyyy hahahahahah! I forgot to put everything between \begin{threeparttable} and \end{threeparttable}. It looks better now! Thank you for your help anywayyy. Stay safe.
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Table Notes Alignment
That was easy
funny that there's no error if you use the
Stefan

tablenotes
environment in a standard table. However, it seems that you don't use \tnote
commands, otherwise there would be an error.Stefan
LaTeX.org admin
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Table Notes Alignment
Btw. the fixed example may look like this:
I notice that the left side is not perfectly aligned. That's because there's a note marker symbol expected, such as with \item[3] Source: Survey of Income ... A note marker would be perfectly aligned. I wonder if table notes (cross-references like footnotes) are the best solution here, or if it's rather a caption with notes.
Stefan
Code: Select all
Code, edit and compile here:
\documentclass[12pt]{article}\usepackage{setspace}\usepackage{rotating}%\usepackage{esint}%\usepackage{subfig}\usepackage{amssymb}\usepackage{color, graphics, graphicx}\usepackage{amsmath}\usepackage{amsthm}\usepackage[authoryear]{natbib}\usepackage{mathrsfs}% \usepackage{hypernat}\usepackage{fontenc}\usepackage{lscape}\setcounter{MaxMatrixCols}{10}\usepackage{url}\usepackage{bbm}\usepackage{dsfont}\usepackage{lmodern} % try to avoid timid font\usepackage[hmargin=1in,vmargin=1in]{geometry}\usepackage{float}\usepackage{array}\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}%\usepackage{footnote}%\makesavenoteenv{tabular}%\makesavenoteenv{table}\usepackage{booktabs,caption,fixltx2e}\usepackage[flushleft]{threeparttable}\usepackage{tabularx,pbox}\usepackage{graphicx} % "demo" option just for this example\usepackage[utf8x]{inputenc}\usepackage{subcaption}\usepackage{soul}\usepackage{titling}\usepackage[table]{xcolor}\usepackage[multiple]{footmisc}\usepackage[toc,page]{appendix}\usepackage{setspace}
Stefan
LaTeX.org admin