Changes

Jump to navigation Jump to search
no edit summary
<cd:commandgroup name="defineplacement" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>The command <tt>\defineplacement</tt> defines {{cmdgen|placement}} instances.
</cd:shortdesc>
<cd:variants>
</cd:command>
</cd:variants>
<cd:description>The command <tt>\defineplacement<!-- /tt> defines {{gen|placement}} instances as well as their environment form {{gen|startplacement}}. {{bug|the long description definition for {{gen|startplacement}} gets lost somewhere during generation of the command goes here list. It is present in <code>context-en.xml</code>}} {{bug|the source file is <code>pack-mis.mkvi</code>, not <code>pack-mis.mkiv</code>}}</cd:description>
<cd:examples><cd:example title=""><context source="yes">
\setuppapersize[A7,landscape]
\setuplayout[grid=on]
\showgrid
\starttext
\defineplacement[upped][grid=line]
\placeupped{but this is not}
 
Text continues here
\stoptext
</context>
</cd:example></cd:examples>
<cd:notes><cd:note author="Taco" date="2020-09-11T22:26:11+0200">The grid option was broken in the ConTeXt 2020.06.30 LMTX on the wiki, resulting in a non-corrected placement. This was fixed soon after.</cd:note></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:source file="pack-mis.mkvi"></cd:source></cd:seealso>
</cd:commandgroup>

Navigation menu