Why is {\tt \{}
typeset as an ordinary {
and not the same as for instance \verb+{+
?
To illustrate:
{\tt With tt:~ \{}
\verb+With verb: {+
yields
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityuse \usepackage[T1]{fontenc}
and it will be the same. Without the T1
fontencoding the \{
is taken from the OMS
symbol font.
\usepackage[T1]{fontenc}
to your document.\tt
anyway, but either\texttt{..}
or\ttfamily
. The short font macros like\tt
are only still present for backwards compatibility to LaTeX2.0.