summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/authoraftertitle/authoraftertitle.sty
blob: 96618a0660735fe478ebb1e5b10e1830cc5a9001 (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
33
34
35
% Author Matthias Bilger
% Version 1.0
% License: 
% This work by Matthias Bilger is licensed under CC0 1.0. 
% To view a copy of this license, visit https://creativecommons.org/publicdomain/zero/1.0

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{authoraftertitle}[2020/07/20 v1.0 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}{}