3

I want to put our section in center to left

How could I possible achieve this in this kind of TeX document?

\documentclass[conference,a4paper,10pt]{IEEEtran}

I have put this fragment into my TeX document:

\section{INTRODUCTION}

The result looks like this (centered instead of left aligned):

enter image description here

Thanks in advance

2 Answers 2

7

The IEEEtran class explicitly sets \centering.

If you want to risk rejection of your paper, you can use a patch.

\documentclass[conference,a4paper,10pt]{IEEEtran}

\usepackage{etoolbox}

% remove \centering from \section
\patchcmd{\section}{\centering}{}{}{}

\begin{document}

\section{Introduction}

aaa aaa aaa aaa aaa aaa aaa aaa
aaa aaa aaa aaa aaa aaa aaa aaa
aaa aaa aaa aaa aaa aaa aaa aaa
aaa aaa aaa aaa aaa aaa aaa aaa
aaa aaa aaa aaa aaa aaa aaa aaa

\end{document}

enter image description here

1
0

Try titlesec package

\usepackage[explicit]{titlesec}
\titleformat{\section}[hang]{\filright\raggedright}
{\thesection.}
{6pt}
{\fontsize{12pt}{13pt}\selectfont{\sc #1}}
[]

copy the above code inside your preamble.

Hope this works

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.