I was wondering if you can set the scope of \textfloatsep
locally. I have found an old thread on Google groups, which points out that you couldn't.
Has that changed by now? So what I want to do is simply to set \textfloatsep
to zero for only one table keeping the remaining tables unaffected.
edit: I thought about it and wouldn't be a manual solution to set it to zero just before the float and reverse to the original value afterwards?
\documentclass[a4paper, 12pt, headsepline, headings=small,]{scrreprt}
\usepackage[onehalfspacing]{setspace}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{booktabs}
\usepackage[pangram]{blindtext}
\begin{document}
\chapter{Tables}
\Blindtext[1][1]
\begin{table}[!t]
\centering
\caption{Table caption}
\fbox{X-Table}
\end{table}
\Blindtext[1][1]
\Blindtext[1][1]
\begin{table}[!t]
\centering
\caption{Table caption}
\fbox{Y-Table}
\end{table}
\Blindtext[1][1]
\end{document}