diff Doc/texinputs/python.sty @ 8751:99793302d10d legacy-trunk

{tableiv} environment: Four-column table. \lineiv: Row for {tableiv}.
author Fred Drake <fdrake@acm.org>
date Fri, 24 Jul 1998 22:11:29 +0000
parents 74ea4dfda82d
children 4192a73ca430
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Fri Jul 24 20:58:52 1998 +0000
+++ b/Doc/texinputs/python.sty	Fri Jul 24 22:11:29 1998 +0000
@@ -723,6 +723,16 @@
   \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}%