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

SCM Repository

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

View of /branches/vis12/doc/report/code.hva

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1685 - (download) (annotate)
Sun Jan 22 15:23:36 2012 UTC (7 years, 8 months ago) by jhr
File size: 682 byte(s)
  Create a branch to implement things that we need for the Vis 2012 paper
% 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