The footnote
within my table appears constrained to the width of the first tabular section, and I'm seeking a way to extend it to occupy the entire width of the table.
My document is formatted in two-column
style, and I've employed the table*
environment to expand the table across the entire page width. Within this structure, I've arranged two tabular sections side by side to form two distinct tables. Additionally, I'm utilizing the threeparttable
package to incorporate table notes.
The provided code generates the output in the figure below. I want to enhance the footnote to encompass all the white space highlighted in red.
\documentclass[twocolumn]{article}
\usepackage{graphicx} % Required for inserting images
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{threeparttable}
\usepackage{makecell}
\usepackage{colortbl}
\usepackage{amsmath}
\usepackage{lipsum} % For dummy text; you can remove this in your actual document
\usepackage{geometry} %margins of the document
\geometry{
a4paper,
total={170mm,257mm},
left=20mm,
top=20mm,
}
\usepackage{showframe} % to show page margins
\title{two_colums_two_columns}
\author{alexyshr }
\date{January 2024}
\begin{document}
\definecolor{light-gray}{gray}{0.95}
\section{Introduction}
\lipsum[1-2]
\addtolength{\tabcolsep}{-5pt} %reduce default column separation
\begin{table*}[hbt!] %table* will expand the table to all the space available
\caption{SOF Metrics. All providers. Florida Power Grid - PG}
\centering
\fontsize{7}{9}\selectfont
\begin{threeparttable}
\begin{tabular}[t]{>{}clcccccc}
\toprule
& \textbf{County} & \textbf{\makecell[c]{SOF\\MERS$^\dagger$}} & \textbf{\makecell[c]{SOF\\MERA$^\ast$}} & \textbf{$\beta_0^\ddagger$} & \textbf{$\beta_1^\S$} & \textbf{$\#^\P$} & \vphantom{1} \textbf{\makecell[c]{Risk\\Ratio}}\\
\midrule
\em{1} & OSCEOLA & 46.0 & 0.511 & -7.176 & 0.156 & 10 & 0.720\\
\em{2} & HILLSBOROUGH & 45.0 & 0.500 & -7.003 & 0.156 & 10 & 0.736\\
\em{3} & SUMTER & 44.7 & 0.497 & -8.823 & 0.197 & 10 & 0.740\\
\em{4} & PALM BEACH & 43.9 & 0.488 & -10.656 & 0.243 & 10 & 0.754\\
\em{5} & MIAMI-DADE & 43.6 & 0.484 & -9.377 & 0.215 & 10 & 0.760\\
\bottomrule
\end{tabular}
\begin{tablenotes}[para]
\item[$\ast$] \text{$\equiv$ SOF-MERS: Multi-Event median Robustness wind Speed; }
\item[$\dagger$] \text{$\equiv$ SOF-MERA: Multi-Event Robustness Area.}
\item[$\ddagger$] \text{$\equiv$ Intercept; }
\item[$\S$] \text{$\equiv$ Slope; }
\item[$\P$] \text{$\equiv$ Number of Hurricane Events.}
\end{tablenotes}
\end{threeparttable}
\centering
\begin{tabular}[t]{clcccccc}
\toprule
\em{ } & \textbf{County} & \textbf{\makecell[c]{SOF\\MERS$^\dagger$}} & \textbf{\makecell[c]{SOF\\MERA$^\ast$}} & \textbf{$\beta_0^\ddagger$} & \textbf{$\beta_1^\S$} & \textbf{$\#^\P$} & \textbf{\makecell[c]{Risk\\Ratio}}\\
\midrule
\em{35} & HAMILTON & 32.3 & 0.359 & -7.244 & 0.224 & 10 & 1.024\\
\em{36} & DIXIE & 32.2 & 0.358 & -10.633 & 0.330 & 10 & 1.027\\
\em{37} & PUTNAM & 32.2 & 0.357 & -9.266 & 0.288 & 10 & 1.030\\
\em{38} & FLAGLER & 32.0 & 0.356 & -9.695 & 0.303 & 10 & 1.033\\
\em{\cellcolor{light-gray}{\textbf{$>>$}}} & \cellcolor{light-gray}{\textbf{ALL}} & \cellcolor{light-gray}{\textbf{33.1}} & \cellcolor{light-gray}{\textbf{0.368}} & \cellcolor{light-gray}{\textbf{-7.776}} & \cellcolor{light-gray}{\textbf{0.235}} & \cellcolor{light-gray}{\textbf{683}} & \cellcolor{light-gray}{\textbf{1.000}}\\
\bottomrule
\end{tabular}
\end{table*}
\lipsum[3-15]
%return to normal column separation
\addtolength{\tabcolsep}{1pt}
\end{document}