Open main menu

Changes

1,537 bytes added ,  20:16, 11 September 2020
Created page with "Documentation for \defineplacement"
<cd:commandgroup name="defineplacement" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>The command <tt>\defineplacement</tt> defines {{cmd|placement}} instances.
</cd:shortdesc>
<cd:variants>
<cd:command category="layout" file="pack-mis.mkiv" interfacedate="2020-06-19T13:41" interfacefile="i-placement.xml" level="style" name="defineplacement" variantnumber="1">
<cd:arguments>
<cd:keywords ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:name"></cd:constant>
</cd:keywords>
<cd:keywords optional="yes" ordinal="2">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:name"></cd:constant>
</cd:keywords>
<cd:assignments list="yes" optional="yes" ordinal="3">
<cd:assignmentsdoc></cd:assignmentsdoc>
<cd:inherit name="setupplacement"></cd:inherit>
</cd:assignments>
</cd:arguments>
</cd:command>
</cd:variants>
<cd:description><!-- the long description of the command goes here -->
</cd:description>
<cd:examples><cd:example title=""><context source="yes">
\setuplayout[grid=on]
\showgrid
\defineplacement[upped][grid=line]

\input zapf

\kern 3pt % force nongrid
this is off

\placeupped{but this is not}
</context>
</cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:commandref name="setupplacement" originator="system"></cd:commandref>
<cd:source file="pack-mis.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Layout"></cd:wikipage></cd:seealso>
</cd:commandgroup>