0

How to make \appendix or the \sections after \appendices appear in new pages and with the title style as the main title in an IEEEtran document class?

The following images show an example of what it is desired (probably without the authors everytime).

Desired

2 Answers 2

1

the class doesn't try too hard to clear \maketitle if it is executed in a group the definition is preserved:

enter image description here

\documentclass{IEEEtran}

\title{My Custom Title}
\author{Author 1,
Author 2}
\makeatletter
\begin{document}

{\maketitle}


\clearpage


\title{My New Title}
{\maketitle}

bbb
\end{document}
7
  • I don't think this will allow me to cross reference, however is the desired output. Although, the ability to cross reference is a requirement. Do you think is there a way to do it?
    – Hans
    Oct 4, 2016 at 2:04
  • @Hans latex cross references are built around referencable numbers, what do you want \ref{zzz] to produce? You can't normally reference a title, that said if you go \makeatletter\def\@currentlabel{my title}\lable{zzz} then \ref{zzz} will make my title. Oct 4, 2016 at 6:48
  • I understand what you say, however when doing "\appendices \section{sec} \label{app:sec}" I can get a reference to the appendix, please note that my question is directed towards making the appendix title appear exactly the same as the main title. Note also that in my example images, the appendices have "numbers" which are A and B, these are the references. I really appreciate your answer as I've used in a document already, however the requirement is different.
    – Hans
    Oct 6, 2016 at 17:06
  • David, you think it is possible to make something like \title{\section{My New Title}} while preserving the title style?
    – Hans
    Oct 15, 2016 at 21:11
  • @Hans anything is possible but \title{\section{My New Title}} is so obviously incorrect document structure that I wouldn't even want to think about it, what would a section heading in a title supposed to mean ? Oct 16, 2016 at 7:53
1

A partial (yet ugly) solution is the following:

MWE:

\documentclass{IEEEtran}
\usepackage{lipsum}

\title{My Document}

\begin{document}
\maketitle
\lipsum[0-4]
{\Huge Reference to section \ref{sec:mTS} and appendix \ref{app:t2}}
\section{My Test Section}
\label{sec:mTS}
\lipsum[5-7]

{\Huge Reference to appendix \ref{app:t3}}

\makeatletter
\renewcommand\section{\@startsection{section}{1}{\z@}{1.5ex plus 1.5ex minus 0.5ex}%
{0.7ex plus 1ex minus 0ex}{\vskip 1.3em\Huge\centering}}
\makeatother

\appendices
\twocolumn[\section{Test 1\vspace{1.3\baselineskip}}\label{app:t1}]
\lipsum[1-2]
\subsection{Test appendix section here.}
\label{app:t3}
\lipsum[3-7]
\twocolumn[\section{Test 2\vspace{1.3\baselineskip}}\label{app:t2}]
\lipsum[1-2]
\subsection{Another test section in here}
\label{app:t4}
\lipsum[3-7]
\end{document}

The solution is ugly because the appendices titles need to be typed like \twocolumn[\section{Appendix Title Here\vspace{1.3\baselineskip}}\label{AppendixLabelHere}], autem this generates the desired output, and one can reference it, as shown in the following pictures (reference were printed Huge, in order for the reader to see them without too much effort).

Solution Obtained

Any corrections are very appreciated.

You must log in to answer this question.

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