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

ybar interval width ignored

1  Asked on January 3, 2022

   

Math mode Error

1  Asked on January 3, 2022

 

Who cares about metadata?

1  Asked on January 3, 2022

       

RequirePackage succeeds but font not found

2  Asked on December 31, 2021

 

Typesetting for a Verilog LstInput

2  Asked on December 31, 2021

     

cleveref and customized refname

2  Asked on December 31, 2021

 

Custom Navigation in Beamer Footer

1  Asked on December 31, 2021

     

Ask a Question

Get help from others!

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