[texhax] Some table adjustments

Lars Madsen daleif at imf.au.dk
Mon Apr 14 12:26:16 CEST 2008


Victor Ivrii :

> Probably trivial for someone who uses tables more often than I do :)
>
> \documentclass[12pt]{memoir}
> \usepackage{array}
>
> \begin{table}[ht]
> \centering
> \begin{tabular}
>
>
>
> \setlength{\extrarowheight}{12pt}
> \setlength{\arrayrulewidth}{0.5pt}
> \begin{tabular}%
>     {|c|c|}
> \hline
> $\updelta (x-y) \psi_2(y)^tQ_{2y}$ &
> $e^{ih^{-1}\langle x-y,\xi\rangle }q_2(y,\xi ,h)$\\
> \hline
> $\updelta (t)$ & $1$\\
> \hline
> \end{tabular}
> \end{table}
>

please provide a full compilable minimal example.

for example why are you using two open tabular?


>
> I want
>
> 1) to increase the vertical space between equation and the following
> \hline (putting switch [t] in {tabular} does not help; actually I want
> pretty high cells with [c] vertical alignment
>
> 2) to increase the horizontal size of cells (with the same [c]
> horizontal alignment;
>
> I want to achieve it by setting parameters, not by adding some spaces
> and seps in the cells manually.
>
> Thank you in advance
> -- 
> ========================
> Victor Ivrii, Professor, Department of Mathematics, University of Toronto
> http://www.math.toronto.edu/ivrii
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>


/daleif


More information about the texhax mailing list