Changes

Jump to navigation Jump to search
74 bytes added ,  13:27, 12 May 2007
/BTEX{\color[SCgrey] "this is a string"}/ETEX .postln ;
\stopSC
</texcode>
The example uses some definitions (explained before) which have to be put in the global ConTeXt file
<contexttexcode>
\defineframedtext
[framedSC]
before={\startframedSC},
after={\stopframedSC}]
</contexttexcode>
also, the global ConTeXt file requires color definition, which are created following SuperCollider colorization scheme:
<contexttexcode>
%% SC colors %%
\definecolor [SCwhite] [r=1.0, g=1.0, b=1.0]
\definecolor [SCgrey] [r=0.376, g=0.376, b=0.376]
\definecolor [SCgreen] [r=0.0, g=0.45, b=0.0]
</contexttexcode>
You can then insert example.tex in the texglobal ConTeXt file with <texcode>\input example</texcode>
89

edits

Navigation menu