comparison 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
comparison
equal deleted inserted replaced
8750:5ec8979bf176 8751:99793302d10d
721 }{% 721 }{%
722 \end{tabular}% 722 \end{tabular}%
723 \end{center}% 723 \end{center}%
724 } 724 }
725 725
726 \newenvironment{tableiv}[6]{%
727 \begin{center}%
728 \def\lineiv##1##2##3##4{\csname#2\endcsname{##1}&##2&##3&##4\\}%
729 \begin{tabular}{#1}\strong{#3}&\strong{#4}&\strong{#5}&\strong{#6} \\%
730 \hline%
731 }{%
732 \end{tabular}%
733 \end{center}%
734 }
735
726 \newcommand{\itemnewline}[1]{% 736 \newcommand{\itemnewline}[1]{%
727 \@tempdima\linewidth% 737 \@tempdima\linewidth%
728 \advance\@tempdima \leftmargin\makebox[\@tempdima][l]{#1}% 738 \advance\@tempdima \leftmargin\makebox[\@tempdima][l]{#1}%
729 } 739 }
730 740