Input and compilation/Overview of basic commands

Unofficial ConTeXt Wiki mirror

Last modified: 2025-12-26

There are three main types of commands in ConTeXt:

  1. start-stop : To apply something to some text, enclose the text in \startsomething \stopsomething .
  2. setup : To configure something for the rest of the document, use \setupsomething .
  3. define : To create a named customization of something , use \definesomething .

Many commands don’t fit into one of these types, but here are some that do. For brevity, throughout this list \startsomething is shorthand for \startsomething \stopsomething.

Structure-related commands

These commands relate to the structure of a document.

Text formatting and decoration commands

These commands relate to how text is displayed, without repositioning the text (much).

Layout and design commands

These commands relate to how text is laid out on the page, and possibly involve moving or positioning the text.

Utility commands

These commands have various functions that don’t relate directly to text formatting and design.