I am trying to make a table where I define my training and validation sets. To do this I want a multicolumn table, written like this:
\documentclass{article}
\usepackage{booktabs}
\begin{document}
\begin{table}[h!]
\small
\caption{Expert Model Forecasts}
\label{table:5:2}
\begin{tabular*}{\textwidth}{
@{\extracolsep{\fill}}
l
*{5}{S}
@{}
}
\toprule
{} & \multicolumn{2}{c}{Training Set} & \multicolumn{2}{c}{Validation Set}
\\
\cmidrule(lr){2-3} \cmidrule(lr){4-5}
{} & {start} & {end} & {start} & {end} \\
\midrule
(1) & 2020.01.01 & 2021.01 & 45.33 & 22.02\\
(2) & 2020.0101 & 7.06 & 13.51 & 7.10 \\
\bottomrule
\end{tabular*}
\end{table} \\
\end{document}
My initial question, when I started to write this post, was why the dates do not show in the table. But when I created this example in a empty overleaf project, I realize that the dates DO show. So, my question now is why they show in this example but they don't show in my main project. See examples below.
I realize this question can be hard to answer, but maybe someone knows what can cause this problem.