LaTeX How to Avoid Italian Formatting in LaTeX: Dealing with Math Symbols

  • Thread starter Thread starter lo2
  • Start date Start date
  • Tags Tags
    Latex
AI Thread Summary
The discussion centers on how to format mathematical expressions in LaTeX without the default italicization that occurs when using the dollar sign ($) for inline math. A user seeks to display the chemical formula CH₃COOH without it appearing in italics. Participants clarify that the dollar sign is a standard way to denote inline math in LaTeX, but it results in italicized text. To avoid this, it's suggested to use the \mbox{} command, which allows for non-italicized text. The conversation also references a LaTeX tutorial for further guidance on formatting.
lo2
Hi

I would like to 'math' something (put $ around it) but I would like to not to be italian as things get when you 'math' them. How to do so.

$CH_3COOH$

An example.
 
Last edited by a moderator:
Physics news on Phys.org
To type $ means that now there is comming something mathsy, then when you make another $ then it means that it stop there. Then when you surround something with $'s then it looks as though you have written it with italian.
 
HallsofIvy said:
Where did you get the idea that you could "math" things by putting a $ around them? I'm not at all clear what you mean by "math" something. The Latex tutorial is here:
https://www.physicsforums.com/showthread.php?t=8997


the $ $ environment in Latex is a standard shortcut for inline math. Not the PF latex display system, but the real latex typesetting program.

I don't think its possible to undo the bold typeface, unless you change style files maybe? Not sure.
 
Putting something in [ tex ] ... [ /tex ] is like putting it between $ ... $ or \[ ... \].

If you don't want it to be italic, try \mbox{...}.
 
CH_3COOH

\mbox{CH}_3\mbox{COOH}

CH3COOH
 
Last edited:
Excactly Greathouse I mostly appreciate your help.
 
Last edited by a moderator:

Similar threads

Replies
13
Views
3K
Replies
4
Views
2K
Replies
3
Views
2K
Replies
4
Views
3K
Replies
5
Views
3K
Replies
12
Views
2K
Replies
1
Views
2K
Back
Top