Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (60 sloc) 1.37 KB
\newcommand{\versal}[1]{\noindent{\Huge #1\kern-.10em}}
\newcommand{\file}[1]{{\bf\ttfamily #1}}
\newcommand{\ident}[1]{{\it\ttfamily #1}}
\newcommand{\func}[1]{{\it\ttfamily #1}}
\newcommand{\shell}[1]{{\it\ttfamily #1}}
\newcommand{\python}[1]{{\it\ttfamily #1}}
\newcommand{\ruby}[1]{{\it\ttfamily #1}}
\newcommand{\book}[2]{{\it\ttfamily #1} by {\it #2}}
\newcommand{\library}[1]{{\it\ttfamily #1}}
\newcommand{\program}[1]{{\it\ttfamily #1}}
\newcommand{\krc}{\ident{"K\&R C"} }
\newenvironment{aside}[1]
{
\begin{note}
\caption{\hfill\it #1}
\begin{quote}
\parindent 7.2pt
\parskip 5pt
}
{ \end{quote} \end{note} }
\newenvironment{Terminal}[1]
{
\begin{framed}
\begin{parbox}[t]{\textwidth}
{\hfill\it\large #1}
\rule{\textwidth}{0.1pt}
\tt
}
{
\end{parbox}
\end{framed}
}
\newenvironment{code}[1]
{
\begin{framed}
\begin{parbox}[t]{\textwidth}
{\hfill\it\large #1}
\rule{\textwidth}{0.1pt}
\tt
}
{
\end{parbox}
\end{framed}
}
\floatstyle{ruled}
\newfloat{note}{htpb}{lon}
\floatname{note}{Note}
\newcommand{\listofnotes}{\listof{note}{List Of Notes}}
\newcommand{\rfc}[2]
{
\begin{center}
\ovalbox{
\begin{minipage}{.8\textwidth}
\begin{center}
{\bf #1:} {\it #2}
\end{center}
\end{minipage}
}
\end{center}
}