For Programmers: Free Programming Magazines  


Home > Archive > Tex > May 2006 > angualr bracket in text mode









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author angualr bracket in text mode
hzmonte@hotmail.com

2006-05-30, 7:18 pm

Is there a way to draw <angular brackets> in text mode?

Will Robertson

2006-05-30, 7:18 pm


hzmonte@hotmail.com wrote:
> Is there a way to draw <angular brackets> in text mode?


\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}% you might not need this line if you've got the
CM-Super fonts
\begin{document}
here are some <angle brackets>
\end{document}

The reason this doesn't work by default is that LaTeX still uses Donald
Knuth's Computer Modern fonts in their original encoding, which was
optimised for space rather than consistency. He couldn't afford to
include useless (for typesetting purposes) characters like <> in a text
font.

The Latin Modern fonts are recommended instead (well, maybe not by
everyone) for all purposes except backwards compatibility. They have
more shapes, more glyphs, and sane (and a variety of) encodings.

Will

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com