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 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?

share|improve this question
\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
2  
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.

1 Answer

Figured it out! it didn't like that I was including

\usepackage{algorithmic}

twice! Strange that it threw that error though.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.