I have the following table with 5 rows with a first column of text and 4 columns of data :
\newenvironment{mytable}[1][h!]{\begin{table}[#1]\centering\small}{\end{table}}
\begin{mytable}
\begin{center}
\begingroup
\setlength{\tabcolsep}{3pt} % Default value: 6pt
\renewcommand{\arraystretch}{1} % Default value: 1
\begin{tabular}{|c|c|c|c|c|}
\hline
\addstackgap{Redshift central bin} & 1.0 & 1.2 & 1.4 & 1.65 \ \hline
\addstackgap{$\mathrm{d}N / \mathrm{d}\Omega\mathrm{d}z\left[\mathrm{deg}^{-2}\right]$} & 1815.0 & 1701.5 & 1410.0 & 940.97 \ \hline
\addstackgap{$\Delta z$ : width of bin} & 0.2 & 0.2 & 0.2 & 0.3 \ \hline
\addstackgap{$\rho_{gal}$,(gal.arcmin$^{-2}$}) & 0.1008 & 0.0945 & 0.0783 & 0.0784 \ \hline
\addstackgap{$\rho_{gal,tot}$,(gal.arcmin$^{-2}$)} &
\multicolumn{1}{c}{} 0.3521 &
\multicolumn{1}{c}{} &
\multicolumn{1}{c}{} & \
\hline
\end{tabular}
\endgroup
\end{center}
\caption{Spectroscopic specifications from \citetalias{IST:paper1} with 4 bins}
\label{density1}
\end{mytable}\
Here is the rendering :
I would like to keep the same format excepted the fact that I should center the value 0.3521 on the last row, between the first and fourth column.
Could anyone see how to perform this centering ?




\multicolumn? – Miyase Oct 07 '22 at 18:06\multicolumn{4}{c|}{0.3521}(without the empty cells and other multicolumn commands afterwards). – frabjous Oct 07 '22 at 18:09[h!]you should not defaulthit usually is impossible to achieve and generates a warning that it is being changed tohtand you should not default!as that is for ignoring the default constraints to over-ride the behaviour in special cases. Defaulting to ignoring the defaults is weird:-) – David Carlisle Oct 07 '22 at 20:00