How to prevent math mode from italicizing text in LaTeX

  • Context: LaTeX 
  • Thread starter Thread starter lo2
  • Start date Start date
  • Tags Tags
    Latex
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 3K views
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.

[tex]$CH_3COOH$[/tex]

An example.
 
Last edited by a moderator:
Physics news on Phys.org
To type $ means that now there is coming 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{...}.
 
[tex]CH_3COOH[/tex]

[tex]\mbox{CH}_3\mbox{COOH}[/tex]

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