0

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}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage[document]{ragged2e}
\usepackage{indentfirst}
\graphicspath{ {images/} }
\usepackage{setspace,caption}
\captionsetup{font=doublespacing}% Double-spaced float captions
\doublespacing% Double-spaced document text

\usepackage{fancyhdr}

\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyhead[R]{\thepage}
\lhead{RUNNING HEAD}

\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.

4
  • 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.