Add a version number to the title of a LaTeX document.

Posted by vgm64 on Stack Overflow See other posts from Stack Overflow or by vgm64
Published on 2010-04-13T23:50:14Z Indexed on 2010/04/13 23:53 UTC
Read the original article Hit count: 418

Filed under:
|
|
|

Hi. The title section of my LaTeX documents usually look like

\title{Title}
\author{Me}
%\date{}      %// Today's date will appear when this is commented out.

\begin{document}
\maketitle

I'd really like to add another line in the title section for a version number:

\title{Title}
\author{Me}
\version{v1.2}
%\date{}      %// Today's date will appear when this is commented out.

\begin{document}
\maketitle

It doesn't necessarily have to be a command named version, but how can I get a version number to appear after the date (which is after the author)? I can manually set the version number.

© Stack Overflow or respective owner

Related posts about latex

Related posts about versioning