I want to represent 3 tables beside each other under the same section. But whatever I tried to do, \FloatBarrier never seemed to do anything.
Keeping the 3 tables beside each other is done using minipages (as shown by multiple answers on this sight):
\begin{table}
\begin{minipage}{0.3\textwidth}
\begin{center}
\caption{First Trial \label{tab: Table 1}}
\bigskip
\begin{tabularx}{0.75\textwidth}{
>{\raggedright\arraybackslash}X
>{\raggedleft\arraybackslash}X}
\toprule
\(x\) (cm) & \(t\) (s) \\
\midrule
100 & 5.66 \\
90 & 4.81 \\
80 & 4.34 \\
70 & 3.26 \\
60 & 3.00 \\
50 & 2.79 \\
40 & 2.27 \\
30 & 1.69 \\
\bottomrule
\end{tabularx}
\end{center}
\end{minipage}
\quad
% Second trial
\begin{minipage}{0.3\textwidth}
\begin{center}
\caption{Second Trial \label{tab: Table 2}}
\bigskip
\begin{tabularx}{0.75\textwidth}{
>{\raggedright\arraybackslash}X
>{\raggedleft\arraybackslash}X}
\toprule
\(x\) (cm) & \(t\) (s) \\
\midrule
100 & 5.66 \\
90 & 4.81 \\
80 & 4.34 \\
70 & 3.26 \\
60 & 3.00 \\
50 & 2.79 \\
40 & 2.27 \\
30 & 1.69 \\
\bottomrule
\end{tabularx}
\end{center}
\end{minipage}
\quad
% Third trial
\begin{minipage}{0.3\textwidth}
\begin{center}
\caption{Third Trial \label{tab: Table 3}}
\bigskip
\begin{tabularx}{0.75\textwidth}{
>{\raggedright\arraybackslash}X
>{\raggedleft\arraybackslash}X}
\toprule
\(x\) (cm) & \(t\) (s) \\
\midrule
100 & 5.66 \\
90 & 4.81 \\
80 & 4.34 \\
70 & 3.26 \\
60 & 3.00 \\
50 & 2.79 \\
40 & 2.27 \\
30 & 1.69 \\
\bottomrule
\end{tabularx}
\end{center}
\end{minipage}
\end{table}
Possible unrelated question: Why do the tables stack up on each other when I add a newline between the quads, like this:
% First trial
\begin{table}
\begin{minipage}{0.3\textwidth}
\begin{center}
\caption{First Trial \label{tab: Table 1}}
\bigskip
\begin{tabularx}{0.75\textwidth}{
>{\raggedright\arraybackslash}X
>{\raggedleft\arraybackslash}X}
\toprule
\(x\) (cm) & \(t\) (s) \\
\midrule
100 & 5.66 \\
90 & 4.81 \\
80 & 4.34 \\
70 & 3.26 \\
60 & 3.00 \\
50 & 2.79 \\
40 & 2.27 \\
30 & 1.69 \\
\bottomrule
\end{tabularx}
\end{center}
\end{minipage}
\quad
% Second trial
\begin{minipage}{0.3\textwidth}
\begin{center}
\caption{Second Trial \label{tab: Table 2}}
\bigskip
\begin{tabularx}{0.75\textwidth}{
>{\raggedright\arraybackslash}X
>{\raggedleft\arraybackslash}X}
\toprule
(x) (cm) & (t) (s) \
\midrule
100 & 5.66 \
90 & 4.81 \
80 & 4.34 \
70 & 3.26 \
60 & 3.00 \
50 & 2.79 \
40 & 2.27 \
30 & 1.69 \
\bottomrule
\end{tabularx}
\end{center}
\end{minipage}
\quad
% Third trial
\begin{minipage}{0.3\textwidth}
\begin{center}
\caption{Third Trial \label{tab: Table 3}}
\bigskip
\begin{tabularx}{0.75\textwidth}{
>{\raggedright\arraybackslash}X
>{\raggedleft\arraybackslash}X}
\toprule
(x) (cm) & (t) (s) \
\midrule
100 & 5.66 \
90 & 4.81 \
80 & 4.34 \
70 & 3.26 \
60 & 3.00 \
50 & 2.79 \
40 & 2.27 \
30 & 1.69 \
\bottomrule
\end{tabularx}
\end{center}
\end{minipage}
\end{table}
I thought whitespace didn't matter.
Anyways, as many answers indicate over here, \FloatBarrier from placein could be used in order to keep figures, tables, and other stuff in their desired sections. However, when I add a \FloatBarrier just before I type \end{table}, nothing changes. In fact, wherever I add \FloatBarrier in the table environment, nothing changes. Why doesn't \FloatBarrier have any effect here?
Lastly, how could I keep multiple tables beside each other and under the same section?
EDIT: Sorry for not providing a MWE from the beginning
\documentclass[12pt]{article}
\usepackage{booktabs, tabularx}
\begin{document}
\section{First Section}
The tables below provide data.
% First trial
\begin{table}
\begin{minipage}{0.3\textwidth}
\begin{center}
\caption{First Trial \label{tab: Table 1}}
\bigskip
\begin{tabularx}{0.75\textwidth}{
>{\raggedright\arraybackslash}X
>{\raggedleft\arraybackslash}X}
\toprule
(x) (cm) & (t) (s) \
\midrule
100 & 5.66 \
90 & 4.81 \
80 & 4.34 \
70 & 3.26 \
60 & 3.00 \
50 & 2.79 \
40 & 2.27 \
30 & 1.69 \
\bottomrule
\end{tabularx}
\end{center}
\end{minipage}
\quad
% Second trial
\begin{minipage}{0.3\textwidth}
\begin{center}
\caption{Second Trial \label{tab: Table 2}}
\bigskip
\begin{tabularx}{0.75\textwidth}{
>{\raggedright\arraybackslash}X
>{\raggedleft\arraybackslash}X}
\toprule
(x) (cm) & (t) (s) \
\midrule
100 & 4.43 \
90 & 4.10 \
80 & 3.44 \
70 & 3.32 \
60 & 3.12 \
50 & 2.54 \
40 & 2.33 \
30 & 1.56 \
\bottomrule
\end{tabularx}
\end{center}
\end{minipage}
\quad
% Third trial
\begin{minipage}{0.3\textwidth}
\begin{center}
\caption{Third Trial \label{tab: Table 3}}
\bigskip
\begin{tabularx}{0.75\textwidth}{
>{\raggedright\arraybackslash}X
>{\raggedleft\arraybackslash}X}
\toprule
(x) (cm) & (t) (s) \
\midrule
100 & 4.95 \
90 & 4.75 \
80 & 3.71 \
70 & 3.64 \
60 & 3.19 \
50 & 2.47 \
40 & 1.88 \
30 & 1.31 \
\bottomrule
\end{tabularx}
\end{center}
\end{minipage}
\end{table}
\end{document}

tableenvironment? See also the part about "Float placement specifiers" in the answer to How to influence the position of float environments like figure and table in LaTeX? – leandriis Sep 05 '21 at 06:14centerenvironment to horizontally center contents inside of atableenvironment will lead to additional white space. You may want to replace it with the\centeringcommand. Also, what's the point oftabularxhere? A simple\begin{tabular}{lr}should work perfectly fine for this type of tables. For improved and uniform spacing around captions, I'd also load thecaptionpackage and remove all occurences of\bigskip. – leandriis Sep 05 '21 at 06:18\quadwith\hfillor add\centeringwithg before the firstminipageenvironment. (You can add\usepackage{showframe}(draws lines tovisualize the textblock/margins) to the preamble to see the effect.) – leandriis Sep 05 '21 at 06:23Xif you useXXXthey touch, if you useX X Xthey have space between and go side by side or wrap to the next line if they do not fit and if you goX blank line X blank line Xthen they are in three paragraphs so stack vertically. – David Carlisle Sep 05 '21 at 07:43\parboxthat just boxes its content. – David Carlisle Sep 05 '21 at 08:17