Command/setuplines

From Wiki
Jump to navigation Jump to search


\setuplines

Summary

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

Settings

\setuplines[...,...][...=...,...]
[...,...]name
optionpacked
beforecommand
aftercommand
inbetweencommand
indentingsee \setupindenting
alignsee \setupalign
spaceyes on off fixed default
commandcommand
stylestyle command
colorcolor
leftcommand
rightcommand
indentlistdimension *

OptionExplanation
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 mkii, 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: