3

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.

5

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}

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.