Command/verbatim

From Wiki
< Command
Revision as of 09:20, 29 July 2022 by Hraban (talk | contribs) (add relatives)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


\verbatim

Summary

The command \verbatim is used to typeset its argument verbatim, i.e. like \type, but in the default font.

Settings

\verbatim{...}
{...}content

Description

In case you need to type special characters without interpretion – all characters have their catcode set to “letter”. Internally, it uses \detokenize.

Examples

Example 1

\verbatim{\tex{type}\arg{...}}

Notes

See also

  • buff-ver.mkiv
  • \type typeset something verbatim in tt font
  • \tex typeset a TeX command, preceded by \, in tt font
  • \filename typeset a file name/path in tt font
  • \arg typeset a command argument in braces, in tt font

Help from ConTeXt-Mailinglist/Forum

All issues with: