Graphics, Figures & Tables ⇒ Table Notes Alignment
Table Notes Alignment
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Table Notes Alignment
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
Table Notes Alignment
Code: Select all
\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}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{rotating}
\usepackage[paper=portrait,pagesize]{typearea}
\usepackage{multirow}
\newtheorem{theorem}{Theorem}
\newtheorem{acknowledgement}[theorem]{Acknowledgement}
\newtheorem{algorithm}[theorem]{Algorithm}
\newtheorem{assumption}[theorem]{Assumption}
\newtheorem{axiom}[theorem]{Axiom}
\newtheorem{case}[theorem]{Case}
\newtheorem{claim}[theorem]{Claim}
\newtheorem{conclusion}[theorem]{Conclusion}
\newtheorem{condition}[theorem]{Condition}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{criterion}[theorem]{Criterion}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{exercise}[theorem]{Exercise}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{notation}[theorem]{Notation}
\newtheorem{problem}[theorem]{Problem}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{solution}[theorem]{Solution}
\newtheorem{summary}[theorem]{Summary}
\DeclareMathOperator*{\argmin}{arg\,min}
%\newtheorem{proof}[theorem]{Proof}
\newcommand*\samethanks[1][\value{footnote}]{\footnotemark[#1]}
\newcommand\Thickvrule[1]{%
\multicolumn{1}{!{\vrule width 2pt}c!{\vrule width 2pt}}{#1}%
}
\usepackage{array}
\newlength\Origarrayrulewidth
\newcommand{\Cline}[1]{%
\noalign{\global\setlength\Origarrayrulewidth{\arrayrulewidth}}%
\noalign{\global\setlength\arrayrulewidth{2pt}}\cline{#1}%
\noalign{\global\setlength\arrayrulewidth{\Origarrayrulewidth}}%
}
\RequirePackage[OT1]{fontenc}
\numberwithin{equation}{section}
\RequirePackage[colorlinks]{hyperref}
\hypersetup{
colorlinks,%
citecolor=blue,%
filecolor=red,%
linkcolor=black,%
urlcolor=black
}
\begin{document}
\begin{table}[H]
\centering
\caption{Summary Statistics of the key variables in estimation analysis.\label{sum_sipp}}
\begin{tabular}{l|l|l}
\textbf{Variables } & \multicolumn{2}{c}{ } \\ \hline
& Mean & Std.Dev \\ \hline
\textbf{\textit{Individuals' characteristics}} & & \\
Age (years) & 44.779 & 11.974 \\
Male*& 0.502 & 0.500 \\
Year of birth & 1969 & 12.021 \\
Marital status* & 0.563 & 0.496 \\
Years of education (years) & 13.336 & 2.971 \\
No qualification* & 0.110 & 0.313 \\
High school graduate* & 0.5004 & 0.500 \\
Associate degree graduate* & 0.093 & 0.291 \\
Bachelor's degree graduate* & 0.190 & 0.392 \\
Master's degree graduate* & 0.094 & 0.291 \\
Doctor's degree graduate* & 0.013 & 0.114 \\ \hline
\textbf{\textit{Workers' characteristics}} & & \\
Potential years of experience (years) & 26.443 & 12.417 \\
Potential years of experience squared & 853.40 & 659.405 \\
Weekly hours worked in the main job & 43.254 & 6.475 \\
Weekly wage from the main job (\$) & 1104.8 & 1325.226 \\
Hourly wage from the main job (\$) & 17.597 & 19.448 \\
STEM* & 0.062 & 0.241 \\ \hline
\end{tabular}
\end{table}
\begin{tablenotes}
\item \footnotesize{Note: * denotes dummy variables}
\item \footnotesize{Note: Weekly and hourly wages have been converted into the real term.}
\item \footnotesize{Source: Survey of Income and Program Participation (SIPP) of full-time workers (2013 to 2016).}
\end{tablenotes}
\end{document}
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Table Notes Alignment
So what is the issue, or is it just the other table?
Stefan
Table Notes Alignment
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Table Notes Alignment
Stefan
Table Notes Alignment
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Table Notes Alignment

tablenotes
environment in a standard table. However, it seems that you don't use \tnote
commands, otherwise there would be an error.Stefan
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Table Notes Alignment
Code: Select all
\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}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{rotating}
\usepackage[paper=portrait,pagesize]{typearea}
\usepackage{multirow}
\newtheorem{theorem}{Theorem}
\newtheorem{acknowledgement}[theorem]{Acknowledgement}
\newtheorem{algorithm}[theorem]{Algorithm}
\newtheorem{assumption}[theorem]{Assumption}
\newtheorem{axiom}[theorem]{Axiom}
\newtheorem{case}[theorem]{Case}
\newtheorem{claim}[theorem]{Claim}
\newtheorem{conclusion}[theorem]{Conclusion}
\newtheorem{condition}[theorem]{Condition}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{criterion}[theorem]{Criterion}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{exercise}[theorem]{Exercise}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{notation}[theorem]{Notation}
\newtheorem{problem}[theorem]{Problem}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{solution}[theorem]{Solution}
\newtheorem{summary}[theorem]{Summary}
\DeclareMathOperator*{\argmin}{arg\,min}
%\newtheorem{proof}[theorem]{Proof}
\newcommand*\samethanks[1][\value{footnote}]{\footnotemark[#1]}
\newcommand\Thickvrule[1]{%
\multicolumn{1}{!{\vrule width 2pt}c!{\vrule width 2pt}}{#1}%
}
\usepackage{array}
\newlength\Origarrayrulewidth
\newcommand{\Cline}[1]{%
\noalign{\global\setlength\Origarrayrulewidth{\arrayrulewidth}}%
\noalign{\global\setlength\arrayrulewidth{2pt}}\cline{#1}%
\noalign{\global\setlength\arrayrulewidth{\Origarrayrulewidth}}%
}
\RequirePackage[OT1]{fontenc}
\numberwithin{equation}{section}
\RequirePackage[colorlinks]{hyperref}
\hypersetup{
colorlinks,%
citecolor=blue,%
filecolor=red,%
linkcolor=black,%
urlcolor=black
}
\begin{document}
\begin{threeparttable}
\centering
\caption{Summary Statistics of the key variables in estimation analysis.\label{sum_sipp}}
\begin{tabular}{l|l|l}
\textbf{Variables } & \multicolumn{2}{c}{ } \\ \hline
& Mean & Std.Dev \\ \hline
\textbf{\textit{Individuals' characteristics}} & & \\
Age (years) & 44.779 & 11.974 \\
Male*& 0.502 & 0.500 \\
Year of birth & 1969 & 12.021 \\
Marital status* & 0.563 & 0.496 \\
Years of education (years) & 13.336 & 2.971 \\
No qualification* & 0.110 & 0.313 \\
High school graduate* & 0.5004 & 0.500 \\
Associate degree graduate* & 0.093 & 0.291 \\
Bachelor's degree graduate* & 0.190 & 0.392 \\
Master's degree graduate* & 0.094 & 0.291 \\
Doctor's degree graduate* & 0.013 & 0.114 \\ \hline
\textbf{\textit{Workers' characteristics}} & & \\
Potential years of experience (years) & 26.443 & 12.417 \\
Potential years of experience squared & 853.40 & 659.405 \\
Weekly hours worked in the main job & 43.254 & 6.475 \\
Weekly wage from the main job (\$) & 1104.8 & 1325.226 \\
Hourly wage from the main job (\$) & 17.597 & 19.448 \\
STEM* & 0.062 & 0.241 \\ \hline
\end{tabular}
\begin{tablenotes}
\item \footnotesize{Note: * denotes dummy variables}
\item \footnotesize{Note: Weekly and hourly wages have been converted into the real term.}
\item \footnotesize{Source: Survey of Income and Program Participation (SIPP) of full-time workers (2013 to 2016).}
\end{tablenotes}
\end{threeparttable}
\end{document}
Stefan