From: Fred Drake Date: Fri, 24 Jul 1998 22:11:29 +0000 (+0000) Subject: {tableiv} environment: Four-column table. X-Git-Tag: v1.5.2a1~222 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30e52653e1602c52d1e3670f456e65d8caf6af54;p=python {tableiv} environment: Four-column table. \lineiv: Row for {tableiv}. --- 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}%