I have the following problem(s). I have a sample table:
- Unfortunately, the text under the table is also always centered and is not left-aligned. What can be done about this? And is there a way to make the text flush with the width of the table?
- Strangely, the caption is also displayed below the table, although I actually wrote it above it. What can be the reason for this?
- How to increase space between table and text globally?
MWE
\documentclass[12pt]{article}
\usepackage[onehalfspacing]{setspace}
\usepackage[left=3cm,right=3.5cm,top=2.5cm,bottom=2.75cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{placeins}
\usepackage{indentfirst}
\usepackage[T1]{fontenc}
\usepackage{adjustbox}
\usepackage[nohyperlinks, printonlyused]{acronym}
\usepackage{tabularx}
\usepackage{amsmath}
\usepackage{adjustbox}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{tikz}
\usepackage{mathrsfs}
\usepackage{float}
\restylefloat{table}
\usepackage{amsfonts}
\usepackage{booktabs}
\usepackage{amssymb}
\usepackage{lipsum}
\usepackage[colorlinks=true,linkcolor=blue]{hyperref}
\usepackage[version=4]{mhchem}
\bibliographystyle{apalike}
\let\origfootnote\footnote
\renewcommand{\footnote}[1]{%
\begingroup
\renewcommand{\footnotesize}{\small}%
\origfootnote{#1}%
\endgroup}
\begin{document}
\FloatBarrier
\begin{table}[h]
\centering
\caption{Parameter values used.}
\label{tab:para}
\begin{tabular}{@{}lcccc@{}}
\toprule
$\epsilon\in \left[ 0,0.5 \right]$ & $M=2$ & $\omega_1=1$ & $\omega_2=1$ & $\omega_3=1$ \\
\bottomrule
\end{tabular}
\\\footnotesize \emph{Note:} \lipsum[2]
\end{table}
\FloatBarrier
\end{document}
Thanks for your help


$\epsilon\in \left[ 0,0.5 \right]$? Why not just write$\epsilon\in[ 0,0.5]$? and reduce the code clutter? – Mico Jul 17 '23 at 21:16