[pdftex] How To display '<' or '>' or '|'
Hans Hagen
pragma at wxs.nl
Fri Jan 25 10:06:45 CET 2002
At 07:27 PM 1/24/2002 +0000, Eric Tchepannou wrote:
>Hi,
>
>I hope I am in the right group for this question.
>I am writing a report with LaTeX and have some C++ & HTML Code in it.
>I have some problem displaying the '->' and the HTML-Tags (i.e. <form>).
>In the reference I have I read I have to import the latexsym package, but
>it didn't help.
this depends on the fonts you use, and cmr's don't always have them; one
way to get them is $<$ but this is uglu, another way is to switch to a
monospaced font (\tt or so); in case of <>| being active chars, \string<
and \string> does wonders, although this is pretty ugly in the source;
actually, any decent verbatim environment should provide you the means to
display these chars.
hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma at wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
fall-back web server:
www.pragma-pod.nl
-------------------------------------------------------------------------
More information about the pdftex
mailing list