Search code examples
latexieee

LaTex: IEEEtran "\title{ title }" doesn't show


I'm practicing LaTeX with IEEEtran.cls. I'm am slowly filling in the information, but I am getting stuck from the beginning.

\documentclass[12pt, journal, compsoc]{IEEEtran}
\begin{document}

\title{ This is my practice document}
\author{Yui}

\begin{abstract}
Abstract content goes here.
\end{abstract}
\end{document}

From the above simple .tex file, after compilation in the PDF, I can see the Abstract content. However, I don't see either title or author.

Any suggestions? Please and thank you.


Solution

  • Hawk_08 is pretty much correct, but I'll post the completed tex because you appear to have misunderstood him.

    \documentclass[12pt, journal, compsoc]{IEEEtran}
    \begin{document}
    
    \title{ This is my practice document}
    \author{Yui}
    \maketitle
    
    \begin{abstract}
    Abstract content goes here.
    \end{abstract}
    \end{document}
    

    Notice the \maketitle after the \author command