diff options
author | Guido van Rossum <guido@python.org> | 1997-07-17 18:27:53 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-17 18:27:53 +0000 |
commit | e3d5fc50a182d556deecd1a6a55fc2d1260ed288 (patch) | |
tree | 0ba8dc3fdc39cedf9dafdc7dad01fa73e44ee1da | |
parent | e47da0ae04814fab2a0aa6e637de2e4269978017 (diff) | |
download | cpython-git-e3d5fc50a182d556deecd1a6a55fc2d1260ed288.tar.gz |
Add AMK's seealso environment that is now used in the library manual
at some places.
-rw-r--r-- | Doc/myformat.sty | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/myformat.sty b/Doc/myformat.sty index 6785850127..e17c3f9e81 100644 --- a/Doc/myformat.sty +++ b/Doc/myformat.sty @@ -215,3 +215,14 @@ \advance\@tempdima \leftmargin\makebox[\@tempdima][l]{#1}} \newcommand{\sectcode}[1]{{\tt #1}} + +% Cross-referencing (AMK) +% Sample usage: +% \begin{seealso} +% \seemodule{rand}{Uniform random number generator}; % Module xref +% \seetext{{\em Encyclopedia Britannica}}. % Ref to a book +% \end{seealso} + +\newenvironment{seealso}[0]{{\bf See Also: }}{\par} +\newcommand{\seemodule}[2]{\ref{module-#1}: {\tt #1} (#2)} +\newcommand{\seetext}[1]{\par{#1}} |