Difference between revisions of "Command/verbatim"

From Wiki
Jump to navigation Jump to search
m (add relatives)
m (add relatives)
 
(No difference)

Latest revision as of 09:20, 29 July 2022


\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: