section char, Latex macro that can be redefined to disable color

svn: r15076

original commit: 99ac521841d6445b7133dfa6013ff12a7ea702b1
This commit is contained in:
Matthew Flatt 2009-06-04 13:41:48 +00:00
parent 59b28a6874
commit feef299916
2 changed files with 5 additions and 2 deletions

View File

@ -618,6 +618,7 @@
[(#\☻) "$\\blacksmiley$"] [(#\☻) "$\\blacksmiley$"]
[(#\☹) "$\\frownie$"] [(#\☹) "$\\frownie$"]
[(#\à) "\\`{a}"] [(#\à) "\\`{a}"]
[(#\uA7) "\\S"]
[else c]) [else c])
c)]))) c)])))
(loop (add1 i))))))) (loop (add1 i)))))))

View File

@ -11,7 +11,9 @@
\usepackage[usenames,dvipsnames]{color} \usepackage[usenames,dvipsnames]{color}
\hypersetup{bookmarks=true,bookmarksopen=true,bookmarksnumbered=true} \hypersetup{bookmarks=true,bookmarksopen=true,bookmarksnumbered=true}
\newcommand{\inColor}[2]{{\Scribtexttt{\color{#1}{#2}}}} \newcommand{\SColorize}[2]{\color{#1}{#2}}
\newcommand{\inColor}[2]{{\Scribtexttt{\SColorize{#1}{#2}}}}
\definecolor{CommentColor}{rgb}{0.76,0.45,0.12} \definecolor{CommentColor}{rgb}{0.76,0.45,0.12}
\definecolor{ParenColor}{rgb}{0.52,0.24,0.14} \definecolor{ParenColor}{rgb}{0.52,0.24,0.14}
\definecolor{IdentifierColor}{rgb}{0.15,0.15,0.50} \definecolor{IdentifierColor}{rgb}{0.15,0.15,0.50}
@ -23,7 +25,7 @@
\newcommand{\Scribtexttt}[1]{{\texttt{#1}}} \newcommand{\Scribtexttt}[1]{{\texttt{#1}}}
\newcommand{\schemeplain}[1]{\inColor{black}{#1}} \newcommand{\schemeplain}[1]{\inColor{black}{#1}}
\newcommand{\schemekeyword}[1]{{\color{black}{\Scribtexttt{\textbf{#1}}}}} \newcommand{\schemekeyword}[1]{{\SColorize{black}{\Scribtexttt{\textbf{#1}}}}}
\newcommand{\schemesyntaxlink}[1]{\schemekeyword{#1}} \newcommand{\schemesyntaxlink}[1]{\schemekeyword{#1}}
\newcommand{\schemecomment}[1]{\inColor{CommentColor}{#1}} \newcommand{\schemecomment}[1]{\inColor{CommentColor}{#1}}
\newcommand{\schemeparen}[1]{\inColor{ParenColor}{#1}} \newcommand{\schemeparen}[1]{\inColor{ParenColor}{#1}}