7

I would like to write

Appendix A: Proof of Theorem 1

in IEEEtran but what I am getting is

Appendix A 
Proof of Theorem 1

Here is the code I am using:

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

\begin{document}

\title{Title}\maketitle

\begin{appendices}
\section{Proof of Theorem 1}

\end{appendices}

\end{document}

I found this answer but it is for report with chapter and not for IEEEtran.

1 Answer 1

8

That's the default behaviour for IEEEtran - adding a line break between the section heading and title within the . A quick fix would be to grab the forced line break - \\* - and insert a : instead:

enter image description here

\documentclass[conference]{IEEEtran}

\usepackage{lipsum}

\begin{document}

\title{A title}
\author{An Author}
\maketitle

\begin{appendices}
\section{Proof of Theorem 1}
\lipsum[2]
\newpage

% Grab forced line break - \\* - and replace with :
\renewcommand{\thesectiondis}[2]{\Alph{section}:}

\section{Proof of Theorem 2}
\lipsum[2]
\end{appendices}

\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .