[l2h] How to get a multiline tabular entry
Steffen Klupsch
Steffen Klupsch <steffen@vlsi.informatik.tu-darmstadt.de>
Fri, 09 Apr 1999 08:47:45 +0000
I used the standard tabular environment to do some tables. These are
formated using {|l|l|}.
For the dvi file I can controll the horizontal lines with \hline.
\begin{tabular}{|l|l|}
\hline
my text & something else \\
for two lines & \\
\hline
\end{tabular}
In the html version the horizontal lines are added automatically.
(The text in the first column is separated by a line ).
So I tried to write
\begin{tabular}{|l|l|}
\hline
my text \newline for two lines & something else \\
\hline
\end{tabular}
This gives the correct output in the html version, but results in a
one line entry in the dvi file.
-----------------------------------------------------------------
Is there a solution to this problem? I don't want to use the
...|p{5cm}|... option because I want the width calculation to be done by
latex.
Regards, Steffen
--
+----------------------------------------------------------------------+
| Steffen Klupsch Alexanderstr. 10, D-64283 Darmstadt |
| TU Darmstadt - FB Inf(20) - FG Integrierte Schaltungen und Systeme |
| Email: steffen@informatik.tu-darmstadt.de |
| URL : http://www.vlsi.informatik.tu-darmstadt.de/staff/steffen/ |
| Phone: (+49)6151/16-6650 Fax: (+49)6151/16-4810 |
+----------------------------------------------------------------------+