
Tengo un documento del tipo article
. Estoy intentando crear un estilo APA y necesito todos mis títulos de nivel superior en el centro (por títulos de nivel superior me refiero a todos los \section
títulos) y todos los demás títulos de nivel inferior alineados a la izquierda. Aquí está mi configuración actual:
\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}
Me preguntaba cómo puedo hacer eso. Soy consciente de que lo uso \section*{\hfil Introduction\hfil}
, sin embargo, aparentemente no funciona para article
el documento.