Re: tabularx and row spacing
- From: Jean-Côme Charpentier <Jean-Come.Charpentier@xxxxxxxxxx>
- Date: Sun, 05 Feb 2006 18:02:32 +0100
John wrote:
Hello!
I have a problem with the following code
\begin{tabularx}{\textwidth}{X}
\hline
\huge This is a huge text\\
\hline
\end{tabularx}
When I change the text size to something bigger than the normal size,
the text touches the horizontal line instead of preserving the original
spacing. I've tried to use \vspace but it doesn't work.
It's the normal tabular(x) behavior. At beginning of each entry, LaTeX puts a \strut. In your code, it becomes \strut \huge ..., then the \strut is a \normalsize one.
Has someone a solution?
Put another \strut *after* \huge.
\huge \strut This is a huge text\\
Jean-Côme Charpentier
.
- References:
- tabularx and row spacing
- From: John
- tabularx and row spacing
- Prev by Date: tabularx and row spacing
- Next by Date: Re: funky baseline with postscript fonts in latex
- Previous by thread: tabularx and row spacing
- Index(es):
Relevant Pages
|