[Tex/LaTex] How to change predefined section name

ieeetransectioning

I have looked at many answers (and tried them) for this particular question but nothing has worked for me. I've tried with the titlesec package but it gave me an error, and afterwards I noticed that it is not supported for conference paper. I want to change the section name. I want it to be larger, to be bold and to be flushed left.
I used

\section*{\raggedright{\bf \large {1. Introduction}}}

because without the '*' it didn't work and I had to put number manually. I know this is a really bad way of doing things, so can someone tell me how to change it in the preambula? I am new in latex so I will appreciate any help.

\documentclass[10pt, conference]{IEEEtran}
\renewcommand{\abstractname}{\large ABSTRACT\\}
\title{Example}
\author{}
\begin{document}
\maketitle
\begin{abstract}
\end{abstract}
\section{Introduction}


\end{document}

Best Answer

If titlesec can't help you, you have to somehow reinvent the wheel:

\documentclass[10pt,conference]{IEEEtran}

\makeatletter
\renewcommand\section{\@startsection{section}{1}{\z@}
  {1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}
  {1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}
  {\normalfont\large\bfseries}}%
\makeatother

\usepackage{lipsum}

\title{Example}
\author{John Doe}

\begin{document}
\maketitle
\section{Introduction}
\lipsum
\end{document}

Note that the last parameter of \@startsection is relevant to your particular issue.

Related Question