[Tex/LaTex] Article class complaining about missing \title

documentclass-writingtitles

I'm making a custom Latex class which I am basing on the article class. When compiling a document I get ! LaTeX Error: No \title given., even though I use \title in the document.

How can I solve this problem?

Best Answer

The error means \@title hadn't been defined by the time \maketitle is used.

So either you haven't used \title or used it in a local group, or redefined it not to define \@title.