From 675811396614fc0e05db547c2bde784807aa0b3d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 18 Dec 2011 23:02:56 +0000 Subject: authoraftertitle restored, now pd git-svn-id: svn://tug.org/texlive/trunk@24863 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/authoraftertitle/authoraftertitle.pdf | Bin 0 -> 121340 bytes .../latex/authoraftertitle/authoraftertitle.tex | 18 ++++++++++++ .../latex/authoraftertitle/authoraftertitle.sty | 32 +++++++++++++++++++++ Master/tlpkg/tlpsrc/authoraftertitle.tlpsrc | 0 Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 + 5 files changed, 51 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/authoraftertitle/authoraftertitle.pdf create mode 100644 Master/texmf-dist/doc/latex/authoraftertitle/authoraftertitle.tex create mode 100644 Master/texmf-dist/tex/latex/authoraftertitle/authoraftertitle.sty create mode 100644 Master/tlpkg/tlpsrc/authoraftertitle.tlpsrc (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/authoraftertitle/authoraftertitle.pdf b/Master/texmf-dist/doc/latex/authoraftertitle/authoraftertitle.pdf new file mode 100644 index 00000000000..f01f8669a4c Binary files /dev/null and b/Master/texmf-dist/doc/latex/authoraftertitle/authoraftertitle.pdf differ diff --git a/Master/texmf-dist/doc/latex/authoraftertitle/authoraftertitle.tex b/Master/texmf-dist/doc/latex/authoraftertitle/authoraftertitle.tex new file mode 100644 index 00000000000..0c2296f8146 --- /dev/null +++ b/Master/texmf-dist/doc/latex/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} diff --git a/Master/texmf-dist/tex/latex/authoraftertitle/authoraftertitle.sty b/Master/texmf-dist/tex/latex/authoraftertitle/authoraftertitle.sty new file mode 100644 index 00000000000..47b87a27f65 --- /dev/null +++ b/Master/texmf-dist/tex/latex/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/Master/tlpkg/tlpsrc/authoraftertitle.tlpsrc b/Master/tlpkg/tlpsrc/authoraftertitle.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index b4ff7fc6f72..c1679b5e15b 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -33,6 +33,7 @@ depend arcs depend arrayjobx depend assignment depend attachfile +depend authoraftertitle depend authorindex depend background depend bashful -- cgit v1.2.3