[texhax] Font Encoding Question

Philip G. Ratcliffe philip.ratcliffe at uninsubria.it
Mon Oct 1 10:32:05 CEST 2007

> The following document produces two greater than signs that are  
> *very* close to one another.  In fact, it looks like a single  
> character.  If I comment out \usepackage[T1]{fontenc}, I get the  
> output I expect.
> \documentclass{article}
> \usepackage[T1]{fontenc}
> \begin{document}
> \texttt{>>}
> \end{document}
> Why does this happen?  Am I wrong to expect the output to be 
> the same  
> in both cases?  Most importantly, how do I get the output I expect  
> while using the T1 encoding?

I guess the T1 encoding defines the combination >> to be the
much-greater-than symbol.  I'm not sure at what level this happensbut the
obvious way to stop such behaviour is something like \texttt{>{}>}.

Cheers,  Phil

More information about the texhax mailing list