Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Latex Formatting

  1. Apr 9, 2007 #1

    Hootenanny

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    I'm not really sure what to put this thread since the old latex thread has been closed down, so feel free to move it to wherever is appropriate Eva et al.

    I'm writing a report in latex and I need my equations to be numbered according to which section they are in. For example the first equation in section one should appear numbered as (1.1), the second (1.2) etc, the first number corresponding to the section. Does anyone know how to do this?
     
  2. jcsd
  3. Apr 9, 2007 #2

    cristo

    User Avatar
    Staff Emeritus
    Science Advisor

    If you add the line \numberwithin{equation}{section} to the preamble, that should work!
     
  4. Apr 9, 2007 #3

    Hootenanny

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    My friend, you are a genius :cool: thanks!
     
  5. Apr 9, 2007 #4

    cristo

    User Avatar
    Staff Emeritus
    Science Advisor

    :blushing: You're welcome!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Latex Formatting
  1. APA format? (Replies: 3)

  2. What is this format ? (Replies: 6)

  3. Formatting posts (Replies: 3)

  4. Latex typeset (Replies: 2)

  5. LaTeX formulas (Replies: 2)

Loading...