Changes

Jump to navigation Jump to search
m
Taco moved page Environment/MPinclusions to Command/startMPinclusions over a redirect without leaving a redirect
|attributes=
}}
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>startMPinclusions</syntax>
== [[Help:Reference|Syntax]] ==
== Example ==
 
The following example defines a create_wave macro that is then used for the page background.
<texcode>
\setupbackgrounds[page][background={page:ThemeBackground}]
\startchapter
\input knuth
\input zapf
\input knuth
\stopchapter
\stoptext
</texcode>
 
== Multiple Inclusions ==
 
To use multiple {{cmd|startMPinclusions}} that should be combined, use ''[+]''. For example, the following code will fail because the second inclusion overwrites the first:
 
<pre>
\startMPinclusions
path a ;
\stopMPinclusions
 
\startMPinclusions
a := (0,0) -- (1cm,0) ;
\stopMPinclusions
</pre>
 
Use ''[+]'' to appended the second inclusion after the first:
 
<pre>
\startMPinclusions
path a ;
\stopMPinclusions
 
\startMPinclusions[+]
a := (0,0) -- (1cm,0) ;
\stopMPinclusions
</pre>
 
== See also ==

Navigation menu