# \maketitle can only be used in preamble? [closed]

I just installed the following package on Ubuntu to get algorithm and algorithmic

apt-get install texlive-science


before installing it my document compiled fine. Now however, it tells me that I must put \maketitle in the preamble but when I do put it there it tells me \begin{document} is missing!

Does anybody have any idea why this is happening and how would I fix it?

-
\maketitle should typcially be the first thing after your \begin{document}. Can you try to make a small example file that illustrates the problem? – Seamus Nov 26 '11 at 12:19
Also, the exact error message would be helpful. I doubt that anything was telling you to put \maketitle in your preamble: it shouldn't go there. – Seamus Nov 26 '11 at 12:20
'too localized.? – Joseph Wright Nov 26 '11 at 12:49

## closed as too localized by lockstep, Joseph Wright♦Nov 26 '11 at 13:00

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.

\usepackage{algorithmic}