AnswerBun.com

maketitle I can't see Title and Authors in PDF

TeX - LaTeX Asked by Valeria Figini on December 20, 2020

Good morning, I don’t understand why but if I use maketitle I can’t see Title and Authors in PDF. Can someone help me?
Thanks

documentclass[conference,a4paper]{IEEEtran}

IEEEoverridecommandlockouts


usepackage{cite}

usepackage{amsmath,amssymb,amsfonts}

usepackage{algorithmic}

usepackage{graphicx}

usepackage{textcomp}

usepackage{xcolor}

defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
    Tkern-.1667emlower.7exhbox{E}kern-.125emX}}



begin{document}


title{………..\

{footnotesize textsuperscript}

thanks{}

}


author{IEEEauthorblockN{1textsuperscript{nd} ……………}

IEEEauthorblockA{textit{……………….} \

textit{………………}\

…………….. \

…………….}

and

IEEEauthorblockN{2textsuperscript{nd} ………………}

IEEEauthorblockA{textit{…………………..} \

textit{……………………..}\

…………………….. \

…………………..}

maketitle

}

begin{abstract}
.....

2 Answers

The standard way to do a title in LaTeX is to do it like so:

documentclass{...}

title{Title goes here}
author{Author name goes here}

...

begin{document}
maketitle

The title command is just identifying the title for the document and should go in the document preamble. The maketitle command is responsible for typesettingg the title and goes after begin{document}.

Note also that formatting should be handled by the document class and you don't really want to do all that textit etc. in your title, author etc.

Correct answer by Don Hosek on December 20, 2020

Your maketitle command is misplaced.

documentclass[conference,a4paper]{IEEEtran}

IEEEoverridecommandlockouts

usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithmic}
usepackage{graphicx}
usepackage{textcomp}
usepackage{xcolor}

begin{document}


title{Title\{footnotesize whatevertextsuperscript{x}thanks{Thanks}}}

author{%
  IEEEauthorblockN{1textsuperscript{st} A. Uthor}
  IEEEauthorblockA{textit{Something} \
    textit{something else}\
    whatever\
    again}
  and
  IEEEauthorblockN{2textsuperscript{nd} W. Riter}
  IEEEauthorblockA{textit{Something} \
    textit{something}\
    again \
    whatever}
}

maketitle

begin{abstract}
.....
end{abstract}

end{document}

enter image description here

Answered by egreg on December 20, 2020

Add your own answers!

Related Questions

Spacing in subscripts

1  Asked on July 17, 2021

 

Error in Matplotlib in legend

0  Asked on July 17, 2021 by user12290

 

XeLaTeX: Use font metric of not installed font

0  Asked on July 17, 2021 by chan1142

     

flalign in algorithm

1  Asked on July 17, 2021

       

How to write after a figure in latex?

1  Asked on July 16, 2021

 

Creating a page border made of text

0  Asked on July 16, 2021

 

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP