[texhax] diagonal in a table

Randolph J. Herber herber at dcdrjh.fnal.gov
Wed Jun 25 10:26:26 CEST 2003


Privet!

I believe that the following may be adequate:

\documentstyle[12pt,epsfig]{article}
\begin{document}
\begin{center}
\begin{table}
\begin{tabular}{|c|c|c|}
\hline
\(\mbox{}_n\setminus^k\) & 1 & 2 \\
\hline
1 & \(\cdots\) & \(\cdots\) \\
\hline
2 & \(\cdots\) & \(\cdots\) \\
\hline
\end{tabular}
\end{table}
\end{center}
\end{document}

The following header lines retained to effect attribution:
|Date: Wed, 25 Jun 2003 16:46:19 +0400
|From: Sergei Duzhin <duzhin at pdmi.ras.ru>
|Subject: [texhax] diagonal in a table
|To: texhax at tug.org
|	<mailto:texhax-request at tug.org?subject=subscribe>
|	<mailto:texhax-request at tug.org?subject=unsubscribe>

|Is there anybody who knows a nice way to typeset the diagonal line in the
|upper left cell of a table like this:

| --------------------------
| |\ k |    |    |
| | \  |  1 |  2 |
| |n \ |    |    |
| ----------------
| |    |    |    |
| | 1  |    |    |
| |    |    |    |
| ----------------
| |    |    |
| | 2  |    |
| |    |    |
| --------------   ?

|I would appreciate any advice by e-mail.

|Sergei Duzhin
|http://www.pdmi.ras.ru/~duzhin
|_______________________________________________
|TeX FAQ: http://faq.tug.org/
|Human mailing list managers: postmaster at tug.org
|Automated subscription management: http://tug.org/mailman/listinfo/texhax

Randolph J. Herber, herber at fnal.gov, +1 630 840 2966, CD/CDFTF PK-149F,
Mail Stop 318, Fermilab, Kirk & Pine Rds., PO Box 500, Batavia, IL 60510-0500,
USA.  (Speaking for myself and not for US, US DOE, FNAL nor URA.)  (Product,
trade, or service marks herein belong to their respective owners.)


More information about the texhax mailing list