Command/ starttyping

From Wiki
< Command
Revision as of 13:51, 21 August 2020 by Taco (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


\starttyping ... \stoptyping

Summary

The instances of \starttyping ... \stoptyping are used for displaying verbatim text.

Instances

\starttyping ... \stoptyping
\startLUA ... \stopLUA
\startMP ... \stopMP
\startPARSEDXML ... \stopPARSEDXML
\startTEX ... \stopTEX
\startXML ... \stopXML

Settings instance

\startTYPING[...=...,...] ... \stopTYPING
...=...,...inherits from \setuptyping

Settings instance:argument

\startTYPING[...,...] ... \stopTYPING
[...,...]continue

Description

Typeset verbatim code. The instances with uppercase identifiers in them are tailored to specific 'languages' in the verbatim code.

Use the \typefile command to include the contents of a file like a \starttyping ... \stoptyping block.

Examples

Example 1


Usually you will use an instance of "typing", like TEX:

\startTEX
Here’s a \emph{stupid} example for \TeX-Code.
\stopTEX


Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: