# Add title on an article [closed]

I need help with a basic thing, the title doesn't appear in my paper

\documentclass[a4paper,10pt]{article}%{scrartcl}{extarticle}
%\usepackage{refcheck}

\usepackage{amsmath}
\usepackage{amsthm}
%\usepackage{amsfonts}
\usepackage{amssymb}
%\usepackage[latin1]{inputenc}
%\usepackage[dvips]{graphicx}
\usepackage{enumitem}
%\usepackage[all]{xy}
%\usepackage{mathtools}
%\mathtoolsset{showonlyrefs=true}

\DeclareMathOperator{\Ker}{Ker}
\DeclareMathOperator{\Ima}{Im}
\DeclareMathOperator{\Ric}{Ric}

\font\ddpp=msbm10 %scaled \magstep 1
\def\R{\hbox{\ddpp R}}
\def\C{\hbox{\ddpp C}}
\def\L{\hbox{\ddpp L}}
\def\S{\hbox{\ddpp S}}
\def\Z{\hbox{\ddpp Z}}
\def\H{\hbox{\ddpp H}}

\begin{document}

\theoremstyle{plain}% default
\newtheorem{thm}{Theorem}[section]
\newtheorem{lemma}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{cor}[thm]{Corollary}
\newtheorem{RK}[thm]{Rellich-Kondrachov's Lemma}

\theoremstyle{definition}
\newtheorem{definition}[thm]{Definition}
\newtheorem{ex}[thm]{Examples}
\newtheorem{conj}{Conjecture}[section]
%\newtheorem{ex}{Ejemplos}[section]

\theoremstyle{remark}
\newtheorem{remark}[thm]{Remark}
\newtheorem*{note}{Note}
\newtheorem*{obs}{Observation}

\newcommand{\noi}{\noindent}
\newcommand{\ben}{\begin{enumerate}}
\newcommand{\een}{\end{enumerate}}
\newcommand{\bit}{\begin{itemize}}
\newcommand{\eit}{\end{itemize}}
\newcommand{\bp}{\begin{proof}}
\newcommand{\ep}{\end{proof}}
\newcommand{\bprop}{\begin{prop}}
\newcommand{\eprop}{\end{prop}}
\newcommand{\bdf}{\begin{definition}}
\newcommand{\edf}{\end{definition}}

\title{The Hodge Theorem}
\date{October 31, 475}
\author{Raul}

-
Try adding \begin{document} and \maketitle; finish with \end{document}. If you don't tell LaTeX to print the title information it won't do it by itself. – egreg Sep 21 '12 at 21:48
When I do that it says "No \title given." – inquisitor Sep 21 '12 at 22:02
Of course you have \begin{document} in the wrong place. Remove it from where it is and place it just before \title{The Hodge Theorem}. Then add \maketitle after \author{Raul}. As an aside, are you sure that typing \be and \ee is better than and ? My feeling is that it isn't. Also the definition of \R and the similar commands is wrong: \newcommand{\R}{\mathbb{R}} is the correct one. Remove the \font line. – egreg Sep 21 '12 at 22:10

## closed as too localized by lockstep, zeroth, Marco Daniel, Claudio Fiandrino, cgniederSep 22 '12 at 18:06

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.