Command/defineplacement

From Wiki
Jump to navigation Jump to search


\defineplacement

Summary

The command \defineplacement defines placement instances.

Settings

\defineplacement[...][...][...=...,...]
[...]name
[...]name
...=...,...inherits from \setupplacement

Description

The command \defineplacement defines placement instances as well as their environment form startplacement.

Bug report: the definition for startplacement gets lost somewhere during generation of the command list. It is present in context-en.xml (See: Bug List)



Bug report: the source file is pack-mis.mkvi, not pack-mis.mkiv (See: Bug List)


Examples

Example 1

\setuppapersize[A7,landscape]
\setuplayout[grid=on]
\showgrid
\starttext
\defineplacement[upped][grid=line]

\input zapf

\kern 3pt % force nongrid
this is off

\placeupped{but this is not}

Text continues here
\stoptext

Notes

  • By Taco on 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.

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: