Text FormattingA word not in italic inside an equation !

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
helllo
Posts: 44
Joined: Sat Jun 05, 2010 5:20 pm

A word not in italic inside an equation !

Post by helllo »

Hi,
I'm trying to have something not in italic in an equation.
Anyone knows how to do this ?
Thanks a lot :)
Last edited by helllo on Thu Sep 02, 2010 3:29 pm, edited 1 time in total.

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

svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

A word not in italic inside an equation !

Post by svend_tveskaeg »

Use either the \text or \textup command (depending on your needs).
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
helllo
Posts: 44
Joined: Sat Jun 05, 2010 5:20 pm

Re: A word not in italic inside an equation !

Post by helllo »

Thank you.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: A word not in italic inside an equation !

Post by frabjous »

\mathrm is another possiblity.
Post Reply