Difference between revisions of "Verbatim text"
Jump to navigation
Jump to search
(new page) |
(No difference)
|
Revision as of 08:30, 1 June 2005
< Visuals
Displayed text
In-line text
Interesting features
Using ConTeXt-commands inside verbatim text:
\definetyping[C][option=commands] \startC #includeint main(){ return 0; /BTEX{\em unreachedCode;}/ETEX } \stopC
Adjusting size of tabulator (quite new):
\definetyping[C][tab=4] % for older ConTeXt versions: \chardef\spacespertab=3 \startC int func(int a){ if(a > 4) return 0; else return 10; } \stopC