Command/environment

From Wiki
< Command
Revision as of 13:02, 6 September 2020 by Taco (talk | contribs) (Created page with "Documentation for \environment")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


\environment

Summary

The command \environment is used for including style setups

Settings

\environment[...]
[...]file

Settings string

\environment ...
... file

Description

This includes the style setups defined in the file argument. Usually used in combination with Project structure, but it could be used in any input file.

Examples

Example 1

The environment file:

% env_packed_items.tex
\setupitemize[packed]

A file that uses that environment:

% myfile.tex
\environment env_packed_items

\starttext
    bla bla
    \startitemize
        \item
    \stopitemize
\stoptext

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: