summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-07-24 22:11:29 (GMT)
committerFred Drake <fdrake@acm.org>1998-07-24 22:11:29 (GMT)
commit30e52653e1602c52d1e3670f456e65d8caf6af54 (patch)
tree5dd81b7f8765f4c9b630a0343c44ca950c184148 /Doc/texinputs
parentaca61a43ddb4bf2d8f9096883834d2952f242bb6 (diff)
downloadcpython-30e52653e1602c52d1e3670f456e65d8caf6af54.zip
cpython-30e52653e1602c52d1e3670f456e65d8caf6af54.tar.gz
cpython-30e52653e1602c52d1e3670f456e65d8caf6af54.tar.bz2
{tableiv} environment: Four-column table.
\lineiv: Row for {tableiv}.
Diffstat (limited to 'Doc/texinputs')
-rw-r--r--Doc/texinputs/python.sty10
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index 2074006..891efeb 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}%