Command/startlines

From ConTeXt wiki
Jump to: navigation, search

\startlines

Syntax

\startlines ... \stoplines

Description

This allows the printing of text according to existing linebreaks within the text. The command itself takes no setups, but you can use \setuplines to indicate that you wish to preserve whitespace, or make it visible, as well as some other tricks; and if you find yourself using the same few setups throughout the document, you can make special-purpose environments using \definelines.

Example

\startlines
The
lines
are
there!
\stoplines

In Mark II, you can use [[Command/[space=on]|\[space=on]]] to make spaces visible.

\starttext
\setuplines[space=on]
\startlines
All       the white        space        
    will               print           !
\stoplines
\stoptext

See also

Help from ConTeXt-Mailinglist/Forum

All issues with:

C O N T E X T G A R D E N

Personal tools
Namespaces
Variants
Actions
Help
External Help
Installation
Navigation
Toolbox