Difference between revisions of "MkVI"

From ConTeXt wiki
Jump to navigationJump to search
(Created page with "Mark VI is identical to Mark IV in every respect, except that when you define a new macro you can give parameters names instead of numbers. This make programming a great deal mor...")
 
(Replaced content with "Relocated")
Tag: Replaced
Line 1: Line 1:
Mark VI is identical to Mark IV in every respect, except that when you define a new macro you can give parameters names instead of numbers. This make programming a great deal more pleasant. For example, instead of
+
[[Mark IV#Mark VI|Relocated]]
 
 
<texcode>
 
\def\colortext[#1]#2%
 
  {\color[#1]{#2}}
 
</texcode>
 
 
 
you can write
 
 
 
<texcode>
 
% macros=mkvi
 
\def\colortext[#color]#text%
 
  {\color[#color]{#text}}
 
</texcode>
 
 
 
To use Mark VI, add the comment {{code|1=% macros=mkvi}} as the first line of your file, or save the file with a <tt>.mkvi</tt> extension.
 
 
 
== See also ==
 
* [[Mark IV]]
 

Revision as of 05:45, 13 February 2020