Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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{\be}{\begin{equation}}
\newcommand{\ee}{\end{equation}}
\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}
share|improve this question
3  
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
5  
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 \begin{equation} and \end{equation}? 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, cgnieder Sep 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.

Browse other questions tagged or ask your own question.