[texhax] Enumerate lists inside "tables"?

Uwe Lueck uwe.lueck at web.de
Thu Jun 16 17:35:38 CEST 2011

I wrote:
>"Hubert Lam" <hubert at hubertlam.info> wrote 16.06.2011 04:27:25:
>> (I post this to the PSTricks forum so that someone might be able to help
>> with drawing a quasi table using psline or something like that)
> The TeX program has primitive commands \hrule and \vrule for
> drawing straight horizontal/vertical lines between or around text blocks.

To demonstrate \vrule, halfway between LaTeX and the beauty of Plain TeX:

\begin{tabular} {|p{.924\textwidth}|} %%% {|l|}
\\ \hline
  \item oh
  \item no
\\ \hline

(`.924\textwidth' is not the perfect solution ...)

Demonstrating \hrule and \vrule, more of the beauty of Plain TeX,
avoiding a tabular environment:

\hrule \noindent
\vrule \strut
\hrule \noindent
  \item \strut oh
  \item \strut no
\hfill\vrule \hrule

This even avoids the \textwidth mess, but obviously somebody may improve
the LaTeX list dimension parameters ...



More information about the texhax mailing list