Never mind. I finally realized I was using the doctype of book rather than article. Once I changed the doctype, it worked just fine.