I need to change the
section titles position in the article class. By default, the titles are located at left. I would prefer to have them centered. The
subsection titles should stay at left (default position)
Here's a MWE to work with :
Code: Select all
\documentclass[12pt,oneside]{article}
\usepackage[letterpaper,margin=1in]{geometry}
\usepackage{blindtext}
\begin{document}
\section{First title}
\blindtext
\section{Second title}
\blindtext
\subsection{A sub-section}
\blindtext
\end{document}
I know this should be pretty basic, but I'm still having difficulties with this kind of settup.