hgbook
view en/99defs.tex @ 15:b8ac9f312a47
Document wiggle and rej
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon Jul 03 17:58:29 2006 -0700 (2006-07-03) |
parents | e9d5b4c3d16b |
children | 81454425eee9 |
line source
1 \newcommand{\tildefile}[1]{\texttt{\~{}/#1}}
2 \newcommand{\filename}[1]{\texttt{#1}}
3 \newcommand{\hgext}[1]{\texttt{#1}}
4 \newcommand{\hgcmd}[1]{``\texttt{hg #1}''}
5 \newcommand{\command}[1]{\texttt{#1}}
6 \newcommand{\hgcmdargs}[2]{``\texttt{hg #1 #2}''}
8 \newsavebox{\notebox}
9 \newenvironment{note}%
10 {\begin{lrbox}{\notebox}\begin{minipage}{0.7\textwidth}\textbf{Note:}\space}%
11 {\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}}
13 \DefineVerbatimEnvironment{codesample4}{Verbatim}{frame=single,gobble=4,numbers=left,commandchars=\\\{\}}
14 \newcommand{\interaction}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{examples/#1.out}}
16 \ifpdf
17 \newcommand{\grafix}[1]{\includegraphics[scale=0.2]{#1_pdf.png}}
18 \else
19 \newcommand{\grafix}[1]{\includegraphics{#1.png}}
20 \fi
22 %%% Local Variables:
23 %%% mode: latex
24 %%% TeX-master: "00book"
25 %%% End: