annotate en/99defs.tex @ 20:2888fe6176b3
Ignore more.
author |
Bryan O'Sullivan <bos@serpentine.com> |
date |
Fri Jul 07 20:09:20 2006 -0700 (2006-07-07) |
parents |
2668e15c76e9 |
children |
1bc6c1f0192a |
rev |
line source |
bos@4
|
1 \newcommand{\tildefile}[1]{\texttt{\~{}/#1}}
|
bos@2
|
2 \newcommand{\filename}[1]{\texttt{#1}}
|
bos@16
|
3 \newcommand{\dirname}[1]{\texttt{#1}}
|
bos@16
|
4 \newcommand{\sfilename}[1]{\index{\texttt{#1} file}\texttt{#1}}
|
bos@16
|
5 \newcommand{\sdirname}[1]{\index{\texttt{#1} directory}\texttt{#1}}
|
bos@16
|
6 \newcommand{\hgext}[1]{\index{\texttt{#1} extension}\texttt{#1}}
|
bos@16
|
7 \newcommand{\hgcmd}[1]{\index{\texttt{#1} command}``\texttt{hg #1}''}
|
bos@16
|
8 \newcommand{\command}[1]{\index{\texttt{#1} command}\texttt{#1}}
|
bos@19
|
9 \newcommand{\cmdargs}[2]{\index{\texttt{#1} command}\texttt{#1 #2}}
|
bos@16
|
10 \newcommand{\hgcmdargs}[2]{\index{\texttt{#1} command}``\texttt{hg #1 #2}''}
|
bos@17
|
11 \newcommand{\hgopt}[2]{\index{\texttt{#1} command!\texttt{#2} option}\texttt{#2}}
|
bos@19
|
12 \newcommand{\cmdopt}[2]{\index{\texttt{#1} command!\texttt{#2} option}\texttt{#2}}
|
bos@16
|
13 \newcommand{\package}[1]{\index{\texttt{#1} package}\texttt{#1}}
|
bos@0
|
14
|
bos@7
|
15 \newsavebox{\notebox}
|
bos@11
|
16 \newenvironment{note}%
|
bos@11
|
17 {\begin{lrbox}{\notebox}\begin{minipage}{0.7\textwidth}\textbf{Note:}\space}%
|
bos@11
|
18 {\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}}
|
bos@7
|
19
|
bos@4
|
20 \DefineVerbatimEnvironment{codesample4}{Verbatim}{frame=single,gobble=4,numbers=left,commandchars=\\\{\}}
|
bos@4
|
21 \newcommand{\interaction}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{examples/#1.out}}
|
bos@3
|
22
|
bos@11
|
23 \ifpdf
|
bos@11
|
24 \newcommand{\grafix}[1]{\includegraphics[scale=0.2]{#1_pdf.png}}
|
bos@11
|
25 \else
|
bos@11
|
26 \newcommand{\grafix}[1]{\includegraphics{#1.png}}
|
bos@11
|
27 \fi
|
bos@11
|
28
|
bos@0
|
29 %%% Local Variables:
|
bos@0
|
30 %%% mode: latex
|
bos@0
|
31 %%% TeX-master: "00book"
|
bos@0
|
32 %%% End:
|