I use a LaTeX template which center aligns all section titles. I want to left align these section titles but I do not know how. I tried
\begin{flushleft}
\section{\textbf{Introduction and Background}}
\end{flushleft}
but it has no effect on the section title (i.e., it is still centered). I tried
\begin{flushleft}
\textbf{Introduction and Background}
\end{flushleft}
and it is left aligned the word "Introduction and Background" but it is no longer a section title and thus the numbering using section number are all messed up.
I am new to LaTeX so please keep it simple.
Best Answer
Note that using formatting macros within section titles as in
is not the recommended way to make general changes. You should rather use
in the definition of
\section
(and make sure to use a font that provides bold small capitals).Also see What do \makeatletter and \makeatother do?