Mercurial > hgbook
view en/99defs.tex @ 12:1f692024d438
More text for MQ chapter.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Thu, 29 Jun 2006 08:36:53 -0700 |
parents | e9d5b4c3d16b |
children | e2aa527bafa0 |
line wrap: on
line source
\newcommand{\tildefile}[1]{\texttt{\~{}/#1}} \newcommand{\filename}[1]{\texttt{#1}} \newcommand{\hgext}[1]{\texttt{#1}} \newcommand{\hgcmd}[1]{``\texttt{hg #1}''} \newcommand{\hgcmdargs}[2]{``\texttt{hg #1 #2}''} \newsavebox{\notebox} \newenvironment{note}% {\begin{lrbox}{\notebox}\begin{minipage}{0.7\textwidth}\textbf{Note:}\space}% {\end{minipage}\end{lrbox}\fbox{\usebox{\notebox}}} \DefineVerbatimEnvironment{codesample4}{Verbatim}{frame=single,gobble=4,numbers=left,commandchars=\\\{\}} \newcommand{\interaction}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{examples/#1.out}} \ifpdf \newcommand{\grafix}[1]{\includegraphics[scale=0.2]{#1_pdf.png}} \else \newcommand{\grafix}[1]{\includegraphics{#1.png}} \fi %%% Local Variables: %%% mode: latex %%% TeX-master: "00book" %%% End: