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

  • Context: LaTeX 
  • Thread starter Thread starter lo2
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary

Discussion Overview

The discussion revolves around formatting mathematical expressions in LaTeX, specifically addressing the issue of unwanted italicization when using the dollar sign ($) for inline math. Participants explore various methods to achieve the desired formatting without italics.

Discussion Character

  • Technical explanation, Conceptual clarification, Debate/contested

Main Points Raised

  • One participant expresses a desire to format expressions without them appearing italicized when using the dollar sign for math mode.
  • Another participant questions the understanding of "math" in the context of LaTeX, indicating a lack of clarity on the initial query.
  • A participant explains that the dollar sign is a standard shortcut for inline math in LaTeX, but notes that it may not be possible to change the italicization without altering style files.
  • One suggestion made is to use the \mbox{...} command to avoid italicization in math mode.
  • Examples are provided to illustrate the use of \mbox{...} for formatting chemical formulas without italics.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method to avoid italicization, with multiple approaches suggested and some uncertainty about the limitations of LaTeX formatting.

Contextual Notes

There are unresolved questions regarding the effectiveness of different LaTeX commands and the potential need for style file modifications to achieve the desired 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.

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

Similar threads

  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
3
Views
8K
  • · Replies 2 ·
Replies
2
Views
2K