Difference between revisions of "Command/type"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \type") |
(No difference)
|
Revision as of 14:14, 3 December 2021
Contents
\type
Summary
The command \type typesets verbatim TeX code
Settings
Settings angles
Description
Verbatim text, typeset in typewriter font.
In a caption (and probably other places), \type can cause errors if it contains active characters (| for example). You can use
\type{...}\type{|}\type{...}as a workaround, since the first character is not expanded.
Examples
Example 1
Plain example: \type{\bf You can type any %ld thing you |ike, even command$.} Alternate delimiters: \type-You can choose your own delimiters- With options \type[option=TEX]{\ConTeXt\ colouring}