Too Cool for Internet Explorer


Swobodin's Profile | Swobodin's Blog | Back to Fedora Tunisia

Inserting < and > symbols in LaTeX

After several tries, I have been thinking that the only way to write a lesser than (<) and greater than (>) charecters in LaTeX was adding to the header
\usepackage[T1]{fontenc}
In fact, if not specified, < will become ¡ and > will become ¿, not very helpful to write HTML/XML code. However, with including the package above, fonts will mess the PDF document…
Kaiser found out about this using one of the 2 methods below:

  1. \verb+<<< >>>+
  2. {\tt <<< >>>}

The first is mainly used for a raw code-like text, whereas the second is more suitable in a normal text.

Related posts

(sometimes, the plugin foolishes)
The Free Software Song: Another version
QCMGen ain’t dead, OpenSource neither!
TeTeX-ArabTeX
Lack of security in OpenSource?
Free Software Feast

Technorati tags

4 Responses to “Inserting < and > symbols in LaTeX”

  1. bidules Says:

    J’ai pas compris ce que tu ve faire car $>$ et $

  2. Swobodin Says:

    Was the message broken due to a bad HTML code?
    Well, i wanted to write documentation about XML (thus containing markup codes) in a TeX document…

  3. Neil Says:

    You can always use the \begin{verbatim} environment. Fixed width, interprets everything literally.

  4. Swobodin Says:

    \begin{verbatim}…\end{verbatim} forces you to make a line return; not a great idea to include tags within description.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

 
 

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a


Top Tunisie Blogs