I've the following Example Code:






\title{Theorems And Proofs}
\author{Napoleone Bonaparte}
\date{May 2014}



Theorems can easily be defined

A fibration is a mapping between two topological spaces that has the homotopy lifting property for every space $X$.

Let $f$ be a function whose derivative exists in every point, then $f$ is 
a continuous function.

\begin{theorem}[Pythagorean theorem]
This is a theorema about right triangles and can be summarised in the next 
\[ x^2 + y^2 = z^2 \]

And a consequence of theorem \ref{pythagorean} is the statement in the next 

There's no right rectangle whose sides measure 3cm, 4cm, and 6cm.

You can reference theorems such as \ref{pythagorean} when a label is assigned.

Given two line segments whose lengths are $a$ and $b$ respectively there is a 
real number $r$ such that $b=ra$.
To prove it by contradiction try and assume that the statemenet is false,
proceed from there and at some point you will arrive to a contradiction.


enter image description here

but I don't understand because I dont see Title, Author and Date..

  • 4
    Try \maketitle after \begin{document}.
    – yo'
    Feb 13, 2016 at 20:38
  • \author and friends just store the data in internal variables until you ask latex to typeset them, for example as yo' sats, by using \maketitle
    – daleif
    Feb 13, 2016 at 20:43
  • 1
    @mle You're welcome. I just can't help myself, but this is some very basic knowledge. Have you read any LaTeX tutorial book or alike?
    – yo'
    Feb 13, 2016 at 21:27
  • of course, but I forgot this particular, it can happen! :)
    – mle
    Feb 13, 2016 at 22:32

1 Answer 1


The metadata are included in the document using the command \maketitle. Usually, it is the first thing after \begin{document}.

You must log in to answer this question.

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