how can I divide a section title into two lines if the title is very long.
please see the code below.
Code: Select all
\tableofcontents
\section*{\centering MyLongSectionTitleNeedsToBeSplittedIntoTwoLines}
\addcontentsline{toc}{section}{MyLongSectionTitleNeedsToBeSplittedIntoTwoLines}