Command/setuplines

Unofficial ConTeXt Wiki mirror

Last modified: 2025-10-08

Summary

The command \setuplines sets up the options for line-based material.

Settings

\setuplines[...,...][...=...,...]
[...,...] name
option packed
before command
after command
inbetween command
indenting see \setupindenting
align see \setupalign
space yes on off fixed default
command command
style style command
color color
left command
right command
indentlist dimension *

Option Explanation
option
packed Disables page-break between lines
before
command that is expanded and then placed at the start of the environment
after
command that is expanded and then placed at the end of the environment
inbetween
command that is expanded and then placed between paragraph
indenting
Whether the lines should be indented. Note that you need to turn indenting on and specify the size of the indent e.g. \setuplines[indenting={yes,small}]
align
Controls alignment of the lines.
space
Whether spaces should be preserved.
on In Mark II, makes spaces visible as well as preserving them.
command
command that is applied to each non-empty line

Description

Define the settings for the \startlines environment. If \definelines [mylines] was used to define an environment \startmylines , you can set that up with either \setuplines [mylines][...=...] or \setupmylines [...=...] .

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: