[comp.text.tex] solution to half-height vrule

dorab@rise.twinsun.com (Dorab Patel) (11/27/90)

Here is how I finally solved my problem of a half-height vrule in a
cell of a tabular environment in LaTeX. The idea was to have the
baseline of the row centered vertically in the cell. Then, it is a
simple matter to have the vrule only extend downwards.

\documentstyle{article}
\begin{document}
\begin{tabular}{|c|c|c|}
\hline
\parbox{0.5in}{this is a test of the emergency broadcast system} & 123 &
\vrule height 0.5ex \\ \hline
\end{tabular}
\end{document}

Thanks to Don Hosek <dhosek@hmcvax.claremont.edu> for showing the way.

'dorab