Command/defineMPinstance

Unofficial ConTeXt Wiki mirror

Last modified: 2025-01-12

Syntax (autogenerated)

\defineMPinstance[...][...][...=...,...]
[...] name
[...] name
...=...,... inherits from \setupMPinstance

Syntax

\defineMPinstance[...][...][...]
[...] name
[...] name for inheritance (optional)
[...] see \setupMPinstance

Description

This command sets up a custom MetaPost style with particular features that can be selected using the first argument. The instance metafun is the default one and does not need to be created. Custom styles can inherit from the metafun instance, or not.

The MetaPost instance to use is specified as follows:

Predefined Instances

\defineMPinstance [metafun]  [format=metafun, extensions=yes, initializations=yes]
\defineMPinstance [metapost] [format=mpost]

Example

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: