LaTeX problem

  1. lo2

    lo2 0

    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: Sep 13, 2006
  2. jcsd
  3. HallsofIvy

    HallsofIvy 40,780
    Staff Emeritus
    Science Advisor

    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
     
  4. lo2

    lo2 0

    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.
     

  5. 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.
     
  6. CRGreathouse

    CRGreathouse 3,682
    Science Advisor
    Homework Helper

    Putting something in [ tex ] ... [ /tex ] is like putting it between $ ... $ or \[ ... \].

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

    CRGreathouse 3,682
    Science Advisor
    Homework Helper

    [tex]CH_3COOH[/tex]

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

    CH3COOH
     
    Last edited: Sep 13, 2006
  8. lo2

    lo2 0

    Excactly Greathouse I mostly appreciate your help.
     
    Last edited by a moderator: Sep 14, 2006
Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook

Have something to add?