Class around PixMap objects that allows more python-like access. By Joe Strout.
[python/dscho.git] / Doc / texinputs / ltxmarkup.sty
blob58bb060f4bb80a707eeb3f2484f7dc85f5cb8120
1 % Created by Fred L. Drake, Jr. <fdrake@acm.org>, as part of the
2 % Python Documentation Project.
4 % Define some simple markup for the LaTeX command documentation:
6 \ProvidesPackage{ltxmarkup}
7 \RequirePackage{python} % fulllineitems environment
9 \newenvironment{envdesc}[2]{
10 \begin{fulllineitems}
11 \item[\code{\e begin\{{\bfseries #1}\}#2}]
12 %\item[\code{\e end\{{\bfseries #1}\}}]
13 \index{#1 environment@\idxcode{#1} environment}
14 \index{environments!#1@\idxcode{#1}}
15 }{\end{fulllineitems}}
17 \newenvironment{macrodesc}[2]{
18 \begin{fulllineitems}
19 \item[\code{\e\bfseries#1}#2]
20 \index{#1@\idxcode{\e #1}}
21 }{\end{fulllineitems}}
23 \newcommand{\env}[1]{\code{#1}}
24 \newcommand{\macro}[1]{\code{\e#1}}