1

I know I should not use $$ $$ for math equations since it's deprecated, and instead I should use \[ and \]. But with this notation, every formula I type is centered on a new line. How can I have the formula in the line of text?

RicoRally
  • 1,252
asdf
  • 543
  • 6
    Either with $ $ or \( \), these are for inline equations. – Dox Nov 21 '14 at 12:14
  • What exactly are you trying to typeset? You do know the difference between text-math and display-math right? Text-math as Dox mentioned is written as a part of the running text, and can be automatically line broken at certain types of math. Display math on the other hand (i.e. \[...\] plus the envs from the amsmath package) offer no automatic linebreaking, that has to be done by hand. – daleif Nov 21 '14 at 13:27
  • $$ also makes a centred display. – David Carlisle Nov 21 '14 at 13:35
  • If you decide to use \(..\) you better load fixltx2e package. – Manuel Nov 21 '14 at 15:37
  • Duplicate of a duplicate? http://tex.stackexchange.com/questions/30633/is-okay-to-use-while-is-not-recommended – MattAllegro Nov 22 '14 at 11:05
  • 1
    @Manuel We are going to sort that for the next LaTeX2e release (I hope) :-) – Joseph Wright Nov 22 '14 at 12:34

0 Answers0