How do I create a command like \title in LaTeX?

Posted by Kjir on Stack Overflow See other posts from Stack Overflow or by Kjir
Published on 2010-05-14T12:08:30Z Indexed on 2010/05/14 12:14 UTC
Read the original article Hit count: 153

Filed under:

I am writing a document class for LaTeX and I want it to be generic. In this document class I redefine the \maketitle command to display a custom title page, and here I want to display some information, like the title, author, etc., but also some other informations. Here is how I display the title:

{\LARGE{\bf \@title}}\\

I'd like to create a new command that works similarly to \title or \author, how can I do that?

© Stack Overflow or respective owner

Related posts about latex