diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/authoraftertitle |
Initial commit
Diffstat (limited to 'macros/latex/contrib/authoraftertitle')
-rw-r--r-- | macros/latex/contrib/authoraftertitle/authoraftertitle.pdf | bin | 0 -> 121340 bytes | |||
-rw-r--r-- | macros/latex/contrib/authoraftertitle/authoraftertitle.sty | 32 | ||||
-rw-r--r-- | macros/latex/contrib/authoraftertitle/authoraftertitle.tex | 18 |
3 files changed, 50 insertions, 0 deletions
diff --git a/macros/latex/contrib/authoraftertitle/authoraftertitle.pdf b/macros/latex/contrib/authoraftertitle/authoraftertitle.pdf Binary files differnew file mode 100644 index 0000000000..f01f8669a4 --- /dev/null +++ b/macros/latex/contrib/authoraftertitle/authoraftertitle.pdf diff --git a/macros/latex/contrib/authoraftertitle/authoraftertitle.sty b/macros/latex/contrib/authoraftertitle/authoraftertitle.sty new file mode 100644 index 0000000000..47b87a27f6 --- /dev/null +++ b/macros/latex/contrib/authoraftertitle/authoraftertitle.sty @@ -0,0 +1,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}{} diff --git a/macros/latex/contrib/authoraftertitle/authoraftertitle.tex b/macros/latex/contrib/authoraftertitle/authoraftertitle.tex new file mode 100644 index 0000000000..0c2296f814 --- /dev/null +++ b/macros/latex/contrib/authoraftertitle/authoraftertitle.tex @@ -0,0 +1,18 @@ +\documentclass[pagesize=auto]{scrartcl} + +\addtokomafont{title}{\rmfamily} + +\title{The \textsf{authoraftertitle} package\thanks{This manual corresponds to \textsf{authoraftertitle.sty} v0.9, dated~2006/10/14.}} +\author{Matthias Bilger} +\date{2006/10/14} + + +\begin{document} + +\maketitle + +\noindent +The \LaTeXe\ commands \verb+\author+, \verb+\title+ and \verb+\date+ are commonly used to set the author, title and date of the current document. +Once set, these datums are used only by the \verb+\titlepage+ command and cannot be retrieved otherwise. The \textsf{authoraftertitle} package makes them everywhere available as \verb+\MyAuthor+, \verb+\MyTitle+ and \verb+\MyDate+; the original definitions of \verb+\author+, \verb+\title+ and \verb+\date+ can be accessed using \verb+\Originalauthor+, \verb+\Originaltitle+ and \verb+\Originaldate+. + +\end{document} |