bos@4: \newcommand{\tildefile}[1]{\texttt{\~{}/#1}} bos@2: \newcommand{\filename}[1]{\texttt{#1}} bos@0: \newcommand{\hgext}[1]{\texttt{#1}} bos@0: \newcommand{\hgcmd}[1]{``\texttt{hg #1}''} bos@0: \newcommand{\hgcmdargs}[2]{``\texttt{hg #1 #2}''} bos@0: bos@7: \newsavebox{\notebox} bos@7: \newenvironment{note}{\begin{lrbox}{\notebox}\begin{minipage}{\textwidth}\textbf{Note:}\space}{\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}} bos@7: bos@4: \DefineVerbatimEnvironment{codesample4}{Verbatim}{frame=single,gobble=4,numbers=left,commandchars=\\\{\}} bos@4: \newcommand{\interaction}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{examples/#1.out}} bos@3: bos@0: %%% Local Variables: bos@0: %%% mode: latex bos@0: %%% TeX-master: "00book" bos@0: %%% End: