Command/ starttyping

From Wiki
< Command(Redirected from Command/startTEX)
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: