mirror of https://github.com/python/cpython.git
{tableiv} environment: Four-column table.
\lineiv: Row for {tableiv}.
This commit is contained in:
parent
aca61a43dd
commit
30e52653e1
|
@ -723,6 +723,16 @@
|
||||||
\end{center}%
|
\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]{%
|
\newcommand{\itemnewline}[1]{%
|
||||||
\@tempdima\linewidth%
|
\@tempdima\linewidth%
|
||||||
\advance\@tempdima \leftmargin\makebox[\@tempdima][l]{#1}%
|
\advance\@tempdima \leftmargin\makebox[\@tempdima][l]{#1}%
|
||||||
|
|
Loading…
Reference in New Issue