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/misc/texilikecover.sty |
Initial commit
Diffstat (limited to 'macros/latex/contrib/misc/texilikecover.sty')
-rw-r--r-- | macros/latex/contrib/misc/texilikecover.sty | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/macros/latex/contrib/misc/texilikecover.sty b/macros/latex/contrib/misc/texilikecover.sty new file mode 100644 index 0000000000..cdd6deb804 --- /dev/null +++ b/macros/latex/contrib/misc/texilikecover.sty @@ -0,0 +1,43 @@ +% texilikecover.sty v 0.1 5-Apr-2007 +% Copyright (C) 2007 by Alberto Simões +% +% These macros may be freely transmitted, reproduced, or modified +% provided that this notice is left intact. +% +% Quick recipe: +% \usepackage{texilikecover} +% \title{My Title} +% \subtitle{My Subtitle} +% \date{Date or version info} +% \author{Name \and Name \and Name} +% +% \begin{document} +% \maketitle +% +% Contact me using ambs -at- cpan -dot- org +% +\ProvidesPackage{texilikecover}[2007/04/05 v 0.1: Texi-like cover for LaTeX2e.] + +\newcommand{\subtitle}[1]{\def\@subtitle{#1}} + +\renewcommand{\and}{\\} + +\renewcommand{\maketitle}{ + \thispagestyle{empty} + \mbox{} + \vfill + \noindent{\huge\bf \@title}\\ + \rule{\textwidth}{3pt} + \begin{flushright} + \vskip -3mm + \@subtitle\\ + \@date + \end{flushright} + \vfill\vfill + \begin{flushleft} + \bf\Large + \@author + \end{flushleft} + \vskip -5mm\rule{\textwidth}{2pt} + \cleardoublepage +}
\ No newline at end of file |