Changes

Jump to navigation Jump to search
477 bytes added ,  15:18, 1 June 2009
+Colored background: example from B. Tommy Jensen on 2008-09-04 in the mailing list
\stoptext
</context>
 
= Colored background =
 
<texcode>
\setupcolors[state=start]
 
\definetextbackground[verbatim]
[background=color,
backgroundcolor=yellow,
backgroundoffset=0cm,
offset=0.5cm,
frame=on,
framecolor=black,
location=paragraph,
color=black]
 
% Setup verbatim
\setuptyping[typing][margin=1cm,bodyfont=8.0pt,
before={\starttextbackground[verbatim]},
after={\stoptextbackground}]
 
\starttext
\starttyping
This is the first line.
This is the second line.
\stoptyping
\stoptext
</texcode>
= Line numbering =

Navigation menu