Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /trunk/doc/report/code.hva
ViewVC logotype

View of /trunk/doc/report/code.hva

Parent Directory Parent Directory | Revision Log Revision Log


Revision 97 - (download) (annotate)
Thu May 27 19:47:26 2010 UTC (9 years, 3 months ago) by jhr
File size: 682 byte(s)
  Created Didirot report document
% code.hva
%
% COPYRIGHT (c) 1999 Bell Labs, Lucent Technologies.
%
% HeVeA macro definitions to simulate the code.sty commands.
%

\newcommand{\cd}[1]{{\@style{TT}#1}}
\newcommand{\cdmath}{}

\newcommand{\comment}[1]{\textit{\red{}#1}}%
\newcommand{\literal}[1]{{\green{}#1}}%

\newenvironment{code@block}{%
  \renewcommand{\kw}[1]{\textbf{\black{}##1}}%
  \renewcommand{\tyvar}[1]{\textit{##1}}%
  \@open{BLOCKQUOTE}{}\blue{}\@style{TT}}{%
  \@close{BLOCKQUOTE}}

\newenvironment{tightcode}{%
  \begin{code@block}}{%
  \end{code@block}}
\newenvironment{centercode}{%
  \begin{code@block}}{%
  \end{code@block}}
\newenvironment{code}{%
  \begin{code@block}}{%
  \end{code@block}}


root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0