From 30e52653e1602c52d1e3670f456e65d8caf6af54 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 24 Jul 1998 22:11:29 +0000 Subject: [PATCH] {tableiv} environment: Four-column table. \lineiv: Row for {tableiv}. --- Doc/texinputs/python.sty | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 2074006ff8..891efeb695 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -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}% -- 2.50.0