blob: eb479180b6c30dc5c26a7cc2e715754abb6f03da [file] [log] [blame]
Greg Ward08c68fc2000-04-11 02:01:52 +00001%
2% LaTeX commands and macros needed for the two Distutils manuals,
3% inst.tex and dist.tex.
4%
5% $Id$
6%
7
8% My gripe list about the Python style files:
9% * I want italics in verbatim environments (verbatim.sty?)
10% * I hate escaping underscores (url.sty fixes this)
11
12% Should these be added to the standard Python doc tools? (They'll be
13% needed for my "Distributing Python Modules" guide, too.)
14\newcommand{\command}[1]{\code{#1}}
15\newcommand{\option}[1]{\textsf{\small{#1}}}
16\newcommand{\filevar}[1]{{\textsl{\filenq{#1}}}}
17\newcommand{\homefile}[1]{\file{\tilde/#1}}
18\newcommand{\comingsoon}{\emph{Coming soon...}}
19\def\package{\module}
20
21% And how about these? Very handy for writing pathnames (tilde for
22% Unix, backslash for DOS/Windows).
23\renewcommand{\tilde}{\raisebox{-0.5ex}{\symbol{126}}}
24\newcommand{\bslash}{\symbol{92}} % XXX only works in tt fonts!
25
26\newcommand{\XXX}[1]{\textbf{**#1**}}