comparison Doc/texinputs/python.sty @ 26875:d177dd0ca8f7 legacy-trunk

Start something that might make table notes easier to deal with, eventually.
author Fred Drake <fdrake@acm.org>
date Mon, 30 Dec 2002 20:51:27 +0000
parents 5be5c84dea23
children dbae05c29e93
comparison
equal deleted inserted replaced
26874:26df6013b303 26875:d177dd0ca8f7
1101 }{% 1101 }{%
1102 \end{longtable}% 1102 \end{longtable}%
1103 \end{center}% 1103 \end{center}%
1104 } 1104 }
1105 1105
1106 % XXX Don't think we can use this yet, though it cleans up some
1107 % tedious markup. There's no equivalent for the HTML transform yet,
1108 % and that needs to exist. I don't know how to write it.
1109 %
1110 % This should really have something that makes it easier to bind a
1111 % table's ``Notes'' column and an associated tablenotes environment,
1112 % and generates the right magic for getting the numbers right in the
1113 % table.
1114 %
1115 % So this is quite incomplete.
1116 %
1117 \newcounter{py@tablenotescounter}
1118 \newenvironment{tablenotes}{%
1119 \noindent Notes:
1120 \par
1121 \setcounter{py@tablenotescounter}{0}
1122 \begin{list}{(\arabic{py@tablenotescounter})}%
1123 {\usecounter{py@tablenotescounter}}
1124 }{\end{list}}
1125
1126
1106 % Cross-referencing (AMK, new impl. FLD) 1127 % Cross-referencing (AMK, new impl. FLD)
1107 % Sample usage: 1128 % Sample usage:
1108 % \begin{seealso} 1129 % \begin{seealso}
1109 % \seemodule{rand}{Uniform random number generator.}; % Module xref 1130 % \seemodule{rand}{Uniform random number generator.}; % Module xref
1110 % \seetext{\emph{Encyclopedia Britannica}}. % Ref to a book 1131 % \seetext{\emph{Encyclopedia Britannica}}. % Ref to a book