Command/environment

Unofficial ConTeXt Wiki mirror

Last modified: 2025-01-05

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: