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

SCM Repository

[diderot] Diff of /trunk/doc/field-norm/defs.tex
ViewVC logotype

Diff of /trunk/doc/field-norm/defs.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 468, Fri Oct 29 19:31:06 2010 UTC revision 469, Tue Nov 2 14:12:42 2010 UTC
# Line 12  Line 12 
12    
13  \usepackage{amssymb}  \usepackage{amssymb}
14  \usepackage{amsmath}  \usepackage{amsmath}
15    \usepackage{stmaryrd}
16    
17    % Diderot listings
18    %
19    \usepackage{listings}
20    \lstset{
21      basicstyle=\ttfamily\small,
22      keywordstyle=\bfseries,
23      commentstyle=\itshape}
24    \lstdefinelanguage{Diderot}{%
25      morekeywords={bool,field,image,input,int,kernel,output,real,string,tensor,vec2,vec3,vec4},%
26      morekeywords={actor,D,die,else,if,in,inf,initially,nan,new,stabilize,update},%
27      otherkeywords={|,||,@,..,\#,\{,\}},%
28      sensitive,%
29      morecomment=[s]{/*}{*/},%
30      morecomment=[l]//,% nonstandard
31      morestring=[b]"%
32    }%
33    
34    \lstset{
35      language=Diderot
36    }
37  \newcommand{\NOTE}[1]{%  \newcommand{\NOTE}[1]{%
38    \par\leavevmode\noindent\textbf{[[ #1 ]]}\par\leavevmode\noindent}    \par\leavevmode\noindent\textbf{[[ #1 ]]}\par\leavevmode\noindent}
39  \newcommand{\CUT}[1]{}  \newcommand{\CUT}[1]{}

Legend:
Removed from v.468  
changed lines
  Added in v.469

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