[Python-checkins] CVS: python/dist/src/Doc/texinputs python.sty,1.78,1.79
Fred L. Drake
fdrake@users.sourceforge.net
Tue, 17 Jul 2001 16:05:59 -0700
Update of /cvsroot/python/python/dist/src/Doc/texinputs
In directory usw-pr-cvs1:/tmp/cvs-serv3702/texinputs
Modified Files:
python.sty
Log Message:
Define new markup for 5-column tables.
Index: python.sty
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/texinputs/python.sty,v
retrieving revision 1.78
retrieving revision 1.79
diff -C2 -r1.78 -r1.79
*** python.sty 2001/07/06 22:44:48 1.78
--- python.sty 2001/07/17 23:05:57 1.79
***************
*** 979,982 ****
--- 979,1003 ----
}
+ \newenvironment{tablev}[7]{%
+ \begin{center}%
+ \def\linev##1##2##3##4##5{\csname#2\endcsname{##1}&##2&##3&##4&##5\\}%
+ \begin{tabular}{#1}\strong{#3}&\strong{#4}&\strong{#5}&\strong{#6}&\strong{#7} \\%
+ \hline%
+ }{%
+ \end{tabular}%
+ \end{center}%
+ }
+
+ \newenvironment{longtablev}[7]{%
+ \begin{center}%
+ \def\linev##1##2##3##4##5{\csname#2\endcsname{##1}&##2&##3&##4&##5\\}%
+ \begin{longtable}[c]{#1}\strong{#3}&\strong{#4}&\strong{#5}&\strong{#6}&\strong{#7}%
+ \\%
+ \hline\endhead%
+ }{%
+ \end{longtable}%
+ \end{center}%
+ }
+
% Cross-referencing (AMK, new impl. FLD)
% Sample usage: