Generaladding < > symbols

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ma501th
Posts: 50
Joined: Tue Apr 08, 2008 7:31 pm

adding < > symbols

Post by ma501th »

Can you please tell me how i can add these signs

<

>

thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: adding < > symbols

Post by gmedina »

As relational symbols, use simply < , >
As delimiters, use \langle , \rangle
1,1,2,3,5,8,13,21,34,55,89,144,233,...
ma501th
Posts: 50
Joined: Tue Apr 08, 2008 7:31 pm

Re: adding < > symbols

Post by ma501th »

i have been trying that but keep getting errors
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

adding < > symbols

Post by localghost »

ma501th wrote:i have been trying that but keep getting errors
You have to be much more precise in the whole description of your problem. In this case you have to provide a minimal working example (MWE) that reproduces these errors. It would also be helpful if you can provide the full error message(s). Therefore you can post the log file as attachment.

Basic LaTeX documentation is available with lshort and l2tabu. A good overview of symbols is given with "The Comprehensive LaTeX Symbol List". Useful information about typesetting mathematical expressions can be found in "Math Mode".


Best regards
Thorsten¹
User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

adding < > symbols

Post by Stefan Kottwitz »

ma501th wrote:i have been trying that but keep getting errors
A lot of symbols need to be set in math mode, take care of it. That means, often you have to enclose the symbol in $ signs.

Stefan
ma501th
Posts: 50
Joined: Tue Apr 08, 2008 7:31 pm

Re: adding < > symbols

Post by ma501th »

sorry for asking...but how would i do that?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

adding < > symbols

Post by Stefan Kottwitz »

Hi ma501th,

here is one example:

Code: Select all

\documentclass[a4paper,10pt]{article}
\begin{document}
with math mode: $<$ and $>$

in text mode: \textless\ and \textgreater
\end{document}
Stefan
Post Reply