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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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: 10335
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: 10335
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