Changes

Jump to navigation Jump to search
65 bytes added ,  22:40, 27 December 2021
m
→‎Defining your own set of colors: comment on mkii only setting
< [[Basics|Text formatting]] | [[Verbatim with line breaks]] >
 
=Displayed text=
{{cmd|starttyping}},
[[Image:Verbatim-mkiv.png‎]]
 
= Verbatim with line breaks=
 
[[Verbatim with line breaks|Dedicated page]]
 
[[Line breaks marker]]
= Pretty printing =
% XML code will be typeset with the palette you just defined
\definepalet[XMLcolorpretty] [MYcolors] % the name is magic !- mkii only
\starttext
This results in:
:<context>
\setupbodyfont[8pt]
\definecolor[MYcolorone] [r=.8,g=.5,b=.5]
prettyfour=MYcolorfour]
% \definepalet[XMLcolorpretty] [MYcolors] % the name is magic !
\setupcolors[state=start]
<texcode>
\setuplinenumbering[location=intexttext]
\startcode
This is the first line
after={\stopframedcode}]
\setuplinenumbering[location=intexttext]
\startcode
This is the first line
(-a- --> [[User:Andrea]])
 
 
[[Category:Basics]]
174

edits

Navigation menu