3

Note: This question's answer does not apply to my question.

I've written just about the simplest .tex file I can imagine:

\documentclass[12pt]{article}
\begin{document}
\title{The Influence of Dopamine on GABAergic and Glutamatergic
  Transmission in the Prefrontal Cortex}
\end{document}

When I generate a .pdf file from this, the title doesn't appear. When I add text between my call to \title and my call to \end, that text appears, but the title, still, does not.

What am I doing wrong? What is the right way to use the \title command?

  • 3
    You need \maketitle. – cfr Aug 20 '15 at 0:59
2

\title{} just tells LaTeX what the title is. It doesn't produce any output. To actually typeset the title, use \maketitle.

\title{My title}
\author{Me}
\date{}% if you don't want a date
\maketitle
|improve this answer|||||
  • any way to have \maketitle not put the date? – dbliss Aug 20 '15 at 1:04
  • 1
    @dbliss Please see edit. – cfr Aug 20 '15 at 1:09

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.