]> granicus.if.org Git - python/commitdiff
{tableiv} environment: Four-column table.
authorFred Drake <fdrake@acm.org>
Fri, 24 Jul 1998 22:11:29 +0000 (22:11 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 24 Jul 1998 22:11:29 +0000 (22:11 +0000)
\lineiv:  Row for {tableiv}.

Doc/texinputs/python.sty

index 2074006ff815dfdd4427348876eb404aaf80b2d4..891efeb695d877c41352595cd4ccc0620b275c00 100644 (file)
   \end{center}%
 }
 
+\newenvironment{tableiv}[6]{%
+  \begin{center}%
+    \def\lineiv##1##2##3##4{\csname#2\endcsname{##1}&##2&##3&##4\\}%
+    \begin{tabular}{#1}\strong{#3}&\strong{#4}&\strong{#5}&\strong{#6} \\%
+      \hline%
+}{%
+    \end{tabular}%
+  \end{center}%
+}
+
 \newcommand{\itemnewline}[1]{%
   \@tempdima\linewidth%
   \advance\@tempdima \leftmargin\makebox[\@tempdima][l]{#1}%