I have a document of type article. I am trying to create an APA style and I need all of my top-level headings in center (by top-level headings I mean all the \section headings) and all other bottom-level heading left-aligned. Here is my current settings:

\documentclass[12pt, letterpaper]{article}

\graphicspath{ {images/} }
\captionsetup{font=doublespacing}% Double-spaced float captions
\doublespacing% Double-spaced document text



\title{my title}
\author{my name}

I was wondering how I can do that. I am aware of using \section*{\hfil Introduction\hfil}, however, apparently it does not work for article document.

  • 1
    There's an APA6 document class that might be helpful. Or see Section header centering problem.
    – Alan Munn
    Apr 12 '17 at 2:57
  • "Top-level headings" = \section. What do you mean by "bottom-level headings"?
    – Werner
    Apr 12 '17 at 3:04
  • @Werner by bottom-level I mean any kind of \subsection or \subsubsection
    – Pedram
    Apr 12 '17 at 3:08
  • @AlanMunn That is what I was looking for! Thx!
    – Pedram
    Apr 12 '17 at 3:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.