[plt-scheme] SLaTeX question

From: Robby Findler (robby at cs.uchicago.edu)
Date: Fri Mar 21 12:47:58 EDT 2008

Maybe you need a \setvariable{-} in there? (just a guess).

Robby

On Fri, Mar 21, 2008 at 11:24 AM, Prabhakar Ragde <plragde at uwaterloo.ca> wrote:
> When I process the following input file with pdf-slatex:
>
>  \documentclass{article}
>  \usepackage[pdftex,usenames,dvipsnames]{color}
>  \usepackage{slatex}
>  \def\keywordfont#1{\textcolor{red}{#1}}
>  \def\variablefont#1{\textcolor{blue}{#1}}
>  \def\constantfont#1{\textcolor{Black}{#1}}
>  \def\schemecodehook{\color{green}}
>  \pagestyle{plain}
>  \begin{document}
>  \begin{schemedisplay}
>  (+ (* 6 4) (- 3 2))
>  \end{schemedisplay}
>  \end{document}
>
>  the parentheses are in green, the numbers are in black, the + and * are
>  in blue. But the - is in green. Why? Thanks. --PR
>
>  (PS My twelve-year-old noticed this while being the audience for a
>  practice lecture.)
>  _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.