Question:

Latex -smaller and greater than characters show up as inverted exclamation and question marks.

by  |  earlier

0 LIKES UnLike

Hello,

it seems that when using LaTeX "plus, minus, and equal sign may be used in either text or math mode, but < and > are math mode only (they produce inverted exclamation and question marks, respectively, in text mode)."

fine but if i have to show some C code in TeX and i place the code within the Verbatim - this problem still occurs making the code very hard to read.

please - what is the solution to this??

Thanks.

 Tags:

   Report

1 ANSWERS


  1. Hi, if you want to write &lt; or &gt; you have to add the package textcomp (\usepackage{textcomp}) and to write

    \textgreater for &gt; and

    \textless for &lt;.

    That&#039;s ok? Bye!

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.