summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/authoraftertitle/authoraftertitle.sty
blob: 47b87a27f65883ab2c92c6bc7b437c8563802b74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% Author Matthias Bilger
% License: This package is released to the Public Domain

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{authoraftertitle}[2006/10/14 v0.9 package for Author after Titlepage]
%Author
\newcommand\Originalauthor{}
\let\Originalauthor\author
\renewcommand*{\author}[1]{%
  \Originalauthor{#1}%
  \renewcommand*{\MyAuthor}{#1}%
}

\newcommand*{\MyAuthor}{}

%Title
\newcommand\Originaltitle{}
\let\Originaltitle\title
\renewcommand*{\title}[1]{%
  \Originaltitle{#1}%
  \renewcommand*{\MyTitle}{#1}%
}
\newcommand*{\MyTitle}{}

%Date
\newcommand\Originaldate{}
\let\Originaldate\date
\renewcommand*{\date}[1]{%
  \Originaldate{#1}%
  \renewcommand*{\MyDate}{#1}%
}
\newcommand*{\MyDate}{}