hgbook

annotate en/99defs.tex @ 9:76fc489c0e0b

Minor formatting changes.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue Jun 27 23:21:30 2006 -0700 (2006-06-27)
parents 339e75288632
children e9d5b4c3d16b
rev   line source
bos@4 1 \newcommand{\tildefile}[1]{\texttt{\~{}/#1}}
bos@2 2 \newcommand{\filename}[1]{\texttt{#1}}
bos@0 3 \newcommand{\hgext}[1]{\texttt{#1}}
bos@0 4 \newcommand{\hgcmd}[1]{``\texttt{hg #1}''}
bos@0 5 \newcommand{\hgcmdargs}[2]{``\texttt{hg #1 #2}''}
bos@0 6
bos@7 7 \newsavebox{\notebox}
bos@9 8 \newenvironment{note}{\begin{lrbox}{\notebox}\begin{minipage}{0.7\textwidth}\textbf{Note:}\space}{\end{minipage}\end{lrbox}\begin{center}\fbox{\usebox{\notebox}}\end{center}}
bos@7 9
bos@4 10 \DefineVerbatimEnvironment{codesample4}{Verbatim}{frame=single,gobble=4,numbers=left,commandchars=\\\{\}}
bos@4 11 \newcommand{\interaction}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{examples/#1.out}}
bos@3 12
bos@0 13 %%% Local Variables:
bos@0 14 %%% mode: latex
bos@0 15 %%% TeX-master: "00book"
bos@0 16 %%% End: