Consider this example:
\documentclass{article} \begin{document} \begin{tabular}{|c|} \downbracefill\\\hline text\\\hline \upbracefill \end{tabular} \end{document} In the produced document, the vertical spacing between downbracefill and the first hline is not the same as the one between the second hline and upbracefill. This can also be reproduced with \hrulefill instead of \downbracefill and \upbracefill.
I suppose this has to do with the placement of the baselines.
How can I control the vertical space before and after hrule to make them equal in situations like in the given example?
$\overbrace{\underbrace{\text{text text text}}}$sufficient for you? (if not why?)\\[-16.8pt]after the second\hline. Credit partially tex.stackexchange.com/questions/84524/…\raisebox{3.6pt}{\upbracefill}. To calculate the raise, well ....